summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.cc
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-06 21:21:34 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-06 21:21:34 +0000
commit6d8924d8cc89c3129e51e2067e7911b960a7a7d8 (patch)
tree119e8f849305df17951ad5d16fef830703f5486f /chrome/browser/browser.cc
parent1e89d3a996da488a3145590e86049dca233fed29 (diff)
downloadchromium_src-6d8924d8cc89c3129e51e2067e7911b960a7a7d8.zip
chromium_src-6d8924d8cc89c3129e51e2067e7911b960a7a7d8.tar.gz
chromium_src-6d8924d8cc89c3129e51e2067e7911b960a7a7d8.tar.bz2
First implementation of a bookmark bar.
Currently, the bookmark bar only reads state on startup so to see this work, you have to go to a page, click the star button (that isn't hooked up yet either), and then restart chromium. Review URL: http://codereview.chromium.org/60071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13193 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.cc')
-rw-r--r--chrome/browser/browser.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
index 5d2fa70..727d128 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -1021,12 +1021,10 @@ void Browser::OpenBugReportDialog() {
#endif // #if defined(OS_WIN)
-#if defined(OS_WIN) || defined(OS_MACOSX)
void Browser::ToggleBookmarkBar() {
UserMetrics::RecordAction(L"ShowBookmarksBar", profile_);
window_->ToggleBookmarkBar();
}
-#endif
#if defined(OS_WIN)
void Browser::OpenBookmarkManager() {
@@ -1271,9 +1269,7 @@ void Browser::ExecuteCommandWithDisposition(
case IDC_REPORT_BUG: OpenBugReportDialog(); break;
#endif
-#if defined(OS_WIN) || defined(OS_MACOSX)
case IDC_SHOW_BOOKMARK_BAR: ToggleBookmarkBar(); break;
-#endif
#if defined(OS_WIN)
case IDC_SHOW_BOOKMARK_MANAGER: OpenBookmarkManager(); break;