blob: 6ada30699d34f9b076e0ecb395422e9a48d9763c [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// 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