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

Unified Diff: chrome/browser/extensions/api/input/input.h

Issue 14674004: DRAFT: Add setKeyboardVisibility API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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/api/input/input.h
diff --git a/chrome/browser/extensions/api/input/input.h b/chrome/browser/extensions/api/input/input.h
index 51cae3a45f004e13f9eb79912c72200bb2506c58..9ceb814818b8c752a5fe2d20049559dbbda0af1c 100644
--- a/chrome/browser/extensions/api/input/input.h
+++ b/chrome/browser/extensions/api/input/input.h
@@ -26,6 +26,19 @@ class SendKeyboardEventInputFunction : public SyncExtensionFunction {
virtual bool RunImpl() OVERRIDE;
};
+class SetKeyboardVisibilityFunction : public SyncExtensionFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION(
+ "experimental.input.virtualKeyboard.setKeyboardVisibility",
+ EXPERIMENTAL_INPUT_VIRTUALKEYBOARD_SETKEYBOARDVISIBILITY);
+
+ protected:
+ virtual ~SetKeyboardVisibilityFunction() {}
+
+ // ExtensionFunction:
+ virtual bool RunImpl() OVERRIDE;
+};
+
class InputAPI : public ProfileKeyedAPI {
public:
explicit InputAPI(Profile* profile);

Powered by Google App Engine
This is Rietveld 408576698