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

Unified Diff: chrome/browser/ui/webui/options/options_ui.cc

Issue 9003014: Replace WebUI::tab_contents() with web_contents() and switch all users to use web_contents.h inst... (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/webui/options/options_ui.cc
===================================================================
--- chrome/browser/ui/webui/options/options_ui.cc (revision 116011)
+++ chrome/browser/ui/webui/options/options_ui.cc (working copy)
@@ -83,6 +83,7 @@
#endif
using content::UserMetricsAction;
+using content::WebContents;
static const char kLocalizedStringsFile[] = "strings.js";
static const char kOptionsBundleJsFile[] = "options_bundle.js";
@@ -196,7 +197,7 @@
//
////////////////////////////////////////////////////////////////////////////////
-OptionsUI::OptionsUI(TabContents* contents)
+OptionsUI::OptionsUI(WebContents* contents)
: ChromeWebUI(contents),
initialized_handlers_(false) {
DictionaryValue* localized_strings = new DictionaryValue();
« no previous file with comments | « chrome/browser/ui/webui/options/options_ui.h ('k') | chrome/browser/ui/webui/options/personal_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698