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

Side by Side Diff: ash/virtual_keyboard_controller.h

Issue 685793002: Move all event related devices from ui/events/ to ui/events/devices/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@internal-touchscreens
Patch Set: Fix gn build Created 6 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_VIRTUAL_KEYBOARD_CONTROLLER_H_ 5 #ifndef ASH_VIRTUAL_KEYBOARD_CONTROLLER_H_
6 #define ASH_VIRTUAL_KEYBOARD_CONTROLLER_H_ 6 #define ASH_VIRTUAL_KEYBOARD_CONTROLLER_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/shell_observer.h" 9 #include "ash/shell_observer.h"
10 #include "ui/events/input_device_event_observer.h" 10 #include "ui/events/devices/input_device_event_observer.h"
11 11
12 namespace ash { 12 namespace ash {
13 13
14 // This class observes input device changes for the virtual keyboard. 14 // This class observes input device changes for the virtual keyboard.
15 class ASH_EXPORT VirtualKeyboardController 15 class ASH_EXPORT VirtualKeyboardController
16 : public ShellObserver, 16 : public ShellObserver,
17 public ui::InputDeviceEventObserver { 17 public ui::InputDeviceEventObserver {
18 public: 18 public:
19 VirtualKeyboardController(); 19 VirtualKeyboardController();
20 ~VirtualKeyboardController() override; 20 ~VirtualKeyboardController() override;
(...skipping 23 matching lines...) Expand all
44 bool has_internal_keyboard_; 44 bool has_internal_keyboard_;
45 // True if a touchscreen is connected. 45 // True if a touchscreen is connected.
46 bool has_touchscreen_; 46 bool has_touchscreen_;
47 47
48 DISALLOW_COPY_AND_ASSIGN(VirtualKeyboardController); 48 DISALLOW_COPY_AND_ASSIGN(VirtualKeyboardController);
49 }; 49 };
50 50
51 } // namespace ash 51 } // namespace ash
52 52
53 #endif // ASH_VIRTUAL_KEYBOARD_CONTROLLER_H_ 53 #endif // ASH_VIRTUAL_KEYBOARD_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698