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

Unified Diff: views/window/non_client_view.h

Issue 6622002: Do all OOLing in the views code. linux_views now builds clean with the clang plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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: views/window/non_client_view.h
diff --git a/views/window/non_client_view.h b/views/window/non_client_view.h
index db1daffb42002e482c987f081dbf3de8b351538b..d45c30ec666bea7898ece3dd03ef5723b2e5c41f 100644
--- a/views/window/non_client_view.h
+++ b/views/window/non_client_view.h
@@ -48,12 +48,12 @@ class NonClientFrameView : public View {
// 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 { return false; }
+ 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 { return false; }
+ virtual bool AlwaysUseNativeFrame() const;
virtual gfx::Rect GetWindowBoundsForClientBounds(
const gfx::Rect& client_bounds) const = 0;

Powered by Google App Engine
This is Rietveld 408576698