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;
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;
// 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() {}
};