blob: 6bf4d6676c8d4b6d95d7a901574ddfb2cd11b490 [file] [log] [blame]
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/vr/test/animation_utils.h"
#include "chrome/browser/vr/elements/ui_element.h"
#include "ui/gfx/animation/keyframe/test/animation_utils.h"
namespace vr {
bool IsAnimating(UiElement* element,
const std::vector<TargetProperty>& properties) {
for (auto property : properties) {
if (!element->IsAnimatingProperty(property))
return false;
}
return true;
}
} // namespace vr