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

Unified Diff: chrome/browser/views/input_window.cc

Issue 45006: Merge 11311 - InputWindow's window delegate should pass DeleteDelegate throug... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/branches/169/src/
Patch Set: Created 11 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/input_window.cc
===================================================================
--- chrome/browser/views/input_window.cc (revision 11543)
+++ chrome/browser/views/input_window.cc (working copy)
@@ -35,6 +35,7 @@
virtual bool Accept();
virtual bool Cancel();
virtual void WindowClosing();
+ virtual void DeleteDelegate();
virtual std::wstring GetWindowTitle() const;
virtual bool IsModal() const { return true; }
virtual views::View* GetContentsView();
@@ -92,6 +93,10 @@
delegate_->WindowClosing();
}
+void ContentView::DeleteDelegate() {
+ delegate_->DeleteDelegate();
+}
+
std::wstring ContentView::GetWindowTitle() const {
return delegate_->GetWindowTitle();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698