Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / ozone / ui / events / window_change_observer.h
index 71d2089..6fc9c25 100644 (file)
@@ -28,12 +28,12 @@ class OZONE_WAYLAND_EXPORT WindowChangeObserver {
   virtual void OnWindowResized(unsigned windowhandle,
                                unsigned width,
                                unsigned height) = 0;
+  // Called when a window is Restored.
   virtual void OnWindowUnminimized(unsigned windowhandle) = 0;
-  // FIXME(joone): Move to IMEChangeObserver?
-  virtual void OnPreeditChanged(unsigned handle,
-                                const std::string& text,
-                                const std::string& commit) = 0;
-  virtual void OnCommit(unsigned handle, const std::string& text) = 0;
+  // Called when a window is DeActivated.
+  virtual void OnWindowDeActivated(unsigned windowhandle) = 0;
+  // Called when a window is Activate.
+  virtual void OnWindowActivated(unsigned windowhandle) = 0;
 
  protected:
   virtual ~WindowChangeObserver() {}