Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 [ | 5 [ |
| 6 { | 6 { |
| 7 "namespace": "chromeWebViewInternal", | 7 "namespace": "chromeWebViewInternal", |
| 8 "description": "none", | 8 "description": "none", |
| 9 "compiler_options": { | 9 "compiler_options": { |
| 10 "implemented_in": "chrome/browser/extensions/api/web_view/chrome_web_view_ internal_api.h" | 10 "implemented_in": "chrome/browser/extensions/api/web_view/chrome_web_view_ internal_api.h" |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 281 } | 281 } |
| 282 ] | 282 ] |
| 283 } | 283 } |
| 284 ], | 284 ], |
| 285 "events": [ | 285 "events": [ |
| 286 { | 286 { |
| 287 "name": "onClicked", | 287 "name": "onClicked", |
| 288 "type": "function", | 288 "type": "function", |
| 289 "nodoc": true, | 289 "nodoc": true, |
| 290 "$ref": "contextMenusInternal.onClicked" | 290 "$ref": "contextMenusInternal.onClicked" |
| 291 }, | |
| 292 { | |
| 293 "name": "onShow", | |
| 294 "type": "function", | |
| 295 "description": "Event fired when context menu is about to be shown, prov ides ability to cancel context menu by preventDefault.", | |
|
Yoyo Zhou
2015/03/26 19:50:44
Please rewrite this:
Fired when context menu is a
lazyboy
2015/03/26 20:13:07
Done.
| |
| 296 "nodoc": true, | |
| 297 "parameters": [ | |
| 298 { | |
| 299 "name": "event", | |
| 300 "type": "object", | |
| 301 "properties": { | |
| 302 "preventDefault": { | |
| 303 "type": "function", | |
| 304 "parameters": [ | |
| 305 ] | |
| 306 } | |
| 307 } | |
| 308 } | |
| 309 ] | |
| 291 } | 310 } |
| 292 ] | 311 ] |
| 293 } | 312 } |
| 294 ] | 313 ] |
| OLD | NEW |