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

Unified Diff: chrome/test/test_browser_window.h

Issue 18540: Don't expose the go and star button views directly through the BrowserWindow ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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
« no previous file with comments | « chrome/browser/views/tabs/dragged_tab_controller.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/test_browser_window.h
===================================================================
--- chrome/test/test_browser_window.h (revision 8515)
+++ chrome/test/test_browser_window.h (working copy)
@@ -27,19 +27,16 @@
virtual void FlashFrame() {}
virtual void* GetNativeHandle() { return NULL; }
virtual BrowserWindowTesting* GetBrowserWindowTesting() { return NULL; }
- virtual TabStrip* GetTabStrip() const {
- return const_cast<TabStrip*>(&tab_strip_);
- }
virtual StatusBubble* GetStatusBubble() { return NULL; }
virtual void SelectedTabToolbarSizeChanged(bool is_animating) {}
virtual void UpdateTitleBar() {}
virtual void UpdateLoadingAnimations(bool should_animate) {}
+ virtual void SetStarredState(bool is_starred) {}
virtual gfx::Rect GetNormalBounds() const { return gfx::Rect(); }
virtual bool IsMaximized() { return false; }
- virtual ToolbarStarToggle* GetStarButton() const { return NULL; }
virtual LocationBarView* GetLocationBarView() const { return NULL; }
- virtual GoButton* GetGoButton() const { return NULL; }
virtual BookmarkBarView* GetBookmarkBarView() { return NULL; }
+ virtual void UpdateStopGoState(bool is_loading) {}
virtual void UpdateToolbar(TabContents* contents,
bool should_restore_state) {}
virtual void FocusToolbar() {}
@@ -47,6 +44,8 @@
virtual void ToggleBookmarkBar() {}
virtual void ShowAboutChromeDialog() {}
virtual void ShowBookmarkManager() {}
+ virtual bool IsBookmarkBubbleVisible() const { return false; }
+ virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) {}
virtual void ShowReportBugDialog() {}
virtual void ShowClearBrowsingDataDialog() {}
virtual void ShowImportDialog() {}
« no previous file with comments | « chrome/browser/views/tabs/dragged_tab_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698