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

Unified Diff: views/window/native_window_delegate.h

Issue 6975037: Revert 85666 - Consolidate ShouldUseNativeFrame/AlwaysUseNativeFrame/UseNativeFrame spaghetti. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 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 | « views/widget/widget_win.cc ('k') | views/window/non_client_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/window/native_window_delegate.h
===================================================================
--- views/window/native_window_delegate.h (revision 85701)
+++ views/window/native_window_delegate.h (working copy)
@@ -35,6 +35,10 @@
// Returns true if the window is a dialog box.
virtual bool IsDialogBox() const = 0;
+ // Returns true if the window is using a system native frame. Returns false if
+ // it is rendering its own title bar, borders and controls.
+ virtual bool IsUsingNativeFrame() const = 0;
+
// Returns the smallest size the window can be resized to by the user.
virtual gfx::Size GetMinimumSize() const = 0;
« no previous file with comments | « views/widget/widget_win.cc ('k') | views/window/non_client_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698