• mhashmi's avatar
    Hook up views/widgets to AshDevToolsDOMAgent · 2854d5e5
    mhashmi authored
    - This CL adds AshDevToolsDOMAgent as an observer to all widgets and views.
    The WidgetRemovalObserver is specifically to remove the RootView subtree,
    while the ViewObserver is to update any other descendant views.
    AddViewTree was created so that whenever any |view| is added, it can
    be pushed to the frontend.
    - Add tests for when views are inserted, removed, rearranged,
    removed & inserted.
    - Add test to check if a widget owned by a native widget is represented
    properly in the DOM.
    
    BUG=648701
    
    Review-Url: https://codereview.chromium.org/2537163002
    Cr-Commit-Position: refs/heads/master@{#435065}
    2854d5e5
ash_devtools_dom_agent.h 4.39 KB