Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3279)

Unified Diff: cc/input/top_controls_manager_unittest.cc

Issue 12965007: Fix cpplint errors in cc/(animation|input|layers|trees|test)/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/input/top_controls_manager.h ('k') | cc/layers/append_quads_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/input/top_controls_manager_unittest.cc
diff --git a/cc/input/top_controls_manager_unittest.cc b/cc/input/top_controls_manager_unittest.cc
index 6ff002b98a3fed916d947318c8771b98518e3854..b3bc722c68e87582bbc8fa903fd7b4c5be2e5ab5 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);
« no previous file with comments | « cc/input/top_controls_manager.h ('k') | cc/layers/append_quads_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698