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

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: Make sure changes only apply to OSX. 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
« no previous file with comments | « no previous file | chrome/browser/ui/bookmarks/bookmark_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 efb9a20c757377235a0f3a8cfc8aa407acef7b8d..ee191c9604b98dcc1352b894ef867f66562f3810 100644
--- a/chrome/browser/ui/bookmarks/bookmark_utils.h
+++ b/chrome/browser/ui/bookmarks/bookmark_utils.h
@@ -115,9 +115,10 @@ bool ShouldShowAppsShortcutInBookmarkBar(
// Indicates how the bookmark shortcut has been changed by |extension|, if at
// all.
-BookmarkShortcutDisposition GetBookmarkShortcutDisposition(
- const extensions::CommandService* command_service,
- const extensions::Extension* extension);
+BookmarkShortcutDisposition GetBookmarkShortcutDisposition(Profile* profile);
+
+// Whether the menu item to bookmark a page should be shown.
+bool ShouldShowBookmarkPageMenuItem(Profile* profile);
} // namespace chrome
« no previous file with comments | « no previous file | chrome/browser/ui/bookmarks/bookmark_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698