| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 ::options2::OptionsPageUIHandler { | 30 class VirtualKeyboardManagerHandler : public 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 Initialize() OVERRIDE; | 38 virtual void Initialize() OVERRIDE; |
| 39 virtual void RegisterMessages() OVERRIDE; | 39 virtual void RegisterMessages() OVERRIDE; |
| 40 | 40 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 // Handles chrome.send("clearVirtualKeyboardPreference") JS call. | 72 // Handles chrome.send("clearVirtualKeyboardPreference") JS call. |
| 73 void ClearVirtualKeyboardPreference(const base::ListValue* args); | 73 void ClearVirtualKeyboardPreference(const base::ListValue* args); |
| 74 | 74 |
| 75 DISALLOW_COPY_AND_ASSIGN(VirtualKeyboardManagerHandler); | 75 DISALLOW_COPY_AND_ASSIGN(VirtualKeyboardManagerHandler); |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 } // namespace options2 | 78 } // namespace options2 |
| 79 } // namespace chromeos | 79 } // namespace chromeos |
| 80 | 80 |
| 81 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_VIRTUAL_KEYBOARD_MANAGER_HA
NDLER2_H_ | 81 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_VIRTUAL_KEYBOARD_MANAGER_HA
NDLER2_H_ |
| OLD | NEW |