diff options
author | Andras Becsi <andras.becsi@digia.com> | 2013-12-11 21:33:03 +0100 |
---|---|---|
committer | Andras Becsi <andras.becsi@digia.com> | 2013-12-13 12:34:07 +0100 |
commit | f2a33ff9cbc6d19943f1c7fbddd1f23d23975577 (patch) | |
tree | 0586a32aa390ade8557dfd6b4897f43a07449578 /chromium/ash/wm/gestures/shelf_gesture_handler.h | |
parent | 5362912cdb5eea702b68ebe23702468d17c3017a (diff) | |
download | qtwebengine-chromium-f2a33ff9cbc6d19943f1c7fbddd1f23d23975577.tar.gz |
Update Chromium to branch 1650 (31.0.1650.63)
Change-Id: I57d8c832eaec1eb2364e0a8e7352a6dd354db99f
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'chromium/ash/wm/gestures/shelf_gesture_handler.h')
-rw-r--r-- | chromium/ash/wm/gestures/shelf_gesture_handler.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/chromium/ash/wm/gestures/shelf_gesture_handler.h b/chromium/ash/wm/gestures/shelf_gesture_handler.h deleted file mode 100644 index 90dfd7c923e..00000000000 --- a/chromium/ash/wm/gestures/shelf_gesture_handler.h +++ /dev/null @@ -1,43 +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/basictypes.h" -#include "base/memory/scoped_ptr.h" - -namespace ui { -class GestureEvent; -} - -namespace ash { -namespace internal { - -class TrayGestureHandler; - -// This manages gestures on the shelf (e.g. launcher, status tray) that affects -// the shelf visibility. -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. - bool ProcessGestureEvent(const ui::GestureEvent& event); - - private: - bool drag_in_progress_; - - scoped_ptr<TrayGestureHandler> tray_handler_; - - DISALLOW_COPY_AND_ASSIGN(ShelfGestureHandler); -}; - -} // namespace internal -} // namespace ash - -#endif // ASH_WM_GESTURES_SHELF_GESTURE_HANDLER_H_ |