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

Issue 2529553002: Hook up views/widgets to AshDevToolsDOMAgent (Closed)

Created:
4 years ago by Sarmad Hashmi
Modified:
4 years ago
Reviewers:
sadrul
CC:
chromium-reviews, kalyank, sadrul, pfeldman, devtools-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Hook up views/widgets to AshDevToolsDOMAgent - 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 Committed: https://crrev.com/b4ce166c6eb7bf65dedbdb6947e23fbf2992e251 Cr-Commit-Position: refs/heads/master@{#434863}

Patch Set 1 #

Total comments: 6

Patch Set 2 : sadruls comments and merge test CL with this #

Patch Set 3 : sadruls comments and merge test CL with this #

Unified diffs Side-by-side diffs Delta from patch set Stats (+236 lines, -11 lines) Patch
M ash/common/devtools/ash_devtools_dom_agent.h View 5 chunks +17 lines, -2 lines 0 comments Download
M ash/common/devtools/ash_devtools_dom_agent.cc View 1 2 10 chunks +58 lines, -9 lines 0 comments Download
M ash/common/devtools/ash_devtools_unittest.cc View 1 2 4 chunks +161 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 26 (18 generated)
Sarmad Hashmi
PTAL sadrul@. Just hooking up views/widget observers.
4 years ago (2016-11-23 04:58:30 UTC) #4
sadrul
It'd be make sense to move the relevant tests (in https://codereview.chromium.org/2528563002/) into this CL as ...
4 years ago (2016-11-25 18:27:49 UTC) #7
Sarmad Hashmi
Merged the tests CL with this one. https://codereview.chromium.org/2529553002/diff/1/ash/common/devtools/ash_devtools_dom_agent.cc File ash/common/devtools/ash_devtools_dom_agent.cc (right): https://codereview.chromium.org/2529553002/diff/1/ash/common/devtools/ash_devtools_dom_agent.cc#newcode78 ash/common/devtools/ash_devtools_dom_agent.cc:78: DCHECK(view_index >= ...
4 years ago (2016-11-25 23:24:34 UTC) #10
sadrul
lgtm
4 years ago (2016-11-29 02:42:14 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2529553002/40001
4 years ago (2016-11-29 02:54:15 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-11-29 03:11:33 UTC) #23
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/b4ce166c6eb7bf65dedbdb6947e23fbf2992e251 Cr-Commit-Position: refs/heads/master@{#434863}
4 years ago (2016-11-29 03:13:45 UTC) #25
battre
4 years ago (2016-11-29 09:44:14 UTC) #26
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/2532243003/ by battre@chromium.org.

The reason for reverting is: Reverting due to a memory leak. See
http://crbug.com/648701#c26.

Powered by Google App Engine
This is Rietveld 408576698