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

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

Issue 342573002: Add chrome.virtualKeyboardPrivate.openSettings api to open settings page (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/input/input.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f682dc2523a2d1a8b757c7c29aa18266ab1db4e1..da9e96297bcd67062ec6d34f06ae1aa5f573735b 100644
--- a/chrome/browser/extensions/api/input/input.h
+++ b/chrome/browser/extensions/api/input/input.h
@@ -109,6 +109,20 @@ class VirtualKeyboardPrivateGetKeyboardConfigFunction
virtual bool RunSync() OVERRIDE;
};
+class VirtualKeyboardPrivateOpenSettingsFunction
+ : public SyncExtensionFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION("virtualKeyboardPrivate.openSettings",
+ VIRTUALKEYBOARDPRIVATE_OPENSETTINGS);
+
+ protected:
+ virtual ~VirtualKeyboardPrivateOpenSettingsFunction() {}
+
+ // ExtensionFunction:
+ virtual bool RunSync() OVERRIDE;
+};
+
+
class InputAPI : public BrowserContextKeyedAPI {
public:
explicit InputAPI(content::BrowserContext* context);
« no previous file with comments | « no previous file | chrome/browser/extensions/api/input/input.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698