Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: safari/background.js

Issue 5203617959116800: Fixed regression: Context menu clickhide broken (Closed)
Patch Set: Created Dec. 9, 2013, 4:29 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/background.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: safari/background.js
===================================================================
--- a/safari/background.js
+++ b/safari/background.js
@@ -521,6 +521,11 @@
ext.onMessage = new MessageEventTarget(safari.application);
+ // TODO: Implement context menu
+ ext.contextMenus = {
+ create: function(title, contexts, onclick) {},
+ removeAll: function(callback) {}
+ };
// Safari will load the bubble once, and then show it everytime the icon is
// clicked. While Chrome loads it everytime you click the icon. So in order to
« no previous file with comments | « chrome/background.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld