Index: chrome/common/extensions/api/chrome_web_view_internal.json |
diff --git a/chrome/common/extensions/api/chrome_web_view_internal.json b/chrome/common/extensions/api/chrome_web_view_internal.json |
index 69729c5d6a094c9c7f1ce0e3bbb5cd0abe25f111..3c57b71529bd6a54db469ed3990d23f87ac158dc 100644 |
--- a/chrome/common/extensions/api/chrome_web_view_internal.json |
+++ b/chrome/common/extensions/api/chrome_web_view_internal.json |
@@ -288,6 +288,25 @@ |
"type": "function", |
"nodoc": true, |
"$ref": "contextMenusInternal.onClicked" |
+ }, |
+ { |
+ "name": "onShow", |
+ "type": "function", |
+ "description": "Fired when context menu is about to be shown. Provides the ability to cancel the context menu. This can be done by calling <code>event.preventDefault()</code> from this handler.", |
Yoyo Zhou
2015/03/26 20:19:47
You can delete ". This can be done"
lazyboy
2015/03/26 20:32:21
Done.
|
+ "nodoc": true, |
+ "parameters": [ |
+ { |
+ "name": "event", |
+ "type": "object", |
+ "properties": { |
+ "preventDefault": { |
+ "type": "function", |
+ "parameters": [ |
+ ] |
+ } |
+ } |
+ } |
+ ] |
} |
] |
} |