| 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_CHROMEOS_EXTENSIONS_INPUT_METHOD_EVENT_ROUTER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_INPUT_METHOD_EVENT_ROUTER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_INPUT_METHOD_EVENT_ROUTER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_INPUT_METHOD_EVENT_ROUTER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 class ExtensionInputMethodEventRouter | 21 class ExtensionInputMethodEventRouter |
| 22 : public input_method::InputMethodManager::Observer { | 22 : public input_method::InputMethodManager::Observer { |
| 23 public: | 23 public: |
| 24 explicit ExtensionInputMethodEventRouter(content::BrowserContext* context); | 24 explicit ExtensionInputMethodEventRouter(content::BrowserContext* context); |
| 25 virtual ~ExtensionInputMethodEventRouter(); | 25 virtual ~ExtensionInputMethodEventRouter(); |
| 26 | 26 |
| 27 // Implements input_method::InputMethodManager::Observer: | 27 // Implements input_method::InputMethodManager::Observer: |
| 28 virtual void InputMethodChanged( | 28 virtual void InputMethodChanged( |
| 29 input_method::InputMethodManager* manager, | 29 input_method::InputMethodManager* manager, |
| 30 bool show_message) OVERRIDE; | 30 bool show_message) OVERRIDE; |
| 31 virtual void InputMethodPropertyChanged( |
| 32 input_method::InputMethodManager* manager) OVERRIDE {} |
| 31 | 33 |
| 32 private: | 34 private: |
| 33 content::BrowserContext* context_; | 35 content::BrowserContext* context_; |
| 34 | 36 |
| 35 DISALLOW_COPY_AND_ASSIGN(ExtensionInputMethodEventRouter); | 37 DISALLOW_COPY_AND_ASSIGN(ExtensionInputMethodEventRouter); |
| 36 }; | 38 }; |
| 37 | 39 |
| 38 } // namespace chromeos | 40 } // namespace chromeos |
| 39 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_INPUT_METHOD_EVENT_ROUTER_H_ | 41 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_INPUT_METHOD_EVENT_ROUTER_H_ |
| OLD | NEW |