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

Unified Diff: views/window/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/client_view.h
diff --git a/views/window/client_view.h b/views/window/client_view.h
index 08ddcd44154f8b2a855e7e0f1327ba766c8a0386..405ec4e7d6b8608c8838583b1cfc1e21252d0c5b 100644
--- a/views/window/client_view.h
+++ b/views/window/client_view.h
@@ -31,13 +31,13 @@ class ClientView : public View {
virtual ~ClientView() {}
// Manual RTTI ftw.
- virtual DialogClientView* AsDialogClientView() { return NULL; }
+ virtual DialogClientView* AsDialogClientView();
// Returns true to signal that the Window can be closed. Specialized
// ClientView subclasses can override this default behavior to allow the
// close to be blocked until the user corrects mistakes, accepts a warning
// dialog, etc.
- virtual bool CanClose() { return true; }
+ virtual bool CanClose();
// Notification that the window is closing. The default implementation
// forwards the notification to the delegate.

Powered by Google App Engine
This is Rietveld 408576698