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

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

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.cc
diff --git a/chrome/browser/ui/bookmarks/bookmark_utils.cc b/chrome/browser/ui/bookmarks/bookmark_utils.cc
index 08cb2c7768f5110b6cdece9581e39f286f85baa7..ee21fb4c2151b77d7d271fdf9688c322a95524c4 100644
--- a/chrome/browser/ui/bookmarks/bookmark_utils.cc
+++ b/chrome/browser/ui/bookmarks/bookmark_utils.cc
@@ -294,4 +294,11 @@ bool ShouldShowAppsShortcutInBookmarkBar(
profile->GetPrefs()->GetBoolean(prefs::kShowAppsShortcutInBookmarkBar);
}
+bool ShouldShowBookmarkPageMenuItem(Profile* profile) {
+ // TODO(wittman): implement me!
+ // See crrev.com/148203014 for a working implementation.
+ // The previous CL requires crrev.com/143493005 to land first.
+ return true;
+}
+
} // namespace chrome

Powered by Google App Engine
This is Rietveld 408576698