Chromium Code Reviews| Index: chrome/browser/extensions/extension_input_ui_api.h |
| diff --git a/chrome/browser/extensions/extension_input_ui_api.h b/chrome/browser/extensions/extension_input_ui_api.h |
| index 027503303755c7fc1a3404c33b5a29855eb84a0a..97ae795d17b21e272b65bfbc9f8b0c23b8e1cf50 100644 |
| --- a/chrome/browser/extensions/extension_input_ui_api.h |
| +++ b/chrome/browser/extensions/extension_input_ui_api.h |
| @@ -6,11 +6,13 @@ |
| #define CHROME_BROWSER_EXTENSIONS_EXTENSION_INPUT_UI_API_H_ |
| #pragma once |
| +#include "chrome/browser/extensions/extension_function.h" |
| + |
| +#if defined(OS_CHROMEOS) |
|
bryeung
2011/05/19 22:23:42
Using the macros in this way makes this file hard
mazda
2011/05/20 12:16:05
OK. I moved the code to extension_input_api.*.
Let
|
| #include <string> |
| #include "base/memory/singleton.h" |
| #include "base/memory/scoped_ptr.h" |
| -#include "chrome/browser/extensions/extension_function.h" |
| class InputUiController; |
| class ListValue; |
| @@ -100,4 +102,12 @@ class PageDownInputUiFunction : public SyncExtensionFunction { |
| DECLARE_EXTENSION_FUNCTION_NAME("experimental.inputUI.pageDown"); |
| }; |
| +#endif // OS_CHROMEOS |
| + |
| +class HideKeyboardInputUiFunction : public AsyncExtensionFunction { |
| + public: |
| + virtual bool RunImpl(); |
| + DECLARE_EXTENSION_FUNCTION_NAME("experimental.inputUI.hideKeyboard"); |
| +}; |
| + |
| #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INPUT_UI_API_H_ |