summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/bookmark_bar_view.h
diff options
context:
space:
mode:
authorfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-13 19:31:14 +0000
committerfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-13 19:31:14 +0000
commitc34cf767ba59da82ec7b1d377b31b64be4e6bcbd (patch)
tree1194ea5f8b5e9a0c1e9dbbf57e717ccdb327925b /chrome/browser/views/bookmark_bar_view.h
parentb9214d4348aed078b9c4ee4660183bb7a3f3ba36 (diff)
downloadchromium_src-c34cf767ba59da82ec7b1d377b31b64be4e6bcbd.zip
chromium_src-c34cf767ba59da82ec7b1d377b31b64be4e6bcbd.tar.gz
chromium_src-c34cf767ba59da82ec7b1d377b31b64be4e6bcbd.tar.bz2
The BookmarkBarView should not be visible for extension apps.
BUG=http://crbug.com/44076 TEST=Open an extensio app and make sure that the bookmark bar never becomes visible. Review URL: http://codereview.chromium.org/2090002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47177 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/bookmark_bar_view.h')
-rw-r--r--chrome/browser/views/bookmark_bar_view.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/views/bookmark_bar_view.h b/chrome/browser/views/bookmark_bar_view.h
index b23641b..9348944 100644
--- a/chrome/browser/views/bookmark_bar_view.h
+++ b/chrome/browser/views/bookmark_bar_view.h
@@ -5,6 +5,8 @@
#ifndef CHROME_BROWSER_VIEWS_BOOKMARK_BAR_VIEW_H_
#define CHROME_BROWSER_VIEWS_BOOKMARK_BAR_VIEW_H_
+#include <set>
+
#include "app/slide_animation.h"
#include "chrome/browser/bookmarks/bookmark_drag_data.h"
#include "chrome/browser/bookmarks/bookmark_model_observer.h"
@@ -152,6 +154,9 @@ class BookmarkBarView : public DetachableToolbarView,
// True if we're on a page where the bookmarks bar is always visible.
bool OnNewTabPage() const;
+ // True if we're on an extension apps page.
+ bool OnAppsPage() const;
+
// How much we want the bookmark bar to overlap the toolbar. If |return_max|
// is true, we return the maximum overlap rather than the current overlap.
int GetToolbarOverlap(bool return_max);