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

Issue 2899783002: Move DevTools out of ash and turn it to a component. (Closed)

Created:
3 years, 7 months ago by thanhph
Modified:
3 years, 6 months ago
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Move DevTools out of ash and turn it to a component. AshTestbase dependency will be removed and replaced by ViewTestBase. Appropriate UIElement trees are also created to test DevTools. BUG=701835 Review-Url: https://codereview.chromium.org/2899783002 Cr-Commit-Position: refs/heads/master@{#481047} Committed: https://chromium.googlesource.com/chromium/src/+/3f39685180b85f09614e287f1150dabfc9fa9d05

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : rebase #

Total comments: 12

Patch Set 6 : . #

Patch Set 7 : . #

Patch Set 8 : . #

Total comments: 2

Patch Set 9 : . #

Patch Set 10 : . #

Patch Set 11 : static_library #

Patch Set 12 : . #

Patch Set 13 : NON_EXPORTED_BASE base class #

Total comments: 8

Patch Set 14 : Address nits. #

Total comments: 4

Patch Set 15 : change namespace to ui_devtools #

Patch Set 16 : add README.md #

Unified diffs Side-by-side diffs Delta from patch set Stats (+473 lines, -2601 lines) Patch
M ash/BUILD.gn View 1 2 3 4 5 6 7 8 9 3 chunks +1 line, -14 lines 0 comments Download
D ash/devtools/OWNERS View 1 chunk +0 lines, -1 line 0 comments Download
D ash/devtools/ash_devtools_css_agent.h View 1 chunk +0 lines, -57 lines 0 comments Download
D ash/devtools/ash_devtools_css_agent.cc View 1 chunk +0 lines, -210 lines 0 comments Download
D ash/devtools/ash_devtools_dom_agent.h View 1 1 chunk +0 lines, -109 lines 0 comments Download
D ash/devtools/ash_devtools_dom_agent.cc View 1 2 3 4 1 chunk +0 lines, -409 lines 0 comments Download
D ash/devtools/ash_devtools_unittest.cc View 1 1 chunk +0 lines, -829 lines 0 comments Download
D ash/devtools/ui_element.h View 1 chunk +0 lines, -78 lines 0 comments Download
D ash/devtools/ui_element.cc View 1 chunk +0 lines, -80 lines 0 comments Download
D ash/devtools/ui_element_delegate.h View 1 chunk +0 lines, -44 lines 0 comments Download
D ash/devtools/view_element.h View 1 chunk +0 lines, -52 lines 0 comments Download
D ash/devtools/view_element.cc View 1 1 chunk +0 lines, -89 lines 0 comments Download
D ash/devtools/widget_element.h View 1 chunk +0 lines, -57 lines 0 comments Download
D ash/devtools/widget_element.cc View 1 chunk +0 lines, -73 lines 0 comments Download
D ash/devtools/window_element.h View 1 chunk +0 lines, -54 lines 0 comments Download
D ash/devtools/window_element.cc View 1 chunk +0 lines, -100 lines 0 comments Download
M ash/shell.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +4 lines, -3 lines 0 comments Download
M ash/shell.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/inspect_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M components/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M components/ui_devtools/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
A components/ui_devtools/README.md View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -0 lines 0 comments Download
M components/ui_devtools/devtools_base_agent.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +6 lines, -8 lines 0 comments Download
M components/ui_devtools/devtools_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +4 lines, -5 lines 0 comments Download
M components/ui_devtools/devtools_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -4 lines 0 comments Download
M components/ui_devtools/devtools_server.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +5 lines, -5 lines 0 comments Download
M components/ui_devtools/devtools_server.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -4 lines 0 comments Download
M components/ui_devtools/inspector_protocol_config.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M components/ui_devtools/string_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +3 lines, -7 lines 0 comments Download
M components/ui_devtools/string_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -4 lines 0 comments Download
M components/ui_devtools/switches.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -4 lines 0 comments Download
M components/ui_devtools/switches.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -4 lines 0 comments Download
A components/ui_devtools/views/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +62 lines, -0 lines 0 comments Download
A components/ui_devtools/views/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +4 lines, -0 lines 0 comments Download
A + components/ui_devtools/views/OWNERS View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A components/ui_devtools/views/ui_devtools_css_agent.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +53 lines, -0 lines 0 comments Download
A + components/ui_devtools/views/ui_devtools_css_agent.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 7 chunks +36 lines, -38 lines 0 comments Download
A + components/ui_devtools/views/ui_devtools_dom_agent.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 6 chunks +31 lines, -36 lines 0 comments Download
A + components/ui_devtools/views/ui_devtools_dom_agent.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 16 chunks +53 lines, -58 lines 0 comments Download
A + components/ui_devtools/views/ui_devtools_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 29 chunks +128 lines, -76 lines 0 comments Download
A + components/ui_devtools/views/ui_element.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +6 lines, -9 lines 0 comments Download
A + components/ui_devtools/views/ui_element.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +8 lines, -10 lines 0 comments Download
A + components/ui_devtools/views/ui_element_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +6 lines, -9 lines 0 comments Download
A + components/ui_devtools/views/view_element.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +7 lines, -10 lines 0 comments Download
A + components/ui_devtools/views/view_element.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +4 lines, -6 lines 0 comments Download
A + components/ui_devtools/views/widget_element.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +9 lines, -12 lines 0 comments Download
A + components/ui_devtools/views/widget_element.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +4 lines, -6 lines 0 comments Download
A + components/ui_devtools/views/window_element.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +7 lines, -10 lines 0 comments Download
A + components/ui_devtools/views/window_element.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +4 lines, -6 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 198 (175 generated)
thanhph
Hi Sadrul, Please review my cl. Thanks, Thanh.
3 years, 6 months ago (2017-06-04 23:55:49 UTC) #114
sadrul
https://codereview.chromium.org/2899783002/diff/660001/components/ui_devtools/devtools/BUILD.gn File components/ui_devtools/devtools/BUILD.gn (right): https://codereview.chromium.org/2899783002/diff/660001/components/ui_devtools/devtools/BUILD.gn#newcode3 components/ui_devtools/devtools/BUILD.gn:3: source_set("devtools") { Rename this directory: //components/ui_devtools/views https://codereview.chromium.org/2899783002/diff/660001/components/ui_devtools/devtools/BUILD.gn#newcode4 components/ui_devtools/devtools/BUILD.gn:4: defines ...
3 years, 6 months ago (2017-06-05 21:37:42 UTC) #116
thanhph
https://codereview.chromium.org/2899783002/diff/660001/components/ui_devtools/devtools/BUILD.gn File components/ui_devtools/devtools/BUILD.gn (right): https://codereview.chromium.org/2899783002/diff/660001/components/ui_devtools/devtools/BUILD.gn#newcode3 components/ui_devtools/devtools/BUILD.gn:3: source_set("devtools") { On 2017/06/05 21:37:42, sadrul wrote: > Rename ...
3 years, 6 months ago (2017-06-06 20:45:53 UTC) #123
sadrul
Looks good. But I think we need to sort out the build issue on Windows. ...
3 years, 6 months ago (2017-06-08 22:08:01 UTC) #126
thanhph
Please review my new patch, thanks! Thanh. https://codereview.chromium.org/2899783002/diff/720001/components/ui_devtools/views/BUILD.gn File components/ui_devtools/views/BUILD.gn (right): https://codereview.chromium.org/2899783002/diff/720001/components/ui_devtools/views/BUILD.gn#newcode52 components/ui_devtools/views/BUILD.gn:52: "//components/ui_devtools", On ...
3 years, 6 months ago (2017-06-14 01:35:53 UTC) #155
sadrul
Some nits. gtlm with those addressed. https://codereview.chromium.org/2899783002/diff/860001/components/ui_devtools/views/DEPS File components/ui_devtools/views/DEPS (right): https://codereview.chromium.org/2899783002/diff/860001/components/ui_devtools/views/DEPS#newcode3 components/ui_devtools/views/DEPS:3: "+third_party/skia/include/core" sort https://codereview.chromium.org/2899783002/diff/860001/components/ui_devtools/views/ui_devtools_css_agent.h ...
3 years, 6 months ago (2017-06-14 03:25:58 UTC) #156
thanhph
Thanks Sadrul. Please review my new patch. Thanh. https://codereview.chromium.org/2899783002/diff/860001/components/ui_devtools/views/DEPS File components/ui_devtools/views/DEPS (right): https://codereview.chromium.org/2899783002/diff/860001/components/ui_devtools/views/DEPS#newcode3 components/ui_devtools/views/DEPS:3: "+third_party/skia/include/core" ...
3 years, 6 months ago (2017-06-14 15:26:37 UTC) #161
sadrul
lgtm
3 years, 6 months ago (2017-06-14 17:30:43 UTC) #162
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/2899783002/880001
3 years, 6 months ago (2017-06-14 17:31:55 UTC) #164
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/463867)
3 years, 6 months ago (2017-06-14 17:40:29 UTC) #166
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/2899783002/880001
3 years, 6 months ago (2017-06-14 17:41:32 UTC) #168
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/463886)
3 years, 6 months ago (2017-06-14 17:52:36 UTC) #170
thanhph
blundell@: Hi Colin, please review my changes in components folder. Thanks!
3 years, 6 months ago (2017-06-14 18:21:02 UTC) #172
thanhph
derat@chromium.org: Hi Dan, please review my changes in ash folder. I basically just moved DevTools ...
3 years, 6 months ago (2017-06-14 18:23:29 UTC) #174
Daniel Erat
rubber-stamp lgtm for //ash
3 years, 6 months ago (2017-06-14 18:55:58 UTC) #175
blundell
addition of component lgtm with some nits apologies for the delay, this message slipped off ...
3 years, 6 months ago (2017-06-19 13:33:01 UTC) #176
thanhph
Thanks Dan and Colin for your stamps. Colin: I just addressed your comments in the ...
3 years, 6 months ago (2017-06-20 17:40:28 UTC) #183
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/2899783002/920001
3 years, 6 months ago (2017-06-20 21:28:57 UTC) #188
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/469060)
3 years, 6 months ago (2017-06-20 21:40:11 UTC) #190
thanhph
Hi Scott, Could you review my changes in chrome/browser/ui/webui/inspect_ui.cc? I just simply change the namespace ...
3 years, 6 months ago (2017-06-20 22:28:10 UTC) #192
sky
LGTM
3 years, 6 months ago (2017-06-21 00:27:35 UTC) #193
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/2899783002/920001
3 years, 6 months ago (2017-06-21 00:30:05 UTC) #195
commit-bot: I haz the power
3 years, 6 months ago (2017-06-21 00:37:47 UTC) #198
Message was sent while issue was closed.
Committed patchset #16 (id:920001) as
https://chromium.googlesource.com/chromium/src/+/3f39685180b85f09614e287f1150...

Powered by Google App Engine
This is Rietveld 408576698