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

Unified Diff: chrome/browser/ui/webui/about_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
« no previous file with comments | « chrome/browser/ui/webui/about_ui.h ('k') | chrome/browser/ui/webui/active_downloads_ui.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/about_ui.cc
===================================================================
--- chrome/browser/ui/webui/about_ui.cc (revision 116011)
+++ chrome/browser/ui/webui/about_ui.cc (working copy)
@@ -49,10 +49,10 @@
#include "content/browser/gpu/gpu_process_host_ui_shim.h"
#include "content/browser/renderer_host/render_view_host.h"
#include "content/browser/sensors/sensors_provider.h"
-#include "content/browser/tab_contents/tab_contents.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/plugin_service.h"
#include "content/public/browser/render_process_host.h"
+#include "content/public/browser/web_contents.h"
#include "content/public/common/content_client.h"
#include "content/public/common/process_type.h"
#include "crypto/nss_util.h"
@@ -93,6 +93,7 @@
using base::TimeDelta;
using content::BrowserThread;
using content::PluginService;
+using content::WebContents;
namespace {
@@ -1377,7 +1378,7 @@
return "text/html";
}
-AboutUI::AboutUI(TabContents* contents, const std::string& name)
+AboutUI::AboutUI(WebContents* contents, const std::string& name)
: ChromeWebUI(contents) {
Profile* profile = Profile::FromBrowserContext(contents->GetBrowserContext());
ChromeURLDataManager::DataSource* source =
« no previous file with comments | « chrome/browser/ui/webui/about_ui.h ('k') | chrome/browser/ui/webui/active_downloads_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698