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

Unified Diff: chrome/browser/ui/webui/chromeos/register_page_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/chromeos/register_page_ui.cc
===================================================================
--- chrome/browser/ui/webui/chromeos/register_page_ui.cc (revision 116011)
+++ chrome/browser/ui/webui/chromeos/register_page_ui.cc (working copy)
@@ -24,12 +24,14 @@
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/webui/chrome_url_data_manager.h"
#include "chrome/common/url_constants.h"
-#include "content/browser/tab_contents/tab_contents.h"
#include "content/public/browser/browser_thread.h"
+#include "content/public/browser/web_contents.h"
#include "googleurl/src/gurl.h"
#include "grit/browser_resources.h"
#include "ui/base/resource/resource_bundle.h"
+using content::WebContents;
+
namespace {
// Host page JS API callback names.
@@ -290,7 +292,7 @@
//
////////////////////////////////////////////////////////////////////////////////
-RegisterPageUI::RegisterPageUI(TabContents* contents) : ChromeWebUI(contents) {
+RegisterPageUI::RegisterPageUI(WebContents* contents) : ChromeWebUI(contents) {
RegisterPageHandler* handler = new RegisterPageHandler();
AddMessageHandler(handler);
RegisterPageUIHTMLSource* html_source = new RegisterPageUIHTMLSource();
« no previous file with comments | « chrome/browser/ui/webui/chromeos/register_page_ui.h ('k') | chrome/browser/ui/webui/chromeos/sim_unlock_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698