Chromium Code Reviews
DescriptionAdd live updates for AshDevToolsCSSAgent
- This CL adds an AshDevToolsDOMAgentObserver so that other agents, namely
CSS and Animation agents can observer when windows are added or removed
from the frontend.
- Add styleSheetChanged method to CSS protocol and call it from the
AshDevToolsCSSAgent whenever the bounds for any object is changed.
styleSheetChanged method called with an empty string simply invalidates
all styles in the inspector. There is currently no way to invalidate
styles on a single node.
BUG=648701
Committed: https://crrev.com/05f37a32d257869410cf10227d3761a4a28882c3
Cr-Commit-Position: refs/heads/master@{#435446}
Patch Set 1 #
Total comments: 10
Patch Set 2 : sadruls comments #Patch Set 3 : sadruls comments #Patch Set 4 : Override enable/disable methods to attach/detach observer to DOMAgent #
Depends on Patchset: Messages
Total messages: 19 (10 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||