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

Unified Diff: chrome/browser/ui/webui/bookmarks_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/bookmarks_ui.h ('k') | chrome/browser/ui/webui/bug_report_ui.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/bookmarks_ui.cc
===================================================================
--- chrome/browser/ui/webui/bookmarks_ui.cc (revision 116011)
+++ chrome/browser/ui/webui/bookmarks_ui.cc (working copy)
@@ -17,12 +17,13 @@
#include "chrome/browser/ui/browser_list.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/web_contents.h"
#include "grit/theme_resources.h"
#include "grit/theme_resources_standard.h"
#include "ui/base/resource/resource_bundle.h"
#include "googleurl/src/gurl.h"
+using content::WebContents;
////////////////////////////////////////////////////////////////////////////////
//
@@ -55,7 +56,7 @@
//
////////////////////////////////////////////////////////////////////////////////
-BookmarksUI::BookmarksUI(TabContents* contents) : ChromeWebUI(contents) {
+BookmarksUI::BookmarksUI(WebContents* contents) : ChromeWebUI(contents) {
BookmarksUIHTMLSource* html_source = new BookmarksUIHTMLSource();
// Set up the chrome://bookmarks/ source.
« no previous file with comments | « chrome/browser/ui/webui/bookmarks_ui.h ('k') | chrome/browser/ui/webui/bug_report_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698