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

Unified Diff: views/window/non_client_view.cc

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.cc
diff --git a/views/window/non_client_view.cc b/views/window/non_client_view.cc
index 210bd103585a62fb2a294771a6ea9961c0f60e0f..e882105f45ba36109d58d76e6f91a68a8aa4981f 100644
--- a/views/window/non_client_view.cc
+++ b/views/window/non_client_view.cc
@@ -181,6 +181,14 @@ AccessibilityTypes::Role NonClientView::GetAccessibleRole() {
////////////////////////////////////////////////////////////////////////////////
// NonClientFrameView, View overrides:
+bool NonClientFrameView::AlwaysUseCustomFrame() const {
+ return false;
+}
+
+bool NonClientFrameView::AlwaysUseNativeFrame() const {
+ return false;
+}
+
bool NonClientFrameView::HitTest(const gfx::Point& l) const {
// For the default case, we assume the non-client frame view never overlaps
// the client view.

Powered by Google App Engine
This is Rietveld 408576698