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

Unified Diff: ash/wm/gestures/two_finger_drag_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/gestures/system_pinch_handler.cc ('k') | ash/wm/toplevel_window_event_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/gestures/two_finger_drag_handler.cc
diff --git a/ash/wm/gestures/two_finger_drag_handler.cc b/ash/wm/gestures/two_finger_drag_handler.cc
index 0e654094cdd61f363dd37bc08b98bf1be8bb5390..9cf5056d4889b5f1905dee6de0ed82dd48a24263 100644
--- a/ash/wm/gestures/two_finger_drag_handler.cc
+++ b/ash/wm/gestures/two_finger_drag_handler.cc
@@ -4,7 +4,6 @@
#include "ash/wm/gestures/two_finger_drag_handler.h"
-#include "ash/shell.h"
#include "ash/wm/default_window_resizer.h"
#include "ash/wm/window_util.h"
#include "ash/wm/workspace/snap_sizer.h"
@@ -68,8 +67,7 @@ bool TwoFingerDragHandler::ProcessGestureEvent(aura::Window* target,
internal::SnapSizer sizer(target,
gfx::Point(),
event.details().swipe_left() ? internal::SnapSizer::LEFT_EDGE :
- internal::SnapSizer::RIGHT_EDGE,
- Shell::GetInstance()->GetGridSize());
+ internal::SnapSizer::RIGHT_EDGE);
ui::ScopedLayerAnimationSettings scoped_setter(
target->layer()->GetAnimator());
« no previous file with comments | « ash/wm/gestures/system_pinch_handler.cc ('k') | ash/wm/toplevel_window_event_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698