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

Unified Diff: ash/wm/toplevel_window_event_filter.h

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/two_finger_drag_handler.cc ('k') | ash/wm/toplevel_window_event_filter.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.h
diff --git a/ash/wm/toplevel_window_event_filter.h b/ash/wm/toplevel_window_event_filter.h
index 5b5710c3cf36c1191d1259dce07fd3f9091160c8..0f61e9566992bb7964785a7c26fbfc27e95e44d6 100644
--- a/ash/wm/toplevel_window_event_filter.h
+++ b/ash/wm/toplevel_window_event_filter.h
@@ -35,12 +35,6 @@ class ASH_EXPORT ToplevelWindowEventFilter
explicit ToplevelWindowEventFilter(aura::Window* owner);
virtual ~ToplevelWindowEventFilter();
- // Sets the size of the grid. If non-zero all resizes and moves are forced to
- // fall on a grid of the specified size. The default is 0, meaning the x,y and
- // width,height are not restricted in anyway.
- void set_grid_size(int size) { grid_size_ = size; }
- int grid_size() const { return grid_size_; }
-
// Overridden from aura::EventFilter:
virtual bool PreHandleKeyEvent(aura::Window* target,
ui::KeyEvent* event) OVERRIDE;
@@ -100,9 +94,6 @@ class ASH_EXPORT ToplevelWindowEventFilter
// Is a gesture-resize in progress?
bool in_gesture_resize_;
- // See description above setter.
- int grid_size_;
-
scoped_ptr<ScopedWindowResizer> window_resizer_;
base::Closure quit_closure_;
« no previous file with comments | « ash/wm/gestures/two_finger_drag_handler.cc ('k') | ash/wm/toplevel_window_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698