Removes bookmarkbar logic from TabContents.

BUG=83975
TEST=none

Review URL: http://codereview.chromium.org/7087006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87472 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/browser/tab_contents/tab_contents.h b/content/browser/tab_contents/tab_contents.h
index b3472af..4220e20 100644
--- a/content/browser/tab_contents/tab_contents.h
+++ b/content/browser/tab_contents/tab_contents.h
@@ -72,9 +72,7 @@
                                           // state changed.
     INVALIDATE_LOAD            = 1 << 2,  // The loading state has changed.
     INVALIDATE_PAGE_ACTIONS    = 1 << 3,  // Page action icons have changed.
-    INVALIDATE_BOOKMARK_BAR    = 1 << 4,  // State of ShouldShowBookmarkBar
-                                          // changed.
-    INVALIDATE_TITLE           = 1 << 5,  // The title changed.
+    INVALIDATE_TITLE           = 1 << 4,  // The title changed.
   };
 
   // |base_tab_contents| is used if we want to size the new tab contents view
@@ -120,6 +118,10 @@
     return render_manager_.current_host();
   }
 
+  WebUI* committed_web_ui() const {
+    return render_manager_.web_ui();
+  }
+
   WebUI* web_ui() const {
     return render_manager_.web_ui() ? render_manager_.web_ui()
         : render_manager_.pending_web_ui();
@@ -350,9 +352,6 @@
 
   // Toolbars and such ---------------------------------------------------------
 
-  // Returns true if a Bookmark Bar should be shown for this tab.
-  virtual bool ShouldShowBookmarkBar();
-
   // Called when a ConstrainedWindow we own is about to be closed.
   void WillClose(ConstrainedWindow* window);