Index: ash/shelf/shelf_bezel_event_filter.h |
diff --git a/ash/shelf/shelf_bezel_event_filter.h b/ash/shelf/shelf_bezel_event_filter.h |
deleted file mode 100644 |
index ff7d14d034512bf54b17b35569edaff4c529507f..0000000000000000000000000000000000000000 |
--- a/ash/shelf/shelf_bezel_event_filter.h |
+++ /dev/null |
@@ -1,40 +0,0 @@ |
-// Copyright 2013 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_SHELF_SHELF_BEZEL_EVENT_FILTER_H_ |
-#define ASH_SHELF_SHELF_BEZEL_EVENT_FILTER_H_ |
- |
-#include "base/macros.h" |
-#include "ui/events/event_handler.h" |
- |
-namespace gfx { |
-class Point; |
-class Rect; |
-} |
- |
-namespace ash { |
-class ShelfLayoutManager; |
- |
-// Detects and forwards touch gestures that occur on a bezel sensor to the |
-// shelf. |
-class ShelfBezelEventFilter : public ui::EventHandler { |
- public: |
- explicit ShelfBezelEventFilter(ShelfLayoutManager* shelf_layout_manager); |
- ~ShelfBezelEventFilter() override; |
- |
- // Overridden from ui::EventHandler: |
- void OnGestureEvent(ui::GestureEvent* event) override; |
- |
- private: |
- bool IsShelfOnBezel(const gfx::Rect& screen, const gfx::Point& point) const; |
- |
- ShelfLayoutManager* shelf_layout_manager_; |
- bool in_touch_drag_; |
- |
- DISALLOW_COPY_AND_ASSIGN(ShelfBezelEventFilter); |
-}; |
- |
-} // namespace ash |
- |
-#endif // ASH_SHELF_SHELF_BEZEL_EVENT_FILTER_H_ |