diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-05 02:12:37 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-05 02:12:37 +0000 |
commit | 287646f556b842dfd7dbebf1659c1ccbf8d90686 (patch) | |
tree | 0ac3b9e7383179fc0cd950e32683dde11a325da9 /chrome/browser/browser_window.h | |
parent | 556bd768bd40bb831086a04707613cb7f88601a2 (diff) | |
download | chromium_src-287646f556b842dfd7dbebf1659c1ccbf8d90686.zip chromium_src-287646f556b842dfd7dbebf1659c1ccbf8d90686.tar.gz chromium_src-287646f556b842dfd7dbebf1659c1ccbf8d90686.tar.bz2 |
Show only one app menu. Cole pointed out that ChromeOS currently has two almost identical app menu.
This CL will toggle app menu depending on the status of toolbar.
- This is only for toolkit views build as gtk version does not toggle toolbar.
- The menu contnets are not fully sync'ed. We need some refactoring, when
we fully migrate to views.
Review URL: http://codereview.chromium.org/366010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31061 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_window.h')
-rw-r--r-- | chrome/browser/browser_window.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/browser_window.h b/chrome/browser/browser_window.h index e1a59a4..2ba45da 100644 --- a/chrome/browser/browser_window.h +++ b/chrome/browser/browser_window.h @@ -139,6 +139,9 @@ class BrowserWindow { // Returns whether the bookmark bar is visible or not. virtual bool IsBookmarkBarVisible() const = 0; + // Returns whether the tool bar is visible or not. + virtual bool IsToolbarVisible() const = 0; + // Returns the rect where the resize corner should be drawn by the render // widget host view (on top of what the renderer returns). We return an empty // rect to identify that there shouldn't be a resize corner (in the cases |