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

Unified Diff: trunk/src/chrome/browser/extensions/menu_manager.h

Issue 455023002: Revert 288418 "Extend contextMenus API to support browser/page a..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 4 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: trunk/src/chrome/browser/extensions/menu_manager.h
===================================================================
--- trunk/src/chrome/browser/extensions/menu_manager.h (revision 288421)
+++ trunk/src/chrome/browser/extensions/menu_manager.h (working copy)
@@ -94,9 +94,7 @@
VIDEO = 64,
AUDIO = 128,
FRAME = 256,
- LAUNCHER = 512,
- BROWSER_ACTION = 1024,
- PAGE_ACTION = 2048
+ LAUNCHER = 512
};
// An item can be only one of these types.
@@ -169,7 +167,7 @@
const Id& id() const { return id_; }
Id* parent_id() const { return parent_id_.get(); }
int child_count() const { return children_.size(); }
- const ContextList& contexts() const { return contexts_; }
+ ContextList contexts() const { return contexts_; }
Type type() const { return type_; }
bool checked() const { return checked_; }
bool enabled() const { return enabled_; }

Powered by Google App Engine
This is Rietveld 408576698