Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(813)

Unified Diff: chrome/browser/extensions/extension_input_ui_api.h

Issue 7033033: Add hideKeyboard API to chrome.experimental.input. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698