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

Unified Diff: ash/wm/gestures/system_pinch_handler.cc

Issue 10910164: Removes the grid from ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ShelfBrowserTest Created 8 years, 3 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/default_window_resizer.cc ('k') | ash/wm/gestures/two_finger_drag_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/gestures/system_pinch_handler.cc
diff --git a/ash/wm/gestures/system_pinch_handler.cc b/ash/wm/gestures/system_pinch_handler.cc
index b0ee683c3cf9fb5da1290b5b128dd1abe56fbbc2..d974addc6ba1fd2669a03a60fca1c96704242a5f 100644
--- a/ash/wm/gestures/system_pinch_handler.cc
+++ b/ash/wm/gestures/system_pinch_handler.cc
@@ -95,8 +95,7 @@ SystemGestureStatus SystemPinchHandler::ProcessGestureEvent(
SnapSizer sizer(target_,
gfx::Point(),
event.details().swipe_left() ? internal::SnapSizer::LEFT_EDGE :
- internal::SnapSizer::RIGHT_EDGE,
- Shell::GetInstance()->GetGridSize());
+ internal::SnapSizer::RIGHT_EDGE);
target_->SetBounds(sizer.GetSnapBounds(target_->bounds()));
} else if (event.details().swipe_up()) {
if (!wm::IsWindowMaximized(target_) &&
« no previous file with comments | « ash/wm/default_window_resizer.cc ('k') | ash/wm/gestures/two_finger_drag_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698