| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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": "experimental.bookmarkManager", | 7 "namespace": "experimental.bookmarkManager", |
| 8 "nodoc": true, | 8 "nodoc": true, |
| 9 "dependencies": [ "bookmarks" ], | 9 "dependencies": [ "bookmarks" ], |
| 10 "types": [ | 10 "types": [ |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 { | 202 { |
| 203 "name": "canEdit", | 203 "name": "canEdit", |
| 204 "type": "function", | 204 "type": "function", |
| 205 "description": "Whether bookmarks can be modified", | 205 "description": "Whether bookmarks can be modified", |
| 206 "nodoc": "true", | 206 "nodoc": "true", |
| 207 "parameters": [ | 207 "parameters": [ |
| 208 {"type": "function", "name": "callback", "parameters": [ | 208 {"type": "function", "name": "callback", "parameters": [ |
| 209 {"name": "result", "type": "boolean"} | 209 {"name": "result", "type": "boolean"} |
| 210 ]} | 210 ]} |
| 211 ] | 211 ] |
| 212 }, |
| 213 { |
| 214 "name": "canOpenNewWindows", |
| 215 "type": "function", |
| 216 "description": "Whether bookmarks can be opened in new windows", |
| 217 "nodoc": "true", |
| 218 "parameters": [ |
| 219 {"type": "function", "name": "callback", "parameters": [ |
| 220 {"name": "result", "type": "boolean"} |
| 221 ]} |
| 222 ] |
| 212 } | 223 } |
| 213 ], | 224 ], |
| 214 "events": [ | 225 "events": [ |
| 215 { | 226 { |
| 216 "name": "onDragEnter", | 227 "name": "onDragEnter", |
| 217 "type": "function", | 228 "type": "function", |
| 218 "description": "Fired when dragging bookmarks over the document", | 229 "description": "Fired when dragging bookmarks over the document", |
| 219 "parameters": [ | 230 "parameters": [ |
| 220 {"name": "bookmarkNodeData", "$ref": "BookmarkNodeData"} | 231 {"name": "bookmarkNodeData", "$ref": "BookmarkNodeData"} |
| 221 ] | 232 ] |
| (...skipping 10 matching lines...) Expand all Loading... |
| 232 "name": "onDrop", | 243 "name": "onDrop", |
| 233 "type": "function", | 244 "type": "function", |
| 234 "description": "Fired when the user drops bookmarks on the document", | 245 "description": "Fired when the user drops bookmarks on the document", |
| 235 "parameters": [ | 246 "parameters": [ |
| 236 {"name": "bookmarkNodeData", "$ref": "BookmarkNodeData"} | 247 {"name": "bookmarkNodeData", "$ref": "BookmarkNodeData"} |
| 237 ] | 248 ] |
| 238 } | 249 } |
| 239 ] | 250 ] |
| 240 } | 251 } |
| 241 ] | 252 ] |
| OLD | NEW |