Index: ui/views/widget/native_widget_win.cc |
=================================================================== |
--- ui/views/widget/native_widget_win.cc (revision 134532) |
+++ ui/views/widget/native_widget_win.cc (working copy) |
@@ -47,6 +47,7 @@ |
#include "ui/views/widget/native_widget_delegate.h" |
#include "ui/views/widget/root_view.h" |
#include "ui/views/widget/widget_delegate.h" |
+#include "ui/views/widget/widget_hwnd_utils.h" |
#include "ui/views/window/native_frame_view.h" |
#pragma comment(lib, "dwmapi.lib") |
@@ -224,14 +225,6 @@ |
return TRUE; |
} |
-// Returns true if the WINDOWPOS data provided indicates the client area of |
-// the window may have changed size. This can be caused by the window being |
-// resized or its frame changing. |
-bool DidClientAreaSizeChange(const WINDOWPOS* window_pos) { |
- return !(window_pos->flags & SWP_NOSIZE) || |
- window_pos->flags & SWP_FRAMECHANGED; |
-} |
- |
// Callback used to notify child windows that the top level window received a |
// DWMCompositionChanged message. |
BOOL CALLBACK SendDwmCompositionChanged(HWND window, LPARAM param) { |