| 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_CHROMEOS_EXTENSIONS_INPUT_METHOD_EXTENSION_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_INPUT_METHOD_API_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_INPUT_METHOD_EXTENSION_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_INPUT_METHOD_API_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "chrome/browser/extensions/extension_function.h" | 9 #include "chrome/browser/extensions/extension_function.h" |
| 10 | 10 |
| 11 // Implements the experimental.inputMethod.get method. | 11 // Implements the experimental.inputMethod.get method. |
| 12 class GetInputMethodFunction : public SyncExtensionFunction { | 12 class GetInputMethodFunction : public SyncExtensionFunction { |
| 13 public: | 13 public: |
| 14 GetInputMethodFunction(); | 14 GetInputMethodFunction(); |
| 15 | 15 |
| 16 protected: | 16 protected: |
| 17 virtual ~GetInputMethodFunction(); | 17 virtual ~GetInputMethodFunction(); |
| 18 | 18 |
| 19 virtual bool RunImpl() OVERRIDE; | 19 virtual bool RunImpl() OVERRIDE; |
| 20 | 20 |
| 21 private: | 21 private: |
| 22 DECLARE_EXTENSION_FUNCTION_NAME("inputMethodPrivate.get"); | 22 DECLARE_EXTENSION_FUNCTION_NAME("inputMethodPrivate.get"); |
| 23 }; | 23 }; |
| 24 | 24 |
| 25 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_INPUT_METHOD_EXTENSION_API_H_ | 25 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INPUT_METHOD_API_H_ |
| OLD | NEW |