Index: ui/views/widget/native_widget_win.h |
=================================================================== |
--- ui/views/widget/native_widget_win.h (revision 152112) |
+++ ui/views/widget/native_widget_win.h (working copy) |
@@ -493,12 +493,6 @@ |
// Overridden from HWNDMessageHandlerDelegate: |
virtual bool IsWidgetWindow() const OVERRIDE; |
virtual bool IsUsingCustomFrame() const OVERRIDE; |
- virtual bool CanResize() const OVERRIDE; |
- virtual bool CanMaximize() const OVERRIDE; |
- virtual bool CanActivate() const OVERRIDE; |
- virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; |
- virtual void GetWindowMask(const gfx::Size& size, gfx::Path* path) OVERRIDE; |
- virtual InputMethod* GetInputMethod() OVERRIDE; |
virtual void HandleAppDeactivated() OVERRIDE; |
virtual bool HandleAppCommand(short command) OVERRIDE; |
virtual void HandleCaptureLost() OVERRIDE; |
@@ -509,9 +503,6 @@ |
virtual void HandleGlassModeChange() OVERRIDE; |
virtual void HandleBeginWMSizeMove() OVERRIDE; |
virtual void HandleEndWMSizeMove() OVERRIDE; |
- virtual void HandleMove() OVERRIDE; |
- virtual void HandleNativeFocus(HWND last_focused_window) OVERRIDE; |
- virtual void HandleNativeBlur(HWND focused_window) OVERRIDE; |
virtual NativeWidgetWin* AsNativeWidgetWin() OVERRIDE; |
// Called after the WM_ACTIVATE message has been processed by the default |
@@ -541,6 +532,11 @@ |
// or subsequently. |
void ClientAreaSizeChanged(); |
+ // Resets the window region for the current widget bounds if necessary. |
+ // If |force| is true, the window region is reset to NULL even for native |
+ // frame windows. |
+ void ResetWindowRegion(bool force); |
+ |
// When removing the standard frame, tells the DWM how much glass we want on |
// the edges. Currently hardcoded to 10px on all sides. |
void UpdateDWMFrame(); |