Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Unified Diff: ui/views/widget/native_widget_win.cc

Issue 10270002: Get the custom frame limping with win-aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/widget/native_widget_helper_aura.h ('k') | ui/views/widget/widget_hwnd_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « ui/views/widget/native_widget_helper_aura.h ('k') | ui/views/widget/widget_hwnd_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698