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

Unified Diff: ash/wm/gestures/shelf_gesture_handler.h

Issue 2224653002: mash: Remove ash::ShelfGestureHandler and ui::ET_GESTURE_WIN8_EDGE_SWIPE (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 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/shelf/shelf_view.cc ('k') | ash/wm/gestures/shelf_gesture_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/gestures/shelf_gesture_handler.h
diff --git a/ash/wm/gestures/shelf_gesture_handler.h b/ash/wm/gestures/shelf_gesture_handler.h
deleted file mode 100644
index 8a28c5754893a95d78c543ab413d4f0afe393ba4..0000000000000000000000000000000000000000
--- a/ash/wm/gestures/shelf_gesture_handler.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef ASH_WM_GESTURES_SHELF_GESTURE_HANDLER_H_
-#define ASH_WM_GESTURES_SHELF_GESTURE_HANDLER_H_
-
-#include "base/macros.h"
-
-namespace aura {
-class Window;
-} // namespace aura
-
-namespace ui {
-class GestureEvent;
-} // namespace ui
-
-namespace ash {
-
-// This manages gestures on the shelf (e.g. launcher, status tray) that affects
-// the shelf visibility.
-// TODO(jamescook): Consolidate this with ShelfLayoutManager and its notion of
-// drag status.
-class ShelfGestureHandler {
- public:
- ShelfGestureHandler();
- virtual ~ShelfGestureHandler();
-
- // Processes a gesture event and updates the status of the shelf when
- // appropriate. Returns true of the gesture has been handled and it should not
- // be processed any farther, false otherwise.
- // The caller must provide the |event_target_window| because the caller has
- // knowledge of the type of the |event.target()| whether it's a |views::View|
- // or an |aura::Window|.
- bool ProcessGestureEvent(const ui::GestureEvent& event,
- const aura::Window* event_target_window);
-
- private:
- bool drag_in_progress_;
-
- DISALLOW_COPY_AND_ASSIGN(ShelfGestureHandler);
-};
-
-} // namespace ash
-
-#endif // ASH_WM_GESTURES_SHELF_GESTURE_HANDLER_H_
« no previous file with comments | « ash/shelf/shelf_view.cc ('k') | ash/wm/gestures/shelf_gesture_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698