OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_VIRTUAL_KEYBOARD_MANAGER_HANDL
ER2_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_VIRTUAL_KEYBOARD_MANAGER_HANDL
ER2_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_VIRTUAL_KEYBOARD_MANAGER_HANDL
ER2_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_VIRTUAL_KEYBOARD_MANAGER_HANDL
ER2_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "chrome/browser/ui/webui/options2/options_ui2.h" | 13 #include "chrome/browser/ui/webui/options2/options_ui2.h" |
14 #include "googleurl/src/gurl.h" | 14 #include "googleurl/src/gurl.h" |
15 | 15 |
16 namespace base { | 16 namespace base { |
17 class DictionaryValue; | 17 class DictionaryValue; |
18 class ListValue; | 18 class ListValue; |
19 } // namespace base | 19 } // namespace base |
20 | 20 |
21 namespace chromeos { | 21 namespace chromeos { |
22 | 22 |
23 namespace input_method { | 23 namespace input_method { |
24 class VirtualKeyboard; | 24 class VirtualKeyboard; |
25 } // namespace input_method; | 25 } // namespace input_method; |
26 | 26 |
27 namespace options2 { | 27 namespace options2 { |
28 | 28 |
29 // A class which provides information to virtual_keyboard.js. | 29 // A class which provides information to virtual_keyboard.js. |
30 class VirtualKeyboardManagerHandler : public OptionsPageUIHandler { | 30 class VirtualKeyboardManagerHandler : public ::options2::OptionsPageUIHandler { |
31 public: | 31 public: |
32 VirtualKeyboardManagerHandler(); | 32 VirtualKeyboardManagerHandler(); |
33 virtual ~VirtualKeyboardManagerHandler(); | 33 virtual ~VirtualKeyboardManagerHandler(); |
34 | 34 |
35 // OptionsPageUIHandler implementation. | 35 // OptionsPageUIHandler implementation. |
36 virtual void GetLocalizedValues( | 36 virtual void GetLocalizedValues( |
37 base::DictionaryValue* localized_strings) OVERRIDE; | 37 base::DictionaryValue* localized_strings) OVERRIDE; |
38 virtual void RegisterMessages() OVERRIDE; | 38 virtual void RegisterMessages() OVERRIDE; |
39 | 39 |
40 protected: | 40 protected: |
(...skipping 30 matching lines...) Expand all Loading... |
71 // Handles chrome.send("clearVirtualKeyboardPreference") JS call. | 71 // Handles chrome.send("clearVirtualKeyboardPreference") JS call. |
72 void ClearVirtualKeyboardPreference(const base::ListValue* args); | 72 void ClearVirtualKeyboardPreference(const base::ListValue* args); |
73 | 73 |
74 DISALLOW_COPY_AND_ASSIGN(VirtualKeyboardManagerHandler); | 74 DISALLOW_COPY_AND_ASSIGN(VirtualKeyboardManagerHandler); |
75 }; | 75 }; |
76 | 76 |
77 } // namespace options2 | 77 } // namespace options2 |
78 } // namespace chromeos | 78 } // namespace chromeos |
79 | 79 |
80 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_VIRTUAL_KEYBOARD_MANAGER_HA
NDLER2_H_ | 80 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_VIRTUAL_KEYBOARD_MANAGER_HA
NDLER2_H_ |
OLD | NEW |