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

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

Issue 9254046: Custom frame UI for platform apps on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rearchitect to use NonClientFrameView Created 8 years, 10 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
Index: ui/views/widget/native_widget_win.h
diff --git a/ui/views/widget/native_widget_win.h b/ui/views/widget/native_widget_win.h
index 3094cecb39e0acfd47b512c7cc7a81f240918c28..0a1f846e13a44d67923f431763cd24114ddbf45c 100644
--- a/ui/views/widget/native_widget_win.h
+++ b/ui/views/widget/native_widget_win.h
@@ -494,6 +494,9 @@ class VIEWS_EXPORT NativeWidgetWin : public ui::WindowImpl,
// Determines whether the delegate expects the client size or the window size.
bool WidgetSizeIsClientSize() const;
+ // True if client size == window size according to the NonClientFrameView.
+ virtual bool ShouldRemoveStandardFrame() const;
+
// Responds to the client area changing size, either at window creation time
// or subsequently.
void ClientAreaSizeChanged();

Powered by Google App Engine
This is Rietveld 408576698