summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/frame/browser_view2.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/frame/browser_view2.h')
-rw-r--r--chrome/browser/views/frame/browser_view2.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/browser/views/frame/browser_view2.h b/chrome/browser/views/frame/browser_view2.h
index 54e3fa6..3a7fdec 100644
--- a/chrome/browser/views/frame/browser_view2.h
+++ b/chrome/browser/views/frame/browser_view2.h
@@ -34,6 +34,7 @@
#include "chrome/browser/browser_window.h"
#include "chrome/browser/tabs/tab_strip_model.h"
#include "chrome/browser/views/frame/browser_frame.h"
+#include "chrome/common/pref_member.h"
#include "chrome/views/client_view.h"
#include "chrome/views/window_delegate.h"
@@ -74,6 +75,10 @@ class BrowserView2 : public BrowserWindow,
bool IsToolbarVisible() const;
bool IsTabStripVisible() const;
+ // Returns true if the profile associated with this Browser window is
+ // off the record.
+ bool IsOffTheRecord() const;
+
// Handle the specified |accelerator| being pressed.
bool AcceleratorPressed(const ChromeViews::Accelerator& accelerator);
@@ -269,6 +274,9 @@ class BrowserView2 : public BrowserWindow,
// A mapping between accelerators and commands.
scoped_ptr<std::map<ChromeViews::Accelerator, int>> accelerator_table_;
+ // A PrefMember to track the "always show bookmark bar" pref.
+ BooleanPrefMember show_bookmark_bar_pref_;
+
// True if we have already been initialized.
bool initialized_;