Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / chromeos / extensions / input_method_api.h
index 77f84e8..18d610e 100644 (file)
@@ -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:
@@ -25,11 +41,12 @@ class GetCurrentInputMethodFunction : public UIThreadExtensionFunction {
  protected:
   virtual ~GetCurrentInputMethodFunction() {}
 
-  virtual ResponseAction Run() OVERRIDE;
+  virtual ResponseAction Run() override;
 
  private:
   DECLARE_EXTENSION_FUNCTION("inputMethodPrivate.getCurrentInputMethod",
                              INPUTMETHODPRIVATE_GETCURRENTINPUTMETHOD)
+  DISALLOW_COPY_AND_ASSIGN(GetCurrentInputMethodFunction);
 };
 
 // Implements the inputMethodPrivate.setCurrentInputMethod method.
@@ -40,11 +57,12 @@ class SetCurrentInputMethodFunction : public UIThreadExtensionFunction {
  protected:
   virtual ~SetCurrentInputMethodFunction() {}
 
-  virtual ResponseAction Run() OVERRIDE;
+  virtual ResponseAction Run() override;
 
  private:
   DECLARE_EXTENSION_FUNCTION("inputMethodPrivate.setCurrentInputMethod",
                              INPUTMETHODPRIVATE_SETCURRENTINPUTMETHOD)
+  DISALLOW_COPY_AND_ASSIGN(SetCurrentInputMethodFunction);
 };
 
 // Implements the inputMethodPrivate.getInputMethods method.
@@ -55,11 +73,12 @@ class GetInputMethodsFunction : public UIThreadExtensionFunction {
  protected:
   virtual ~GetInputMethodsFunction() {}
 
-  virtual ResponseAction Run() OVERRIDE;
+  virtual ResponseAction Run() override;
 
  private:
   DECLARE_EXTENSION_FUNCTION("inputMethodPrivate.getInputMethods",
                              INPUTMETHODPRIVATE_GETINPUTMETHODS)
+  DISALLOW_COPY_AND_ASSIGN(GetInputMethodsFunction);
 };
 
 class InputMethodAPI : public BrowserContextKeyedAPI,
@@ -78,11 +97,11 @@ class InputMethodAPI : public BrowserContextKeyedAPI,
   static BrowserContextKeyedAPIFactory<InputMethodAPI>* GetFactoryInstance();
 
   // BrowserContextKeyedAPI implementation.
-  virtual void Shutdown() OVERRIDE;
+  virtual void Shutdown() override;
 
   // EventRouter::Observer implementation.
   virtual void OnListenerAdded(const extensions::EventListenerInfo& details)
-      OVERRIDE;
+      override;
 
  private:
   friend class BrowserContextKeyedAPIFactory<InputMethodAPI>;