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

Unified Diff: chrome/browser/tab_contents/web_contents.h

Issue 42512: Make the bookmarks bar disappear when the load after the new tab page commits... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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/tab_contents/web_contents.h
===================================================================
--- chrome/browser/tab_contents/web_contents.h (revision 12396)
+++ chrome/browser/tab_contents/web_contents.h (working copy)
@@ -109,6 +109,11 @@
return view_.get();
}
+#ifdef UNIT_TEST
+ // Expose the render manager for testing.
+ RenderViewHostManager* render_manager() { return &render_manager_; }
+#endif
+
// Page state getters & setters ----------------------------------------------
bool is_starred() const { return is_starred_; }
@@ -449,6 +454,7 @@
virtual NavigationController* GetControllerForRenderManager() {
return controller();
}
+ virtual DOMUI* CreateDOMUIForRenderManager(const GURL& url);
virtual NavigationEntry* GetLastCommittedNavigationEntryForRenderManager();
// Initializes the given renderer if necessary and creates the view ID
@@ -635,11 +641,6 @@
// PluginInstaller, lazily created.
scoped_ptr<PluginInstaller> plugin_installer_;
- // When the current page is a DOM UI page, this will point to the specific
- // DOMUI object handling it. When we don't have a DOM UI page, this will be
- // null.
- scoped_ptr<DOMUI> dom_ui_;
-
// Handles downloading favicons.
FavIconHelper fav_icon_helper_;

Powered by Google App Engine
This is Rietveld 408576698