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

Side by Side Diff: third_party/WebKit/Source/core/inspector/browser_protocol.json

Issue 2817593004: [DevTools] Move eye dropper functionality from protocol to embedder (Closed)
Patch Set: rebased Created 3 years, 8 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
OLDNEW
1 { 1 {
2 "version": { "major": "1", "minor": "2" }, 2 "version": { "major": "1", "minor": "2" },
3 "domains": [{ 3 "domains": [{
4 "domain": "Inspector", 4 "domain": "Inspector",
5 "experimental": true, 5 "experimental": true,
6 "types": [], 6 "types": [],
7 "commands": [ 7 "commands": [
8 { 8 {
9 "name": "enable", 9 "name": "enable",
10 "description": "Enables inspector domain notifications." 10 "description": "Enables inspector domain notifications."
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 }, 462 },
463 { 463 {
464 "name": "handleJavaScriptDialog", 464 "name": "handleJavaScriptDialog",
465 "description": "Accepts or dismisses a JavaScript initiated dial og (alert, confirm, prompt, or onbeforeunload).", 465 "description": "Accepts or dismisses a JavaScript initiated dial og (alert, confirm, prompt, or onbeforeunload).",
466 "parameters": [ 466 "parameters": [
467 { "name": "accept", "type": "boolean", "description": "Wheth er to accept or dismiss the dialog." }, 467 { "name": "accept", "type": "boolean", "description": "Wheth er to accept or dismiss the dialog." },
468 { "name": "promptText", "type": "string", "optional": true, "description": "The text to enter into the dialog prompt before accepting. Used only if this is a prompt dialog." } 468 { "name": "promptText", "type": "string", "optional": true, "description": "The text to enter into the dialog prompt before accepting. Used only if this is a prompt dialog." }
469 ] 469 ]
470 }, 470 },
471 { 471 {
472 "name": "setColorPickerEnabled",
473 "parameters": [
474 { "name": "enabled", "type": "boolean", "description": "Show s / hides color picker" }
475 ],
476 "description": "Shows / hides color picker",
477 "experimental": true
478 },
479 {
480 "name": "configureOverlay", 472 "name": "configureOverlay",
481 "parameters": [ 473 "parameters": [
482 { "name": "suspended", "type": "boolean", "optional": true, "description": "Whether overlay should be suspended and not consume any resource s." }, 474 { "name": "suspended", "type": "boolean", "optional": true, "description": "Whether overlay should be suspended and not consume any resource s." },
483 { "name": "message", "type": "string", "optional": true, "de scription": "Overlay message to display." } 475 { "name": "message", "type": "string", "optional": true, "de scription": "Overlay message to display." }
484 ], 476 ],
485 "experimental": true, 477 "experimental": true,
486 "description": "Configures overlay." 478 "description": "Configures overlay."
487 }, 479 },
488 { 480 {
489 "name": "getAppManifest", 481 "name": "getAppManifest",
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
626 }, 618 },
627 { 619 {
628 "name": "screencastVisibilityChanged", 620 "name": "screencastVisibilityChanged",
629 "description": "Fired when the page with currently enabled scree ncast was shown or hidden </code>.", 621 "description": "Fired when the page with currently enabled scree ncast was shown or hidden </code>.",
630 "parameters": [ 622 "parameters": [
631 { "name": "visible", "type": "boolean", "description": "True if the page is visible." } 623 { "name": "visible", "type": "boolean", "description": "True if the page is visible." }
632 ], 624 ],
633 "experimental": true 625 "experimental": true
634 }, 626 },
635 { 627 {
636 "name": "colorPicked",
637 "description": "Fired when a color has been picked.",
638 "parameters": [
639 { "name": "color", "$ref": "DOM.RGBA", "description": "RGBA of the picked color." }
640 ],
641 "experimental": true
642 },
643 {
644 "name": "interstitialShown", 628 "name": "interstitialShown",
645 "description": "Fired when interstitial page was shown" 629 "description": "Fired when interstitial page was shown"
646 }, 630 },
647 { 631 {
648 "name": "interstitialHidden", 632 "name": "interstitialHidden",
649 "description": "Fired when interstitial page was hidden" 633 "description": "Fired when interstitial page was hidden"
650 }, 634 },
651 { 635 {
652 "name": "navigationRequested", 636 "name": "navigationRequested",
653 "description": "Fired when a navigation is started if navigation throttles are enabled. The navigation will be deferred until processNavigation is called.", 637 "description": "Fired when a navigation is started if navigation throttles are enabled. The navigation will be deferred until processNavigation is called.",
(...skipping 3994 matching lines...) Expand 10 before | Expand all | Expand 10 after
4648 "parameters": [ 4632 "parameters": [
4649 { "name": "windowId", "$ref": "WindowID", "description": "Br owser window id." } 4633 { "name": "windowId", "$ref": "WindowID", "description": "Br owser window id." }
4650 ], 4634 ],
4651 "returns": [ 4635 "returns": [
4652 { "name": "bounds", "$ref": "Bounds", "description": "Bounds information of the window. When window state is 'minimized', the restored windo w position and size are returned." } 4636 { "name": "bounds", "$ref": "Bounds", "description": "Bounds information of the window. When window state is 'minimized', the restored windo w position and size are returned." }
4653 ] 4637 ]
4654 } 4638 }
4655 ] 4639 ]
4656 }] 4640 }]
4657 } 4641 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698