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

Unified Diff: components/ui_devtools/protocol.json

Issue 2526103002: Add live updates for AshDevToolsCSSAgent (Closed)
Patch Set: Override enable/disable methods to attach/detach observer to DOMAgent Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/common/devtools/ash_devtools_dom_agent.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ui_devtools/protocol.json
diff --git a/components/ui_devtools/protocol.json b/components/ui_devtools/protocol.json
index 3ccbc2de9b491054fb76aa110ba9438a239cd7a5..7e5279bee73197e10a799619e2d73723161bc8f4 100644
--- a/components/ui_devtools/protocol.json
+++ b/components/ui_devtools/protocol.json
@@ -158,9 +158,25 @@
]
}
],
+ "events": [
+ {
+ "name": "styleSheetChanged",
+ "parameters": [
+ {
+ "name": "styleSheetId",
+ "$ref": "StyleSheetId"
+ }
+ ],
+ "description": "Fired whenever any bounds are updated for any object."
+ }
+ ],
"domain": "CSS",
"types": [
{
+ "id": "StyleSheetId",
+ "type": "string"
+ },
+ {
"id": "CSSProperty",
"properties": [
{
@@ -181,6 +197,12 @@
"id": "CSSStyle",
"properties": [
{
+ "description": "The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from. For UI devtools, this is simply equivalent to the NodeId.",
+ "optional": true,
+ "name": "styleSheetId",
+ "$ref": "StyleSheetId"
+ },
+ {
"description": "CSS properties in the style.",
"items": {
"$ref": "CSSProperty"
« no previous file with comments | « ash/common/devtools/ash_devtools_dom_agent.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698