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

Side by Side Diff: chrome/common/extensions/api/bookmark_manager_private.json

Issue 119233004: Add multi-level undo/redo functions to Bookmark Manager Private API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Indentation fixes. Created 6 years, 11 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/extensions/extension_function_histogram_value.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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": "bookmarkManagerPrivate", 7 "namespace": "bookmarkManagerPrivate",
8 "description": "none", 8 "description": "none",
9 "nodoc": true, 9 "nodoc": true,
10 "types": [ 10 "types": [
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 "description": "The meta info to set", 295 "description": "The meta info to set",
296 "type": "string" 296 "type": "string"
297 }, 297 },
298 { 298 {
299 "name": "callback", 299 "name": "callback",
300 "type": "function", 300 "type": "function",
301 "optional": true, 301 "optional": true,
302 "parameters": [] 302 "parameters": []
303 } 303 }
304 ] 304 ]
305 },
306 {
307 "name": "undo",
308 "type": "function",
309 "description": "Perform an undo of the last change to the bookmark model ",
miket_OOO 2014/01/07 17:11:24 The rest of the file's descriptions are in third-p
310 "nodoc": "true",
311 "parameters": []
312 },
313 {
314 "name": "redo",
315 "type": "function",
316 "description": "Redo the change to the bookmark model that was undone",
317 "nodoc": "true",
318 "parameters": []
319 },
320 {
321 "name": "getUndoInfo",
322 "type": "function",
323 "description": "Get information for the undo if available",
324 "nodoc": "true",
325 "parameters": [
326 {
327 "type": "function",
328 "name": "callback",
329 "parameters": [
330 {
331 "name": "result",
332 "type": "object",
333 "properties": {
334 "enabled" : {"type": "boolean", "description": "Whether there is an action to undo"},
335 "label" : {"type": "string", "description": "The i18n label to use for the undo action"}
336 }
337 }
338 ]
339 }
340 ]
341 },
342 {
343 "name": "getRedoInfo",
344 "type": "function",
345 "description": "Get information for the redo if available",
346 "nodoc": "true",
347 "parameters": [
348 {
349 "type": "function",
350 "name": "callback",
351 "parameters": [
352 {
353 "name": "result",
354 "type": "object",
355 "properties": {
356 "enabled" : {"type": "boolean", "description": "Whether there is an action to redo"},
357 "label" : {"type": "string", "description": "The i18n label to use for the redo action"}
358 }
359 }
360 ]
361 }
362 ]
305 } 363 }
306 ], 364 ],
307 "events": [ 365 "events": [
308 { 366 {
309 "name": "onDragEnter", 367 "name": "onDragEnter",
310 "type": "function", 368 "type": "function",
311 "description": "Fired when dragging bookmarks over the document", 369 "description": "Fired when dragging bookmarks over the document",
312 "parameters": [ 370 "parameters": [
313 {"name": "bookmarkNodeData", "$ref": "BookmarkNodeData"} 371 {"name": "bookmarkNodeData", "$ref": "BookmarkNodeData"}
314 ] 372 ]
(...skipping 10 matching lines...) Expand all
325 "name": "onDrop", 383 "name": "onDrop",
326 "type": "function", 384 "type": "function",
327 "description": "Fired when the user drops bookmarks on the document", 385 "description": "Fired when the user drops bookmarks on the document",
328 "parameters": [ 386 "parameters": [
329 {"name": "bookmarkNodeData", "$ref": "BookmarkNodeData"} 387 {"name": "bookmarkNodeData", "$ref": "BookmarkNodeData"}
330 ] 388 ]
331 } 389 }
332 ] 390 ]
333 } 391 }
334 ] 392 ]
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_function_histogram_value.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698