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

Unified Diff: chrome/browser/chromeos/extensions/input_method_api.h

Issue 676593004: Adds experimental flag --enable-experimental-ime-features. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/chromeos/extensions/input_method_api.h
diff --git a/chrome/browser/chromeos/extensions/input_method_api.h b/chrome/browser/chromeos/extensions/input_method_api.h
index c7d45e5f3f8b628619acaaafc8f03d5b7830bbd6..18d610e8d054260adb0e05464c0a05f995fb151b 100644
--- a/chrome/browser/chromeos/extensions/input_method_api.h
+++ b/chrome/browser/chromeos/extensions/input_method_api.h
@@ -17,6 +17,22 @@ class ExtensionInputMethodEventRouter;
namespace extensions {
+// Implements the inputMethodPrivate.getInputMethodConfig method.
+class GetInputMethodConfigFunction : public UIThreadExtensionFunction {
+ public:
+ GetInputMethodConfigFunction() {}
+
+ protected:
+ virtual ~GetInputMethodConfigFunction() {}
+
+ virtual ResponseAction Run() override;
+
+ private:
+ DECLARE_EXTENSION_FUNCTION("inputMethodPrivate.getInputMethodConfig",
+ INPUTMETHODPRIVATE_GETINPUTMETHODCONFIG)
+ DISALLOW_COPY_AND_ASSIGN(GetInputMethodConfigFunction);
+};
+
// Implements the inputMethodPrivate.getCurrentInputMethod method.
class GetCurrentInputMethodFunction : public UIThreadExtensionFunction {
public:
@@ -30,6 +46,7 @@ class GetCurrentInputMethodFunction : public UIThreadExtensionFunction {
private:
DECLARE_EXTENSION_FUNCTION("inputMethodPrivate.getCurrentInputMethod",
INPUTMETHODPRIVATE_GETCURRENTINPUTMETHOD)
+ DISALLOW_COPY_AND_ASSIGN(GetCurrentInputMethodFunction);
};
// Implements the inputMethodPrivate.setCurrentInputMethod method.
@@ -45,6 +62,7 @@ class SetCurrentInputMethodFunction : public UIThreadExtensionFunction {
private:
DECLARE_EXTENSION_FUNCTION("inputMethodPrivate.setCurrentInputMethod",
INPUTMETHODPRIVATE_SETCURRENTINPUTMETHOD)
+ DISALLOW_COPY_AND_ASSIGN(SetCurrentInputMethodFunction);
};
// Implements the inputMethodPrivate.getInputMethods method.
@@ -60,6 +78,7 @@ class GetInputMethodsFunction : public UIThreadExtensionFunction {
private:
DECLARE_EXTENSION_FUNCTION("inputMethodPrivate.getInputMethods",
INPUTMETHODPRIVATE_GETINPUTMETHODS)
+ DISALLOW_COPY_AND_ASSIGN(GetInputMethodsFunction);
};
class InputMethodAPI : public BrowserContextKeyedAPI,

Powered by Google App Engine
This is Rietveld 408576698