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

Unified Diff: chrome/browser/ui/tab_contents/tab_contents_wrapper.h

Issue 7054008: Remove history dependency from content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 months 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/tab_contents/tab_contents_wrapper.h
===================================================================
--- chrome/browser/ui/tab_contents/tab_contents_wrapper.h (revision 85923)
+++ chrome/browser/ui/tab_contents/tab_contents_wrapper.h (working copy)
@@ -38,6 +38,7 @@
class FileSelectObserver;
class FindTabHelper;
class InfoBarDelegate;
+class HistoryTabHelper;
class NavigationController;
class OmniboxSearchHint;
class PasswordManager;
@@ -141,7 +142,7 @@
FindTabHelper* find_tab_helper() { return find_tab_helper_.get(); }
FaviconTabHelper* favicon_tab_helper() { return favicon_tab_helper_.get(); }
-
+ HistoryTabHelper* history_tab_helper() { return history_tab_helper_.get(); }
PasswordManager* password_manager() { return password_manager_.get(); }
printing::PrintViewManager* print_view_manager() {
@@ -201,16 +202,10 @@
// Internal helpers ----------------------------------------------------------
// Message handlers.
- void OnPageContents(const GURL& url,
- int32 page_id,
- const string16& contents);
void OnJSOutOfMemory();
void OnRegisterProtocolHandler(const std::string& protocol,
const GURL& url,
const string16& title);
- void OnThumbnail(const GURL& url,
- const ThumbnailScore& score,
- const SkBitmap& bitmap);
void OnSnapshot(const SkBitmap& bitmap);
void OnPDFHasUnsupportedFeature();
@@ -244,6 +239,7 @@
scoped_ptr<ExtensionTabHelper> extension_tab_helper_;
scoped_ptr<FaviconTabHelper> favicon_tab_helper_;
scoped_ptr<FindTabHelper> find_tab_helper_;
+ scoped_ptr<HistoryTabHelper> history_tab_helper_;
// PasswordManager and its delegate. The delegate must outlive the manager,
// per documentation in password_manager.h.

Powered by Google App Engine
This is Rietveld 408576698