Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / ui / views / win / hwnd_message_handler_delegate.h
index c110a45..4381dcb 100644 (file)
@@ -46,13 +46,6 @@ class VIEWS_EXPORT HWNDMessageHandlerDelegate {
 
   virtual bool WidgetSizeIsClientSize() const = 0;
 
-  // Returns true if the delegate has a focus saving mechanism that should be
-  // used when the window is activated and deactivated.
-  virtual bool CanSaveFocus() const = 0;
-  virtual void SaveFocusOnDeactivate() = 0;
-  virtual void RestoreFocusOnActivate() = 0;
-  virtual void RestoreFocusOnEnable() = 0;
-
   // Returns true if the delegate represents a modal window.
   virtual bool IsModal() const = 0;
 
@@ -211,11 +204,6 @@ class VIEWS_EXPORT HWNDMessageHandlerDelegate {
                                    NMHDR* l_param,
                                    LRESULT* l_result) = 0;
 
-  // Called to forward mouse events to the tooltip manager.
-  virtual void HandleTooltipMouseMove(UINT message,
-                                      WPARAM w_param,
-                                      LPARAM l_param) = 0;
-
   // Invoked on entering/exiting a menu loop.
   virtual void HandleMenuLoop(bool in_menu_loop) = 0;
 
@@ -240,6 +228,9 @@ class VIEWS_EXPORT HWNDMessageHandlerDelegate {
   // handled by the delegate.
   virtual bool HandleScrollEvent(const ui::ScrollEvent& event) = 0;
 
+  // Called when the window size is about to change.
+  virtual void HandleWindowSizeChanging() = 0;
+
  protected:
   virtual ~HWNDMessageHandlerDelegate() {}
 };