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

Side by Side Diff: ash/virtual_keyboard_controller.h

Issue 945983002: Make ui::InputDeviceEventObserver provide a default implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months 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
« no previous file with comments | « ash/display/display_change_observer_chromeos.cc ('k') | ash/virtual_keyboard_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "ash/system/tray/system_tray_notifier.h" 10 #include "ash/system/tray/system_tray_notifier.h"
(...skipping 10 matching lines...) Expand all
21 ~VirtualKeyboardController() override; 21 ~VirtualKeyboardController() override;
22 22
23 // ShellObserver: 23 // ShellObserver:
24 // TODO(rsadam@): Remove when autovirtual keyboard flag is on by default. 24 // TODO(rsadam@): Remove when autovirtual keyboard flag is on by default.
25 void OnMaximizeModeStarted() override; 25 void OnMaximizeModeStarted() override;
26 void OnMaximizeModeEnded() override; 26 void OnMaximizeModeEnded() override;
27 27
28 // ui::InputDeviceObserver: 28 // ui::InputDeviceObserver:
29 void OnTouchscreenDeviceConfigurationChanged() override; 29 void OnTouchscreenDeviceConfigurationChanged() override;
30 void OnKeyboardDeviceConfigurationChanged() override; 30 void OnKeyboardDeviceConfigurationChanged() override;
31 void OnMouseDeviceConfigurationChanged() override;
32 void OnTouchpadDeviceConfigurationChanged() override;
33 31
34 // Toggles whether the presense of an external keyboard should be ignored 32 // Toggles whether the presense of an external keyboard should be ignored
35 // when determining whether or not to show the on-screen keyboard. 33 // when determining whether or not to show the on-screen keyboard.
36 void ToggleIgnoreExternalKeyboard(); 34 void ToggleIgnoreExternalKeyboard();
37 35
38 private: 36 private:
39 // Updates the list of active input devices. 37 // Updates the list of active input devices.
40 void UpdateDevices(); 38 void UpdateDevices();
41 39
42 // Updates the keyboard state. 40 // Updates the keyboard state.
(...skipping 10 matching lines...) Expand all
53 bool has_touchscreen_; 51 bool has_touchscreen_;
54 // True if the presense of an external keyboard should be ignored. 52 // True if the presense of an external keyboard should be ignored.
55 bool ignore_external_keyboard_; 53 bool ignore_external_keyboard_;
56 54
57 DISALLOW_COPY_AND_ASSIGN(VirtualKeyboardController); 55 DISALLOW_COPY_AND_ASSIGN(VirtualKeyboardController);
58 }; 56 };
59 57
60 } // namespace ash 58 } // namespace ash
61 59
62 #endif // ASH_VIRTUAL_KEYBOARD_CONTROLLER_H_ 60 #endif // ASH_VIRTUAL_KEYBOARD_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/display/display_change_observer_chromeos.cc ('k') | ash/virtual_keyboard_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698