Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 { | 1 { |
| 2 "version": { "major": "1", "minor": "1" }, | 2 "version": { "major": "1", "minor": "1" }, |
| 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 2626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2637 { "name": "text", "type": "string", "description": "The styl esheet text." } | 2637 { "name": "text", "type": "string", "description": "The styl esheet text." } |
| 2638 ], | 2638 ], |
| 2639 "description": "Returns the current textual content and the URL for a stylesheet." | 2639 "description": "Returns the current textual content and the URL for a stylesheet." |
| 2640 }, | 2640 }, |
| 2641 { | 2641 { |
| 2642 "name": "setStyleSheetText", | 2642 "name": "setStyleSheetText", |
| 2643 "parameters": [ | 2643 "parameters": [ |
| 2644 { "name": "styleSheetId", "$ref": "StyleSheetId" }, | 2644 { "name": "styleSheetId", "$ref": "StyleSheetId" }, |
| 2645 { "name": "text", "type": "string" } | 2645 { "name": "text", "type": "string" } |
| 2646 ], | 2646 ], |
| 2647 "description": "Sets the new stylesheet text, thereby invalidati ng all existing <code>CSSStyleId</code>'s and <code>CSSRuleId</code>'s contained by this stylesheet." | 2647 "description": "Sets the new stylesheet text. This will invalida te all existing <code>CSSStyleId</code>s and <code>CSSRuleId</code>s contained b y this stylesheet." |
| 2648 }, | |
| 2649 { | |
| 2650 "name": "editRangeInStyleSheetText", | |
| 2651 "parameters": [ | |
| 2652 { "name": "styleSheetId", "$ref": "StyleSheetId" }, | |
| 2653 { "name": "range", "$ref": "SourceRange", "description": "So urce range to be replaced in stylesheet text." }, | |
| 2654 { "name": "text", "type": "string", "description": "Text tha t will replace given range in the stylesheet text." } | |
| 2655 ], | |
| 2656 "description": "Replace stylesheet text range with a new text. T his will invalidate all existing <code>CSSStyleId</code>s and <code>CSSRuleId</c ode>s contained by this stylesheet.", | |
| 2657 "hidden": true | |
|
vsevik
2014/02/25 11:20:48
We do not mark CSS domain methods as hidden (the w
lushnikov
2014/02/25 11:32:00
Done.
| |
| 2648 }, | 2658 }, |
| 2649 { | 2659 { |
| 2650 "name": "setPropertyText", | 2660 "name": "setPropertyText", |
| 2651 "parameters": [ | 2661 "parameters": [ |
| 2652 { "name": "styleId", "$ref": "CSSStyleId" }, | 2662 { "name": "styleId", "$ref": "CSSStyleId" }, |
| 2653 { "name": "propertyIndex", "type": "integer" }, | 2663 { "name": "propertyIndex", "type": "integer" }, |
| 2654 { "name": "text", "type": "string" }, | 2664 { "name": "text", "type": "string" }, |
| 2655 { "name": "overwrite", "type": "boolean" } | 2665 { "name": "overwrite", "type": "boolean" } |
| 2656 ], | 2666 ], |
| 2657 "returns": [ | 2667 "returns": [ |
| (...skipping 1386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4044 { | 4054 { |
| 4045 "name": "dataAvailable", | 4055 "name": "dataAvailable", |
| 4046 "parameters": [ | 4056 "parameters": [ |
| 4047 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } | 4057 {"name": "value", "type": "array", "items": { "$ref": "Power Event" }, "description": "List of power events." } |
| 4048 ], | 4058 ], |
| 4049 "handlers": ["browser", "frontend"] | 4059 "handlers": ["browser", "frontend"] |
| 4050 } | 4060 } |
| 4051 ] | 4061 ] |
| 4052 }] | 4062 }] |
| 4053 } | 4063 } |
| OLD | NEW |