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

Unified Diff: views/window/non_client_view.h

Issue 7036014: 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/window/native_window_delegate.h ('k') | views/window/non_client_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/window/non_client_view.h
===================================================================
--- views/window/non_client_view.h (revision 85647)
+++ views/window/non_client_view.h (working copy)
@@ -45,16 +45,6 @@
// view should be laid out within.
virtual gfx::Rect GetBoundsForClientView() const = 0;
- // Returns true if this FrameView should always use the custom frame,
- // regardless of the system settings. An example is the Constrained Window,
- // which is a child window and must always provide its own frame.
- virtual bool AlwaysUseCustomFrame() const;
-
- // Like AlwaysUseCustomFrame, returns true if this FrameView should always use
- // the native frame, regardless of theme settings. An example is popup/app
- // windows, which we do not ever want to show themed.
- virtual bool AlwaysUseNativeFrame() const;
-
virtual gfx::Rect GetWindowBoundsForClientBounds(
const gfx::Rect& client_bounds) const = 0;
@@ -161,10 +151,6 @@
// |use_native_frame|.
void UpdateFrame();
- // Returns true if the native window frame should be used, false if the
- // NonClientView provides its own frame implementation.
- bool UseNativeFrame() const;
-
// 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
// shown that shouldn't visually de-activate the window.
« no previous file with comments | « views/window/native_window_delegate.h ('k') | views/window/non_client_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698