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

Unified Diff: chrome/browser/ui/cocoa/html_dialog_window_controller.mm

Issue 8956050: Rename TabContents::controller() to GetController and put it into the WebContents interface. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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/cocoa/html_dialog_window_controller.mm
===================================================================
--- chrome/browser/ui/cocoa/html_dialog_window_controller.mm (revision 115228)
+++ chrome/browser/ui/cocoa/html_dialog_window_controller.mm (working copy)
@@ -298,11 +298,11 @@
HtmlDialogUI::GetPropertyAccessor().SetProperty(
contentsWrapper_->tab_contents()->GetPropertyBag(), delegate_.get());
- contentsWrapper_->tab_contents()->controller().LoadURL(
- delegate_->GetDialogContentURL(),
- content::Referrer(),
- content::PAGE_TRANSITION_START_PAGE,
- std::string());
+ contentsWrapper_->tab_contents()->GetController().LoadURL(
+ delegate_->GetDialogContentURL(),
+ content::Referrer(),
+ content::PAGE_TRANSITION_START_PAGE,
+ std::string());
// TODO(akalin): add accelerator for ESC to close the dialog box.
//

Powered by Google App Engine
This is Rietveld 408576698