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

Unified Diff: ash/wm/resize_shadow_and_cursor_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/resize_shadow.cc ('k') | ash/wm/resize_shadow_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/resize_shadow_and_cursor_unittest.cc
diff --git a/ash/wm/resize_shadow_and_cursor_unittest.cc b/ash/wm/resize_shadow_and_cursor_unittest.cc
index aedc6038e23c54a0f0ba14cdab6ae328c379d486..87fd719c8cc8b723d191cd49484acb72ee13ba09 100644
--- a/ash/wm/resize_shadow_and_cursor_unittest.cc
+++ b/ash/wm/resize_shadow_and_cursor_unittest.cc
@@ -64,8 +64,8 @@ class ResizeShadowAndCursorTest : public AshTestBase {
// Add a child window to |window_| in order to properly test that the resize
// handles and the resize shadows are shown when the mouse is
// ash::kResizeInsideBoundsSize inside of |window_|'s edges.
- aura::Window* child = CreateTestWindowInShell(
- SK_ColorWHITE, 0, gfx::Rect(0, 10, 200, 90));
+ aura::Window* child =
+ CreateTestWindowInShell(SK_ColorWHITE, 0, gfx::Rect(0, 10, 200, 90));
window_->AddChild(child);
}
@@ -79,9 +79,7 @@ class ResizeShadowAndCursorTest : public AshTestBase {
}
// Returns true if there is a resize shadow.
- bool HasResizeShadow() const {
- return ResizeShadowHitTest() != HTNOWHERE;
- }
+ bool HasResizeShadow() const { return ResizeShadowHitTest() != HTNOWHERE; }
// Returns the current cursor type.
int GetCurrentCursorType() const {
@@ -101,9 +99,7 @@ class ResizeShadowAndCursorTest : public AshTestBase {
}
}
- aura::Window* window() {
- return window_;
- }
+ aura::Window* window() { return window_; }
private:
aura::Window* window_;
@@ -186,10 +182,8 @@ TEST_F(ResizeShadowAndCursorTest, Touch) {
int start_x = 200 + ash::kResizeOutsideBoundsSize - 1;
int start_y = 100 + ash::kResizeOutsideBoundsSize - 1;
generator.GestureScrollSequenceWithCallback(
- gfx::Point(start_x, start_y),
- gfx::Point(start_x + 50, start_y + 50),
- base::TimeDelta::FromMilliseconds(200),
- 3,
+ gfx::Point(start_x, start_y), gfx::Point(start_x + 50, start_y + 50),
+ base::TimeDelta::FromMilliseconds(200), 3,
base::Bind(&ResizeShadowAndCursorTest::ProcessBottomRightResizeGesture,
base::Unretained(this)));
}
« no previous file with comments | « ash/wm/resize_shadow.cc ('k') | ash/wm/resize_shadow_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698