Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / ui / wm / core / input_method_event_filter.h
index 17a6a0e..c6bd65a 100644 (file)
@@ -11,7 +11,7 @@
 #include "ui/base/ime/input_method_delegate.h"
 #include "ui/events/event_handler.h"
 #include "ui/gfx/native_widget_types.h"
-#include "ui/wm/core/wm_core_export.h"
+#include "ui/wm/wm_export.h"
 
 namespace ui {
 class EventProcessor;
@@ -22,12 +22,12 @@ namespace wm {
 
 // An event filter that forwards a KeyEvent to a system IME, and dispatches a
 // TranslatedKeyEvent to the root window as needed.
-class WM_CORE_EXPORT InputMethodEventFilter
+class WM_EXPORT InputMethodEventFilter
     : public ui::EventHandler,
       public ui::internal::InputMethodDelegate {
  public:
   explicit InputMethodEventFilter(gfx::AcceleratedWidget widget);
-  virtual ~InputMethodEventFilter();
+  ~InputMethodEventFilter() override;
 
   void SetInputMethodPropertyInRootWindow(aura::Window* root_window);
 
@@ -35,16 +35,13 @@ class WM_CORE_EXPORT InputMethodEventFilter
 
  private:
   // Overridden from ui::EventHandler:
-  virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE;
+  void OnKeyEvent(ui::KeyEvent* event) override;
 
   // Overridden from ui::internal::InputMethodDelegate:
-  virtual bool DispatchKeyEventPostIME(const ui::KeyEvent& event) OVERRIDE;
+  bool DispatchKeyEventPostIME(const ui::KeyEvent& event) override;
 
   scoped_ptr<ui::InputMethod> input_method_;
 
-  // The target dispatcher that will receive translated key events from the IME.
-  ui::EventProcessor* target_dispatcher_;
-
   DISALLOW_COPY_AND_ASSIGN(InputMethodEventFilter);
 };