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

Unified Diff: ash/wm/toplevel_window_event_filter.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/toplevel_window_event_filter.h ('k') | ash/wm/toplevel_window_event_filter_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/toplevel_window_event_filter.cc
diff --git a/ash/wm/toplevel_window_event_filter.cc b/ash/wm/toplevel_window_event_filter.cc
index 5909203a118454894c38d00517709f11041579a3..03c6eca04929c6f0eea080af0acaf7f9f5ca1232 100644
--- a/ash/wm/toplevel_window_event_filter.cc
+++ b/ash/wm/toplevel_window_event_filter.cc
@@ -96,8 +96,7 @@ void ToplevelWindowEventFilter::ScopedWindowResizer::OnWindowDestroying(
ToplevelWindowEventFilter::ToplevelWindowEventFilter(aura::Window* owner)
: in_move_loop_(false),
- in_gesture_resize_(false),
- grid_size_(0) {
+ in_gesture_resize_(false) {
aura::client::SetWindowMoveClient(owner, this);
}
@@ -231,8 +230,7 @@ ui::EventResult ToplevelWindowEventFilter::PreHandleGestureEvent(
internal::SnapSizer sizer(target,
gfx::Point(),
event->details().velocity_x() < 0 ? 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/toplevel_window_event_filter.h ('k') | ash/wm/toplevel_window_event_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698