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

Unified Diff: views/window/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/client_view.cc
diff --git a/views/window/client_view.cc b/views/window/client_view.cc
index de198edec106000ef6b8b144551f0e25ba952ff1..9fb3e703cc918ee858076820f0e5068e0d00d02b 100644
--- a/views/window/client_view.cc
+++ b/views/window/client_view.cc
@@ -24,6 +24,14 @@ int ClientView::NonClientHitTest(const gfx::Point& point) {
return bounds().Contains(point) ? HTCLIENT : HTNOWHERE;
}
+DialogClientView* ClientView::AsDialogClientView() {
+ return NULL;
+}
+
+bool ClientView::CanClose() {
+ return true;
+}
+
void ClientView::WindowClosing() {
window_->GetDelegate()->WindowClosing();
}

Powered by Google App Engine
This is Rietveld 408576698