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

Unified Diff: chrome/browser/ui/cocoa/browser_window_cocoa.mm

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 | « chrome/browser/ui/bookmarks/bookmark_utils.cc ('k') | chrome/browser/ui/cocoa/browser_window_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/browser_window_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/browser_window_cocoa.mm b/chrome/browser/ui/cocoa/browser_window_cocoa.mm
index fb0a9e16e934e00f403e28a473f1803cd7b2dd58..48705b16ad4ed0fac4ba848c976260ce83d43e1a 100644
--- a/chrome/browser/ui/cocoa/browser_window_cocoa.mm
+++ b/chrome/browser/ui/cocoa/browser_window_cocoa.mm
@@ -758,10 +758,10 @@ BrowserWindowCocoa::GetRenderViewHeightInsetWithDetachedBookmarkBar() {
void BrowserWindowCocoa::ShowPageActionPopup(
const extensions::Extension* extension) {
- NOTIMPLEMENTED();
+ [cocoa_controller() activatePageAction:extension->id()];
}
void BrowserWindowCocoa::ShowBrowserActionPopup(
const extensions::Extension* extension) {
- NOTIMPLEMENTED();
+ [cocoa_controller() activateBrowserAction:extension->id()];
}
« no previous file with comments | « chrome/browser/ui/bookmarks/bookmark_utils.cc ('k') | chrome/browser/ui/cocoa/browser_window_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698