OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef ASH_WM_TABLET_MODE_TABLET_MODE_EVENT_HANDLER_AURA_H_ |
| 6 #define ASH_WM_TABLET_MODE_TABLET_MODE_EVENT_HANDLER_AURA_H_ |
| 7 |
| 8 #include "ash/ash_export.h" |
| 9 #include "ash/wm/tablet_mode/tablet_mode_event_handler.h" |
| 10 #include "ui/events/event_handler.h" |
| 11 |
| 12 namespace ash { |
| 13 namespace wm { |
| 14 |
| 15 // Implementation of TabletModeEventHandler for aura. Uses ui::EventHandler. |
| 16 class ASH_EXPORT TabletModeEventHandlerAura : public TabletModeEventHandler, |
| 17 public ui::EventHandler { |
| 18 public: |
| 19 TabletModeEventHandlerAura(); |
| 20 ~TabletModeEventHandlerAura() override; |
| 21 |
| 22 private: |
| 23 // ui::EventHandler override: |
| 24 void OnTouchEvent(ui::TouchEvent* event) override; |
| 25 |
| 26 DISALLOW_COPY_AND_ASSIGN(TabletModeEventHandlerAura); |
| 27 }; |
| 28 |
| 29 } // namespace wm |
| 30 } // namespace ash |
| 31 |
| 32 #endif // ASH_WM_TABLET_MODE_TABLET_MODE_EVENT_HANDLER_AURA_H_ |
OLD | NEW |