From d8f16ae0347635889c104a48269805c01901fc05 Mon Sep 17 00:00:00 2001 From: "finnur@chromium.org" Date: Sun, 30 Aug 2009 03:47:26 +0000 Subject: Experiment with dislodging the Extension Shelf and having it only appear on the New Tab page. BUG=http://crbug.com/20415 TEST=With the extension toolstrip visible, go to the New Tab page and press Ctrl + Alt + B. Watch the toolstrip merge into the New Tab page and back again into a separate toolstrip (when you press Ctrl + Alt + B again). Also, when you do this on a regular webpage (as opposed to NTP) this should toggle the toolstrip visiblity. Review URL: http://codereview.chromium.org/175017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24864 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/browser_window.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'chrome/browser/browser_window.h') diff --git a/chrome/browser/browser_window.h b/chrome/browser/browser_window.h index a1dbe76..4a5c5ac 100644 --- a/chrome/browser/browser_window.h +++ b/chrome/browser/browser_window.h @@ -75,6 +75,9 @@ class BrowserWindow { // BrowserView. virtual void SelectedTabToolbarSizeChanged(bool is_animating) = 0; + // Notification for the Extension Shelf changing its size. + virtual void SelectedTabExtensionShelfSizeChanged() = 0; + // Inform the frame that the selected tab favicon or title has changed. Some // frames may need to refresh their title bar. virtual void UpdateTitleBar() = 0; @@ -147,6 +150,9 @@ class BrowserWindow { // Shows or hides the bookmark bar depending on its current visibility. virtual void ToggleBookmarkBar() = 0; + // Shows or hides the extension shelf depending on its current visibility. + virtual void ToggleExtensionShelf() = 0; + // Shows the About Chrome dialog box. virtual void ShowAboutChromeDialog() = 0; -- cgit v1.1