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

Unified Diff: chrome/browser/ui/webui/web_ui_browsertest.cc

Issue 8949061: Move a bunch of methods from TabContents into the WebContents interface. This change either moves... (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
« no previous file with comments | « chrome/browser/ui/webui/print_preview_ui_unittest.cc ('k') | chrome/browser/ui/webui/web_ui_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/web_ui_browsertest.cc
===================================================================
--- chrome/browser/ui/webui/web_ui_browsertest.cc (revision 115435)
+++ chrome/browser/ui/webui/web_ui_browsertest.cc (working copy)
@@ -209,7 +209,7 @@
TabContentsWrapper* preview_tab = tab_controller->GetPrintPreviewForTab(
browser()->GetSelectedTabContentsWrapper());
ASSERT_TRUE(preview_tab);
- SetWebUIInstance(preview_tab->tab_contents()->web_ui());
+ SetWebUIInstance(preview_tab->tab_contents()->GetWebUI());
}
const char WebUIBrowserTest::kDummyURL[] = "chrome://DummyURL";
@@ -405,7 +405,7 @@
void WebUIBrowserTest::SetupHandlers() {
WebUI* web_ui_instance = override_selected_web_ui_ ?
override_selected_web_ui_ :
- browser()->GetSelectedTabContents()->web_ui();
+ browser()->GetSelectedTabContents()->GetWebUI();
ASSERT_TRUE(web_ui_instance != NULL);
web_ui_instance->set_register_callback_overwrites(true);
test_handler_->Attach(web_ui_instance);
« no previous file with comments | « chrome/browser/ui/webui/print_preview_ui_unittest.cc ('k') | chrome/browser/ui/webui/web_ui_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698