OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 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_MAXIMIZE_MODE_INTERNAL_INPUT_DEVICE_LIST_H_ |
| 6 #define ASH_WM_MAXIMIZE_MODE_INTERNAL_INPUT_DEVICE_LIST_H_ |
| 7 |
| 8 #include <set> |
| 9 |
| 10 #include "base/macros.h" |
| 11 |
| 12 namespace ui { |
| 13 class Event; |
| 14 } |
| 15 |
| 16 namespace ash { |
| 17 |
| 18 // Identifies which input devices are internal and provides a helper function to |
| 19 // test if an input event came from an internal device. |
| 20 class InternalInputDeviceList { |
| 21 public: |
| 22 InternalInputDeviceList() {} |
| 23 virtual ~InternalInputDeviceList() {} |
| 24 |
| 25 virtual bool IsEventFromInternalDevice(const ui::Event* event) = 0; |
| 26 |
| 27 private: |
| 28 DISALLOW_COPY_AND_ASSIGN(InternalInputDeviceList); |
| 29 }; |
| 30 |
| 31 } // namespace ash |
| 32 |
| 33 #endif // ASH_WM_MAXIMIZE_MODE_INTERNAL_INPUT_DEVICE_LIST_H_ |
OLD | NEW |