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

Unified Diff: ash/wm/system_gesture_event_filter.h

Issue 10412012: Revert 137968 - Adding four bezel gestures (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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/volume_control_delegate.h ('k') | ash/wm/system_gesture_event_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/system_gesture_event_filter.h
===================================================================
--- ash/wm/system_gesture_event_filter.h (revision 137969)
+++ ash/wm/system_gesture_event_filter.h (working copy)
@@ -18,20 +18,6 @@
namespace ash {
namespace internal {
-enum BezelStart {
- BEZEL_START_UNSET = 0,
- BEZEL_START_TOP,
- BEZEL_START_LEFT,
- BEZEL_START_RIGHT,
- BEZEL_START_BOTTOM
-};
-
-enum ScrollOrientation {
- SCROLL_ORIENTATION_UNSET = 0,
- SCROLL_ORIENTATION_HORIZONTAL,
- SCROLL_ORIENTATION_VERTICAL
-};
-
// An event filter which handles system level gesture events.
class SystemGestureEventFilter : public aura::EventFilter {
public:
@@ -50,31 +36,6 @@
aura::GestureEvent* event) OVERRIDE;
private:
- // Handle events meant for volume / brightness. Returns true when no further
- // events from this gesture should be sent.
- bool HandleDeviceControl(aura::GestureEvent* event);
-
- // Handle events meant for showing the launcher. Returns true when no further
- // events from this gesture should be sent.
- bool HandleLauncherControl(aura::GestureEvent* event);
-
- // Handle events meant to switch through applications. Returns true when no
- // further events from this gesture should be sent.
- bool HandleApplicationControl(aura::GestureEvent* event);
-
- // The percentage of the screen to the left and right which belongs to
- // device gestures.
- const int overlap_percent_;
-
- // Which bezel corner are we on.
- BezelStart start_location_;
-
- // Which orientation are we moving.
- ScrollOrientation orientation_;
-
- // A device swipe gesture is in progress.
- bool is_scrubbing_;
-
DISALLOW_COPY_AND_ASSIGN(SystemGestureEventFilter);
};
« no previous file with comments | « ash/volume_control_delegate.h ('k') | ash/wm/system_gesture_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698