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

Unified Diff: ash/wm/drag_window_resizer.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/dock/docked_window_resizer_unittest.cc ('k') | ash/wm/event_client_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/drag_window_resizer.cc
diff --git a/ash/wm/drag_window_resizer.cc b/ash/wm/drag_window_resizer.cc
index fd8f8cb8142a16f48e473c3aa2827c5f478d2a2e..639a5d104582e2d5b74a9dc443f8bdd0f97ad66d 100644
--- a/ash/wm/drag_window_resizer.cc
+++ b/ash/wm/drag_window_resizer.cc
@@ -40,9 +40,8 @@ DragWindowResizer::~DragWindowResizer() {
}
// static
-DragWindowResizer* DragWindowResizer::Create(
- WindowResizer* next_window_resizer,
- wm::WindowState* window_state) {
+DragWindowResizer* DragWindowResizer::Create(WindowResizer* next_window_resizer,
+ wm::WindowState* window_state) {
return new DragWindowResizer(next_window_resizer, window_state);
}
@@ -100,11 +99,11 @@ void DragWindowResizer::CompleteDrag() {
if (last_mouse_location_in_screen.x() < dst_bounds.x())
dst_bounds.set_x(last_mouse_location_in_screen.x());
else if (last_mouse_location_in_screen.x() > dst_bounds.right())
- dst_bounds.set_x(
- last_mouse_location_in_screen.x() - dst_bounds.width());
+ dst_bounds.set_x(last_mouse_location_in_screen.x() -
+ dst_bounds.width());
}
- ash::wm::AdjustBoundsToEnsureMinimumWindowVisibility(
- dst_display.bounds(), &dst_bounds);
+ ash::wm::AdjustBoundsToEnsureMinimumWindowVisibility(dst_display.bounds(),
+ &dst_bounds);
GetAuraTarget()->SetBoundsInScreen(dst_bounds, dst_display);
}
« no previous file with comments | « ash/wm/dock/docked_window_resizer_unittest.cc ('k') | ash/wm/event_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698