summaryrefslogtreecommitdiffstats
path: root/chrome/test
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-23 20:37:29 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-23 20:37:29 +0000
commitb7ca4e69c194f4392fd0d7749221152bee6c6a4f (patch)
treeea87a258f659cde6c748b54e39ce0fc66c70c3fd /chrome/test
parenta3e4dd79aa7550b6a43ec1fb87e1026ec524f7d5 (diff)
downloadchromium_src-b7ca4e69c194f4392fd0d7749221152bee6c6a4f.zip
chromium_src-b7ca4e69c194f4392fd0d7749221152bee6c6a4f.tar.gz
chromium_src-b7ca4e69c194f4392fd0d7749221152bee6c6a4f.tar.bz2
Don't expose the go and star button views directly through the BrowserWindow interface (for porting).
Review URL: http://codereview.chromium.org/18540 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8572 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
-rw-r--r--chrome/test/test_browser_window.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/chrome/test/test_browser_window.h b/chrome/test/test_browser_window.h
index 920490b..901c12b 100644
--- a/chrome/test/test_browser_window.h
+++ b/chrome/test/test_browser_window.h
@@ -27,19 +27,16 @@ class TestBrowserWindow : public BrowserWindow {
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 @@ class TestBrowserWindow : public BrowserWindow {
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() {}