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

Unified Diff: chrome/browser/ui/cocoa/location_bar/page_action_decoration.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
Index: chrome/browser/ui/cocoa/location_bar/page_action_decoration.h
diff --git a/chrome/browser/ui/cocoa/location_bar/page_action_decoration.h b/chrome/browser/ui/cocoa/location_bar/page_action_decoration.h
index 9e99c87781635d957945eadde6433552a86e1a0b..3096a017901cb8faeeffe2db7a463f63386045bc 100644
--- a/chrome/browser/ui/cocoa/location_bar/page_action_decoration.h
+++ b/chrome/browser/ui/cocoa/location_bar/page_action_decoration.h
@@ -60,6 +60,9 @@ class PageActionDecoration : public ImageDecoration,
virtual NSString* GetToolTip() OVERRIDE;
virtual NSMenu* GetMenu() OVERRIDE;
+ // Activate the page action in its default frame.
+ void ActivatePageAction();
+
private:
// Activate the page action in the given |frame|.
bool ActivatePageAction(NSRect frame);

Powered by Google App Engine
This is Rietveld 408576698