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

Unified Diff: chrome/browser/ui/views/options/options_page_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: chrome/browser/ui/views/options/options_page_view.h
diff --git a/chrome/browser/ui/views/options/options_page_view.h b/chrome/browser/ui/views/options/options_page_view.h
index bbbc8c443cca8b96d3b0b739a4968502534348c4..c26cc9fe16f6c5b247d332c892896c65a3d17d9b 100644
--- a/chrome/browser/ui/views/options/options_page_view.h
+++ b/chrome/browser/ui/views/options/options_page_view.h
@@ -26,7 +26,7 @@ class OptionsPageView : public views::View,
// Returns true if the window containing this view can be closed, given the
// current state of this view. This can be used to prevent the window from
// being closed when a modal dialog box is showing, for example.
- virtual bool CanClose() const { return true; }
+ virtual bool CanClose() const;
protected:
// This class cannot be instantiated directly, but its constructor must be

Powered by Google App Engine
This is Rietveld 408576698