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

Side by Side Diff: inspector/Inspector.json

Issue 14107003: Update WebKit IDLs after chrome roll. (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: reupload again. Created 7 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 | Annotate | Revision Log
« no previous file with comments | « inspector/InjectedScriptHost.idl ('k') | inspector/compile-front-end.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "version": { "major": "1", "minor": "0" }, 2 "version": { "major": "1", "minor": "0" },
3 "domains": [{ 3 "domains": [{
4 "domain": "Inspector", 4 "domain": "Inspector",
5 "hidden": true, 5 "hidden": 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 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 { 300 {
301 "name": "setDocumentContent", 301 "name": "setDocumentContent",
302 "description": "Sets given markup as the document's HTML.", 302 "description": "Sets given markup as the document's HTML.",
303 "parameters": [ 303 "parameters": [
304 { "name": "frameId", "$ref": "Network.FrameId", "description ": "Frame id to set HTML for." }, 304 { "name": "frameId", "$ref": "Network.FrameId", "description ": "Frame id to set HTML for." },
305 { "name": "html", "type": "string", "description": "HTML con tent to set." } 305 { "name": "html", "type": "string", "description": "HTML con tent to set." }
306 ], 306 ],
307 "hidden": true 307 "hidden": true
308 }, 308 },
309 { 309 {
310 "name": "canOverrideDeviceMetrics",
311 "description": "Checks whether <code>setDeviceMetricsOverride</c ode> can be invoked.",
312 "returns": [
313 { "name": "result", "type": "boolean", "description": "If tr ue, <code>setDeviceMetricsOverride</code> can safely be invoked on the agent." }
314 ],
315 "hidden": true
316 },
317 {
318 "name": "setDeviceMetricsOverride", 310 "name": "setDeviceMetricsOverride",
319 "description": "Overrides the values of device screen dimensions (window.screen.width, window.screen.height, window.innerWidth, window.innerHeig ht, and \"device-width\"/\"device-height\"-related CSS media query results) and the font scale factor.", 311 "description": "Overrides the values of device screen dimensions (window.screen.width, window.screen.height, window.innerWidth, window.innerHeig ht, and \"device-width\"/\"device-height\"-related CSS media query results) and the font scale factor.",
320 "parameters": [ 312 "parameters": [
321 { "name": "width", "type": "integer", "description": "Overri ding width value in pixels (minimum 0, maximum 10000000). 0 disables the overrid e." }, 313 { "name": "width", "type": "integer", "description": "Overri ding width value in pixels (minimum 0, maximum 10000000). 0 disables the overrid e." },
322 { "name": "height", "type": "integer", "description": "Overr iding height value in pixels (minimum 0, maximum 10000000). 0 disables the overr ide." }, 314 { "name": "height", "type": "integer", "description": "Overr iding height value in pixels (minimum 0, maximum 10000000). 0 disables the overr ide." },
323 { "name": "fontScaleFactor", "type": "number", "description" : "Overriding font scale factor value (must be positive). 1 disables the overrid e." }, 315 { "name": "fontScaleFactor", "type": "number", "description" : "Overriding font scale factor value (must be positive). 1 disables the overrid e." },
324 { "name": "fitWindow", "type": "boolean", "description": "Wh ether a view that exceeds the available browser window area should be scaled dow n to fit." } 316 { "name": "fitWindow", "type": "boolean", "description": "Wh ether a view that exceeds the available browser window area should be scaled dow n to fit." }
325 ], 317 ],
326 "hidden": true 318 "hidden": true
327 }, 319 },
328 { 320 {
329 "name": "setShowPaintRects", 321 "name": "setShowPaintRects",
330 "description": "Requests that backend shows paint rectangles", 322 "description": "Requests that backend shows paint rectangles",
331 "parameters": [ 323 "parameters": [
332 { "name": "result", "type": "boolean", "description": "True for showing paint rectangles" } 324 { "name": "result", "type": "boolean", "description": "True for showing paint rectangles" }
333 ], 325 ],
334 "hidden": true 326 "hidden": true
335 }, 327 },
336 { 328 {
337 "name": "canShowDebugBorders",
338 "description": "Tells if backend supports debug borders on layer s",
339 "returns": [
340 { "name": "show", "type": "boolean", "description": "True if the debug borders can be shown" }
341 ],
342 "hidden": true
343 },
344 {
345 "name": "setShowDebugBorders", 329 "name": "setShowDebugBorders",
346 "description": "Requests that backend shows debug borders on lay ers", 330 "description": "Requests that backend shows debug borders on lay ers",
347 "parameters": [ 331 "parameters": [
348 { "name": "show", "type": "boolean", "description": "True fo r showing debug borders" } 332 { "name": "show", "type": "boolean", "description": "True fo r showing debug borders" }
349 ], 333 ],
350 "hidden": true 334 "hidden": true
351 }, 335 },
352 { 336 {
353 "name": "canShowFPSCounter", 337 "name": "canShowFPSCounter",
354 "description": "Tells if backend supports a FPS counter display" , 338 "description": "Tells if backend supports a FPS counter display" ,
(...skipping 2317 matching lines...) Expand 10 before | Expand all | Expand 10 after
2672 { "name": "maxCallStackDepth", "optional": true, "type": "in teger", "description": "Samples JavaScript stack traces up to <code>maxCallStack Depth</code>, defaults to 5." }, 2656 { "name": "maxCallStackDepth", "optional": true, "type": "in teger", "description": "Samples JavaScript stack traces up to <code>maxCallStack Depth</code>, defaults to 5." },
2673 { "name": "includeDomCounters", "optional": true, "type": "b oolean", "hidden": true, "description": "Whether DOM counters data should be inc luded into timeline events." }, 2657 { "name": "includeDomCounters", "optional": true, "type": "b oolean", "hidden": true, "description": "Whether DOM counters data should be inc luded into timeline events." },
2674 { "name": "includeNativeMemoryStatistics", "optional": true, "type": "boolean", "hidden": true, "description": "Whether native memory usage statistics should be reported as part of timeline events." } 2658 { "name": "includeNativeMemoryStatistics", "optional": true, "type": "boolean", "hidden": true, "description": "Whether native memory usage statistics should be reported as part of timeline events." }
2675 2659
2676 ], 2660 ],
2677 "description": "Starts capturing instrumentation events." 2661 "description": "Starts capturing instrumentation events."
2678 }, 2662 },
2679 { 2663 {
2680 "name": "stop", 2664 "name": "stop",
2681 "description": "Stops capturing instrumentation events." 2665 "description": "Stops capturing instrumentation events."
2682 },
2683 {
2684 "name": "supportsFrameInstrumentation",
2685 "returns": [
2686 { "name": "result", "type": "boolean", "description": "True if timeline supports frame instrumentation." }
2687 ],
2688 "hidden": true,
2689 "description": "Tells whether timeline agent supports frame inst rumentation."
2690 },
2691 {
2692 "name": "canMonitorMainThread",
2693 "returns": [
2694 { "name": "result", "type": "boolean", "description": "True if timeline supports main thread CPU utilization instrumentation." }
2695 ],
2696 "hidden": true,
2697 "description": "Tells whether timeline agent supports main threa d CPU utilization instrumentation."
2698 } 2666 }
2699 ], 2667 ],
2700 "events": [ 2668 "events": [
2701 { 2669 {
2702 "name": "eventRecorded", 2670 "name": "eventRecorded",
2703 "parameters": [ 2671 "parameters": [
2704 { "name": "record", "$ref": "TimelineEvent", "description": "Timeline event record data." } 2672 { "name": "record", "$ref": "TimelineEvent", "description": "Timeline event record data." }
2705 ], 2673 ],
2706 "description": "Fired for every instrumentation event while time line is started." 2674 "description": "Fired for every instrumentation event while time line is started."
2707 } 2675 }
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
2766 "type": "object", 2734 "type": "object",
2767 "properties": [ 2735 "properties": [
2768 { "name": "type", "type": "string", "enum": ["global", "loca l", "with", "closure", "catch"], "description": "Scope type." }, 2736 { "name": "type", "type": "string", "enum": ["global", "loca l", "with", "closure", "catch"], "description": "Scope type." },
2769 { "name": "object", "$ref": "Runtime.RemoteObject", "descrip tion": "Object representing the scope. For <code>global</code> and <code>with</c ode> scopes it represents the actual object; for the rest of the scopes, it is a rtificial transient object enumerating scope variables as its properties." } 2737 { "name": "object", "$ref": "Runtime.RemoteObject", "descrip tion": "Object representing the scope. For <code>global</code> and <code>with</c ode> scopes it represents the actual object; for the rest of the scopes, it is a rtificial transient object enumerating scope variables as its properties." }
2770 ], 2738 ],
2771 "description": "Scope description." 2739 "description": "Scope description."
2772 } 2740 }
2773 ], 2741 ],
2774 "commands": [ 2742 "commands": [
2775 { 2743 {
2776 "name": "causesRecompilation",
2777 "returns": [
2778 { "name": "result", "type": "boolean", "description": "True if enabling debugger causes scripts recompilation." }
2779 ],
2780 "hidden": true,
2781 "description": "Tells whether enabling debugger causes scripts r ecompilation."
2782 },
2783 {
2784 "name": "supportsSeparateScriptCompilationAndExecution",
2785 "returns": [
2786 { "name": "result", "type": "boolean", "description": "True if debugger supports separate script compilation and execution." }
2787 ],
2788 "hidden": true,
2789 "description": "Tells whether debugger supports separate script compilation and execution."
2790 },
2791 {
2792 "name": "enable", 2744 "name": "enable",
2793 "description": "Enables debugger for the given page. Clients sho uld not assume that the debugging has been enabled until the result for this com mand is received." 2745 "description": "Enables debugger for the given page. Clients sho uld not assume that the debugging has been enabled until the result for this com mand is received."
2794 }, 2746 },
2795 { 2747 {
2796 "name": "disable", 2748 "name": "disable",
2797 "description": "Disables debugger for given page." 2749 "description": "Disables debugger for given page."
2798 }, 2750 },
2799 { 2751 {
2800 "name": "setBreakpointsActive", 2752 "name": "setBreakpointsActive",
2801 "parameters": [ 2753 "parameters": [
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
2875 "returns": [ 2827 "returns": [
2876 { "name": "result", "type": "array", "items": { "$ref": "Pag e.SearchMatch" }, "description": "List of search matches." } 2828 { "name": "result", "type": "array", "items": { "$ref": "Pag e.SearchMatch" }, "description": "List of search matches." }
2877 ], 2829 ],
2878 "description": "Searches for given string in script content." 2830 "description": "Searches for given string in script content."
2879 }, 2831 },
2880 { 2832 {
2881 "name": "canSetScriptSource", 2833 "name": "canSetScriptSource",
2882 "returns": [ 2834 "returns": [
2883 { "name": "result", "type": "boolean", "description": "True if <code>setScriptSource</code> is supported." } 2835 { "name": "result", "type": "boolean", "description": "True if <code>setScriptSource</code> is supported." }
2884 ], 2836 ],
2885 "description": "Tells whether <code>setScriptSource</code> is su pported." 2837 "description": "Always returns true."
2886 }, 2838 },
2887 { 2839 {
2888 "name": "setScriptSource", 2840 "name": "setScriptSource",
2889 "parameters": [ 2841 "parameters": [
2890 { "name": "scriptId", "$ref": "ScriptId", "description": "Id of the script to edit." }, 2842 { "name": "scriptId", "$ref": "ScriptId", "description": "Id of the script to edit." },
2891 { "name": "scriptSource", "type": "string", "description": " New content of the script." }, 2843 { "name": "scriptSource", "type": "string", "description": " New content of the script." },
2892 { "name": "preview", "type": "boolean", "optional": true, "d escription": " If true the change will not actually be applied. Preview mode may be used to get result description without actually modifying the code.", "hidde n": true } 2844 { "name": "preview", "type": "boolean", "optional": true, "d escription": " If true the change will not actually be applied. Preview mode may be used to get result description without actually modifying the code.", "hidde n": true }
2893 ], 2845 ],
2894 "returns": [ 2846 "returns": [
2895 { "name": "callFrames", "type": "array", "optional": true, " items": { "$ref": "CallFrame"}, "description": "New stack trace in case editing has happened while VM was stopped." }, 2847 { "name": "callFrames", "type": "array", "optional": true, " items": { "$ref": "CallFrame"}, "description": "New stack trace in case editing has happened while VM was stopped." },
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
3174 ] 3126 ]
3175 }, 3127 },
3176 { 3128 {
3177 "id": "HeapSnapshotObjectId", 3129 "id": "HeapSnapshotObjectId",
3178 "type": "string", 3130 "type": "string",
3179 "description": "Heap snashot object id." 3131 "description": "Heap snashot object id."
3180 } 3132 }
3181 ], 3133 ],
3182 "commands": [ 3134 "commands": [
3183 { 3135 {
3184 "name": "causesRecompilation",
3185 "returns": [
3186 { "name": "result", "type": "boolean" }
3187 ]
3188 },
3189 {
3190 "name": "isSampling",
3191 "returns": [
3192 { "name": "result", "type": "boolean" }
3193 ]
3194 },
3195 {
3196 "name": "hasHeapProfiler",
3197 "returns": [
3198 { "name": "result", "type": "boolean" }
3199 ]
3200 },
3201 {
3202 "name": "enable" 3136 "name": "enable"
3203 }, 3137 },
3204 { 3138 {
3205 "name": "disable" 3139 "name": "disable"
3206 }, 3140 },
3207 { 3141 {
3208 "name": "start" 3142 "name": "start"
3209 }, 3143 },
3210 { 3144 {
3211 "name": "stop" 3145 "name": "stop"
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
3323 ] 3257 ]
3324 }, 3258 },
3325 { 3259 {
3326 "id": "HeapSnapshotObjectId", 3260 "id": "HeapSnapshotObjectId",
3327 "type": "string", 3261 "type": "string",
3328 "description": "Heap snashot object id." 3262 "description": "Heap snashot object id."
3329 } 3263 }
3330 ], 3264 ],
3331 "commands": [ 3265 "commands": [
3332 { 3266 {
3333 "name": "hasHeapProfiler",
3334 "returns": [
3335 { "name": "result", "type": "boolean" }
3336 ]
3337 },
3338 {
3339 "name": "getProfileHeaders", 3267 "name": "getProfileHeaders",
3340 "returns": [ 3268 "returns": [
3341 { "name": "headers", "type": "array", "items": { "$ref": "Pr ofileHeader"} } 3269 { "name": "headers", "type": "array", "items": { "$ref": "Pr ofileHeader"} }
3342 ] 3270 ]
3343 }, 3271 },
3344 { 3272 {
3345 "name": "getHeapSnapshot", 3273 "name": "getHeapSnapshot",
3346 "parameters": [ 3274 "parameters": [
3347 { "name": "uid", "type": "integer" } 3275 { "name": "uid", "type": "integer" }
3348 ] 3276 ]
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
3804 ] 3732 ]
3805 } 3733 }
3806 ], 3734 ],
3807 "events": [ 3735 "events": [
3808 { 3736 {
3809 "name": "layerTreeDidChange" 3737 "name": "layerTreeDidChange"
3810 } 3738 }
3811 ] 3739 ]
3812 }] 3740 }]
3813 } 3741 }
OLDNEW
« no previous file with comments | « inspector/InjectedScriptHost.idl ('k') | inspector/compile-front-end.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698