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

Unified Diff: chrome/browser/ui/webui/options2/options_ui2.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/options2/options_ui2.cc
===================================================================
--- chrome/browser/ui/webui/options2/options_ui2.cc (revision 116011)
+++ chrome/browser/ui/webui/options2/options_ui2.cc (working copy)
@@ -79,6 +79,8 @@
#include "chrome/browser/ui/webui/options2/certificate_manager_handler2.h"
#endif
+using content::WebContents;
+
namespace options2 {
static const char kLocalizedStringsFile[] = "strings.js";
@@ -193,7 +195,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/options2/options_ui2.h ('k') | chrome/browser/ui/webui/options2/personal_options_handler2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698