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

Unified Diff: ash/wm/window_animations_unittest.cc

Issue 2095193002: clang-format all of //ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « ash/wm/window_animations.cc ('k') | ash/wm/window_cycle_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/window_animations_unittest.cc
diff --git a/ash/wm/window_animations_unittest.cc b/ash/wm/window_animations_unittest.cc
index 372ea17cf5970746c89f49417b18c50aa60acf4a..29ef2c60b37213822392b57feb94290320cb9d84 100644
--- a/ash/wm/window_animations_unittest.cc
+++ b/ash/wm/window_animations_unittest.cc
@@ -120,8 +120,8 @@ TEST_F(WindowAnimationsTest, CrossFadeToBounds) {
EXPECT_EQ(1.0f, old_layer->GetTargetOpacity());
// Cross fade to a larger size, as in a maximize animation.
- GetWindowState(window.get())->SetBoundsDirectCrossFade(
- gfx::Rect(0, 0, 640, 480));
+ GetWindowState(window.get())
+ ->SetBoundsDirectCrossFade(gfx::Rect(0, 0, 640, 480));
// Window's layer has been replaced.
EXPECT_NE(old_layer, window->layer());
// Original layer stays opaque and stretches to new size.
@@ -143,8 +143,8 @@ TEST_F(WindowAnimationsTest, CrossFadeToBounds) {
// Cross fade to a smaller size, as in a restore animation.
old_layer = window->layer();
- GetWindowState(window.get())->SetBoundsDirectCrossFade(
- gfx::Rect(5, 10, 320, 240));
+ GetWindowState(window.get())
+ ->SetBoundsDirectCrossFade(gfx::Rect(5, 10, 320, 240));
// Again, window layer has been replaced.
EXPECT_NE(old_layer, window->layer());
// Original layer fades out and stretches down to new size.
@@ -183,8 +183,8 @@ TEST_F(WindowAnimationsTest, CrossFadeToBoundsFromTransform) {
EXPECT_EQ(1.0f, old_layer->GetTargetOpacity());
// Cross fade to a larger size, as in a maximize animation.
- GetWindowState(window.get())->SetBoundsDirectCrossFade(
- gfx::Rect(0, 0, 640, 480));
+ GetWindowState(window.get())
+ ->SetBoundsDirectCrossFade(gfx::Rect(0, 0, 640, 480));
// Window's layer has been replaced.
EXPECT_NE(old_layer, window->layer());
// Original layer stays opaque and stretches to new size.
« no previous file with comments | « ash/wm/window_animations.cc ('k') | ash/wm/window_cycle_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698