summaryrefslogtreecommitdiffstats
path: root/cc/input/top_controls_manager_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/input/top_controls_manager_unittest.cc')
-rw-r--r--cc/input/top_controls_manager_unittest.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/cc/input/top_controls_manager_unittest.cc b/cc/input/top_controls_manager_unittest.cc
index 6ff002b..b3bc722c 100644
--- a/cc/input/top_controls_manager_unittest.cc
+++ b/cc/input/top_controls_manager_unittest.cc
@@ -136,7 +136,7 @@ TEST(TopControlsManagerTest, PartialShownHideAnimation) {
base::TimeTicks time = base::TimeTicks::Now();
float previous_offset = manager->controls_top_offset();
- while(manager->animation()) {
+ while (manager->animation()) {
time = base::TimeDelta::FromMicroseconds(100) + time;
manager->Animate(time);
EXPECT_LT(manager->controls_top_offset(), previous_offset);
@@ -166,7 +166,7 @@ TEST(TopControlsManagerTest, PartialShownShowAnimation) {
base::TimeTicks time = base::TimeTicks::Now();
float previous_offset = manager->controls_top_offset();
- while(manager->animation()) {
+ while (manager->animation()) {
time = base::TimeDelta::FromMicroseconds(100) + time;
manager->Animate(time);
EXPECT_GT(manager->controls_top_offset(), previous_offset);
@@ -192,7 +192,7 @@ TEST(TopControlsManagerTest, PartialHiddenWithAmbiguousThresholdShows) {
base::TimeTicks time = base::TimeTicks::Now();
float previous_offset = manager->controls_top_offset();
- while(manager->animation()) {
+ while (manager->animation()) {
time = base::TimeDelta::FromMicroseconds(100) + time;
manager->Animate(time);
EXPECT_GT(manager->controls_top_offset(), previous_offset);
@@ -218,7 +218,7 @@ TEST(TopControlsManagerTest, PartialHiddenWithAmbiguousThresholdHides) {
base::TimeTicks time = base::TimeTicks::Now();
float previous_offset = manager->controls_top_offset();
- while(manager->animation()) {
+ while (manager->animation()) {
time = base::TimeDelta::FromMicroseconds(100) + time;
manager->Animate(time);
EXPECT_LT(manager->controls_top_offset(), previous_offset);
@@ -248,7 +248,7 @@ TEST(TopControlsManagerTest, PartialShownWithAmbiguousThresholdHides) {
base::TimeTicks time = base::TimeTicks::Now();
float previous_offset = manager->controls_top_offset();
- while(manager->animation()) {
+ while (manager->animation()) {
time = base::TimeDelta::FromMicroseconds(100) + time;
manager->Animate(time);
EXPECT_LT(manager->controls_top_offset(), previous_offset);
@@ -278,7 +278,7 @@ TEST(TopControlsManagerTest, PartialShownWithAmbiguousThresholdShows) {
base::TimeTicks time = base::TimeTicks::Now();
float previous_offset = manager->controls_top_offset();
- while(manager->animation()) {
+ while (manager->animation()) {
time = base::TimeDelta::FromMicroseconds(100) + time;
manager->Animate(time);
EXPECT_GT(manager->controls_top_offset(), previous_offset);