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

Unified Diff: ui/views/window/non_client_view.h

Issue 10910238: ash: Fix blank window when maximizing an app (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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_win.cc ('k') | ui/views/window/non_client_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/window/non_client_view.h
diff --git a/ui/views/window/non_client_view.h b/ui/views/window/non_client_view.h
index 8be4a8599b45ef67ef2ce69f9f388295eb18f495..3b6fd0b7c7574fc53ef9ccfd47662c039e335e8d 100644
--- a/ui/views/window/non_client_view.h
+++ b/ui/views/window/non_client_view.h
@@ -150,9 +150,10 @@ class VIEWS_EXPORT NonClientView : public View {
// Called by the containing Window when it is closed.
void WindowClosing();
- // Changes the frame from native to custom depending on the value of
- // |use_native_frame|.
- void UpdateFrame();
+ // Replaces the frame view with a new one. Used when switching window theme
+ // or frame style. Pass true for |layout| to refresh the window layout (the
+ // common case) or false if you will trigger layout yourself.
+ void UpdateFrame(bool layout);
// Prevents the window from being rendered as deactivated when |disable| is
// true, until called with |disable| false. Used when a sub-window is to be
« no previous file with comments | « ui/views/widget/native_widget_win.cc ('k') | ui/views/window/non_client_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698