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

Issue 2537163002: 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/2854d5e5eab2824f1151a0b4e813ff535ea3f8a6 Cr-Commit-Position: refs/heads/master@{#435065}

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 2

Patch Set 3 : sadruls comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+238 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 10 chunks +58 lines, -9 lines 0 comments Download
M ash/common/devtools/ash_devtools_unittest.cc View 1 2 4 chunks +163 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 19 (13 generated)
Sarmad Hashmi
Trying to reland https://codereview.chromium.org/2529553002/ by storing the removed child_view in a unique_ptr to prevent memory ...
4 years ago (2016-11-29 18:16:17 UTC) #4
sadrul
lgtm https://codereview.chromium.org/2537163002/diff/20001/ash/common/devtools/ash_devtools_unittest.cc File ash/common/devtools/ash_devtools_unittest.cc (right): https://codereview.chromium.org/2537163002/diff/20001/ash/common/devtools/ash_devtools_unittest.cc#newcode373 ash/common/devtools/ash_devtools_unittest.cc:373: std::unique_ptr<views::View> child_view = base::WrapUnique(new views::View); Use base::MakeUnique<> Add ...
4 years ago (2016-11-29 18:20:14 UTC) #5
Sarmad Hashmi
https://codereview.chromium.org/2537163002/diff/20001/ash/common/devtools/ash_devtools_unittest.cc File ash/common/devtools/ash_devtools_unittest.cc (right): https://codereview.chromium.org/2537163002/diff/20001/ash/common/devtools/ash_devtools_unittest.cc#newcode373 ash/common/devtools/ash_devtools_unittest.cc:373: std::unique_ptr<views::View> child_view = base::WrapUnique(new views::View); On 2016/11/29 18:20:14, sadrul ...
4 years ago (2016-11-29 18:57:00 UTC) #9
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/2537163002/40001
4 years ago (2016-11-29 19:54:31 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-11-29 20:11:16 UTC) #17
commit-bot: I haz the power
4 years ago (2016-11-29 20:17:39 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/2854d5e5eab2824f1151a0b4e813ff535ea3f8a6
Cr-Commit-Position: refs/heads/master@{#435065}

Powered by Google App Engine
This is Rietveld 408576698