Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(597)

Unified Diff: chrome/browser/ui/bookmarks/bookmark_utils.h

Issue 161293002: mac: Allows extensions to hide the bookmark page menu item. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/bookmarks/bookmark_utils.h
diff --git a/chrome/browser/ui/bookmarks/bookmark_utils.h b/chrome/browser/ui/bookmarks/bookmark_utils.h
index 4bc98663165c65789ab76729f316849a4a39f6a6..fc5e05ec16bb0373260ec78fb74d46d819c3cf51 100644
--- a/chrome/browser/ui/bookmarks/bookmark_utils.h
+++ b/chrome/browser/ui/bookmarks/bookmark_utils.h
@@ -101,6 +101,11 @@ bool ShouldShowAppsShortcutInBookmarkBar(
Profile* profile,
chrome::HostDesktopType host_desktop_type);
+// Returns whether the bookmark page menu item should be shown.
erikchen 2014/02/12 21:29:33 wittman@ suggested this location for this function
+// If this function returns false, the corresponding accelerator should also
+// be disabled.
+bool ShouldShowBookmarkPageMenuItem(Profile* profile);
+
} // namespace chrome
#endif // CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_UTILS_H_
« no previous file with comments | « no previous file | chrome/browser/ui/bookmarks/bookmark_utils.cc » ('j') | chrome/browser/ui/cocoa/browser_window_controller.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698