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

Unified Diff: chrome/browser/ui/webui/flash_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/flash_ui.h ('k') | chrome/browser/ui/webui/gpu_internals_ui.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/flash_ui.cc
===================================================================
--- chrome/browser/ui/webui/flash_ui.cc (revision 116011)
+++ chrome/browser/ui/webui/flash_ui.cc (working copy)
@@ -27,7 +27,7 @@
#include "chrome/common/chrome_version_info.h"
#include "chrome/common/url_constants.h"
#include "content/browser/gpu/gpu_data_manager.h"
-#include "content/browser/tab_contents/tab_contents.h"
+#include "content/public/browser/web_contents.h"
#include "content/public/browser/plugin_service.h"
#include "content/public/browser/user_metrics.h"
#include "grit/browser_resources.h"
@@ -44,6 +44,7 @@
using content::PluginService;
using content::UserMetricsAction;
+using content::WebContents;
namespace {
@@ -364,7 +365,7 @@
//
///////////////////////////////////////////////////////////////////////////////
-FlashUI::FlashUI(TabContents* contents) : ChromeWebUI(contents) {
+FlashUI::FlashUI(WebContents* contents) : ChromeWebUI(contents) {
content::RecordAction(
UserMetricsAction("ViewAboutFlash"));
« no previous file with comments | « chrome/browser/ui/webui/flash_ui.h ('k') | chrome/browser/ui/webui/gpu_internals_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698