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

Issue 1825723002: Move ScreenWin to ui/display (Closed)

Created:
4 years, 9 months ago by robliao
Modified:
4 years, 8 months ago
Reviewers:
tfarina, Nico, oshima, sky, piman
CC:
chromium-reviews, yusukes+watch_chromium.org, tfarina, shuchen+watch_chromium.org, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, James Su
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move ScreenWin to ui/display ScreenWin along with other Screen related objects is not really about graphics. As a result, this goes to a new home called ui/display to hold things related to the screen and display. BUG=597105 Committed: https://crrev.com/b8bc8fd634f70395451f8f559fa129ca049c991c Cr-Commit-Position: refs/heads/master@{#383500} Committed: https://crrev.com/8d63729c779d6b529efb6d6a4c5985470c68f76b Cr-Commit-Position: refs/heads/master@{#383761}

Patch Set 1 : #

Total comments: 6

Patch Set 2 : Code Review Feedback and Synchronized display_unittests Test Config Based off of gfx_unittests #

Total comments: 2

Patch Set 3 : Added is_chromeos guard #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+302 lines, -1530 lines) Patch
M content/DEPS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M content/content_browser.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M testing/buildbot/chromium.fyi.json View 1 4 chunks +21 lines, -0 lines 1 comment Download
M testing/buildbot/chromium.mac.json View 1 4 chunks +24 lines, -0 lines 0 comments Download
M testing/buildbot/chromium.win.json View 1 2 4 chunks +19 lines, -0 lines 0 comments Download
M testing/buildbot/chromium_trybot.json View 1 1 chunk +11 lines, -0 lines 0 comments Download
M ui/display/BUILD.gn View 1 2 4 chunks +101 lines, -94 lines 0 comments Download
M ui/display/DEPS View 1 chunk +1 line, -2 lines 0 comments Download
M ui/display/display.gyp View 3 chunks +8 lines, -0 lines 0 comments Download
M ui/display/display_unittests.isolate View 1 1 chunk +1 line, -1 line 0 comments Download
A + ui/display/win/display_info.h View 2 chunks +8 lines, -8 lines 0 comments Download
A + ui/display/win/display_info.cc View 3 chunks +3 lines, -3 lines 0 comments Download
A + ui/display/win/screen_win.h View 3 chunks +23 lines, -25 lines 0 comments Download
A + ui/display/win/screen_win.cc View 8 chunks +37 lines, -38 lines 0 comments Download
A + ui/display/win/screen_win_display.h View 1 2 chunks +5 lines, -5 lines 0 comments Download
A + ui/display/win/screen_win_display.cc View 3 chunks +7 lines, -8 lines 0 comments Download
A + ui/display/win/screen_win_unittest.cc View 9 chunks +21 lines, -19 lines 0 comments Download
M ui/gfx/BUILD.gn View 4 chunks +0 lines, -7 lines 0 comments Download
M ui/gfx/gfx.gyp View 3 chunks +0 lines, -6 lines 0 comments Download
M ui/gfx/gfx_tests.gyp View 1 chunk +0 lines, -1 line 0 comments Download
D ui/gfx/screen_win.h View 1 chunk +0 lines, -103 lines 0 comments Download
D ui/gfx/screen_win.cc View 1 chunk +0 lines, -243 lines 0 comments Download
D ui/gfx/screen_win_unittest.cc View 1 chunk +0 lines, -782 lines 0 comments Download
D ui/gfx/win/display_info.h View 1 chunk +0 lines, -44 lines 0 comments Download
D ui/gfx/win/display_info.cc View 1 chunk +0 lines, -60 lines 0 comments Download
D ui/gfx/win/screen_win_display.h View 1 chunk +0 lines, -36 lines 0 comments Download
D ui/gfx/win/screen_win_display.cc View 1 chunk +0 lines, -38 lines 0 comments Download
M ui/views/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/views.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_screen_win.h View 1 chunk +3 lines, -3 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_screen_win.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 87 (42 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1825723002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1825723002/20001
4 years, 9 months ago (2016-03-23 01:00:52 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/133633) linux_blink_oilpan_rel on ...
4 years, 9 months ago (2016-03-23 01:07:06 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1825723002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1825723002/40001
4 years, 9 months ago (2016-03-23 01:12:22 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/159933)
4 years, 9 months ago (2016-03-23 01:26:46 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1825723002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1825723002/60001
4 years, 9 months ago (2016-03-23 13:50:03 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/160044)
4 years, 9 months ago (2016-03-23 13:58:37 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1825723002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1825723002/80001
4 years, 9 months ago (2016-03-23 14:35:25 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1825723002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1825723002/100001
4 years, 9 months ago (2016-03-23 14:43:50 UTC) #19
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/160055)
4 years, 9 months ago (2016-03-23 14:53:31 UTC) #21
robliao
oshima: Please review this changelist. Thanks!
4 years, 9 months ago (2016-03-23 16:11:21 UTC) #26
oshima
lgtm
4 years, 9 months ago (2016-03-24 20:43:30 UTC) #27
robliao
Hello OWNERS, please review changes for path patterns underneath your e-mail. Thanks! piman@chromium.org: content/* sky@chromium.org: ...
4 years, 9 months ago (2016-03-24 22:12:10 UTC) #29
tfarina
Could you add a short description to the commit message, describing why you are moving ...
4 years, 9 months ago (2016-03-24 22:18:48 UTC) #30
piman
lgtm
4 years, 9 months ago (2016-03-24 22:25:48 UTC) #31
robliao
On 2016/03/24 22:18:48, tfarina wrote: > Could you add a short description to the commit ...
4 years, 9 months ago (2016-03-24 23:08:09 UTC) #34
tfarina
Thanks. CL description lgtm.
4 years, 9 months ago (2016-03-25 13:07:12 UTC) #35
sky
I think this makes sense if you're going to move ui/gfx/screen and ui/gfx/display to the ...
4 years, 9 months ago (2016-03-25 15:46:17 UTC) #36
oshima
On 2016/03/25 15:46:17, sky wrote: > I think this makes sense if you're going to ...
4 years, 9 months ago (2016-03-25 15:54:54 UTC) #37
robliao
On 2016/03/25 15:46:17, sky wrote: > I think this makes sense if you're going to ...
4 years, 9 months ago (2016-03-25 15:57:03 UTC) #38
sky
LGTM https://codereview.chromium.org/1825723002/diff/100001/ui/display/BUILD.gn File ui/display/BUILD.gn (right): https://codereview.chromium.org/1825723002/diff/100001/ui/display/BUILD.gn#newcode137 ui/display/BUILD.gn:137: # This test covers the ChromeOS "display" target ...
4 years, 9 months ago (2016-03-25 15:59:47 UTC) #39
robliao
On 2016/03/25 15:57:03, robliao wrote: > On 2016/03/25 15:46:17, sky wrote: > > I think ...
4 years, 9 months ago (2016-03-25 16:00:22 UTC) #40
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1825723002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1825723002/120001
4 years, 9 months ago (2016-03-25 16:58:33 UTC) #42
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/187575)
4 years, 9 months ago (2016-03-25 18:25:05 UTC) #44
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1825723002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1825723002/120001
4 years, 9 months ago (2016-03-25 19:45:57 UTC) #46
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1825723002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1825723002/140001
4 years, 9 months ago (2016-03-25 20:02:10 UTC) #50
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1825723002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1825723002/160001
4 years, 9 months ago (2016-03-25 20:26:20 UTC) #52
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-25 22:51:40 UTC) #55
robliao
https://codereview.chromium.org/1825723002/diff/100001/ui/display/BUILD.gn File ui/display/BUILD.gn (right): https://codereview.chromium.org/1825723002/diff/100001/ui/display/BUILD.gn#newcode137 ui/display/BUILD.gn:137: # This test covers the ChromeOS "display" target as ...
4 years, 9 months ago (2016-03-26 00:05:46 UTC) #56
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1825723002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1825723002/160001
4 years, 8 months ago (2016-03-28 14:17:39 UTC) #58
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-03-28 15:36:39 UTC) #60
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1825723002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1825723002/160001
4 years, 8 months ago (2016-03-28 15:53:40 UTC) #63
commit-bot: I haz the power
Committed patchset #2 (id:160001)
4 years, 8 months ago (2016-03-28 15:59:51 UTC) #65
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/b8bc8fd634f70395451f8f559fa129ca049c991c Cr-Commit-Position: refs/heads/master@{#383500}
4 years, 8 months ago (2016-03-28 16:03:32 UTC) #67
Nico
https://codereview.chromium.org/1825723002/diff/160001/ui/display/BUILD.gn File ui/display/BUILD.gn (right): https://codereview.chromium.org/1825723002/diff/160001/ui/display/BUILD.gn#newcode110 ui/display/BUILD.gn:110: } This binary doesn't link on Windows (in gn ...
4 years, 8 months ago (2016-03-28 20:22:41 UTC) #69
Nico
A revert of this CL (patchset #2 id:160001) has been created in https://codereview.chromium.org/1834243003/ by thakis@chromium.org. ...
4 years, 8 months ago (2016-03-28 20:27:24 UTC) #70
robliao
https://codereview.chromium.org/1825723002/diff/160001/ui/display/BUILD.gn File ui/display/BUILD.gn (right): https://codereview.chromium.org/1825723002/diff/160001/ui/display/BUILD.gn#newcode110 ui/display/BUILD.gn:110: } On 2016/03/28 20:22:41, Nico wrote: > This binary ...
4 years, 8 months ago (2016-03-28 20:33:57 UTC) #71
robliao
On 2016/03/28 20:33:57, robliao wrote: > https://codereview.chromium.org/1825723002/diff/160001/ui/display/BUILD.gn > File ui/display/BUILD.gn (right): > > https://codereview.chromium.org/1825723002/diff/160001/ui/display/BUILD.gn#newcode110 > ...
4 years, 8 months ago (2016-03-28 20:36:10 UTC) #72
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1825723002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1825723002/180001
4 years, 8 months ago (2016-03-29 00:53:07 UTC) #75
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-03-29 02:16:49 UTC) #77
robliao
On 2016/03/29 02:16:49, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
4 years, 8 months ago (2016-03-29 17:23:25 UTC) #78
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1825723002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1825723002/180001
4 years, 8 months ago (2016-03-29 17:42:54 UTC) #81
commit-bot: I haz the power
Committed patchset #3 (id:180001)
4 years, 8 months ago (2016-03-29 17:49:58 UTC) #83
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/8d63729c779d6b529efb6d6a4c5985470c68f76b Cr-Commit-Position: refs/heads/master@{#383761}
4 years, 8 months ago (2016-03-29 17:51:59 UTC) #85
Nico
https://codereview.chromium.org/1825723002/diff/180001/testing/buildbot/chromium.fyi.json File testing/buildbot/chromium.fyi.json (right): https://codereview.chromium.org/1825723002/diff/180001/testing/buildbot/chromium.fyi.json#newcode1635 testing/buildbot/chromium.fyi.json:1635: "test": "display_unittests" The test was already here for this ...
4 years, 8 months ago (2016-03-30 12:06:37 UTC) #86
Nico
4 years, 8 months ago (2016-03-30 12:07:45 UTC) #87
Message was sent while issue was closed.
On 2016/03/30 12:06:37, Nico wrote:
>
https://codereview.chromium.org/1825723002/diff/180001/testing/buildbot/chrom...
> File testing/buildbot/chromium.fyi.json (right):
> 
>
https://codereview.chromium.org/1825723002/diff/180001/testing/buildbot/chrom...
> testing/buildbot/chromium.fyi.json:1635: "test": "display_unittests"
> The test was already here for this bot 6 lines above. This bot is now failing
> with a "test triggered twice" exception.
>
(https://build.chromium.org/p/chromium.fyi/builders/ClangToTLinuxUBSanVptr%20t...)
> 
> To prevent mistakes like this, update these files by running
> `testing/buildbot/manage.py --convert display_unittests` instead of doing it
> manually.

Actually, this command only converts existing tests to swarming and doesn't help
here. So ignore this bit :-)

> I'll send you a fix reverting this chunk.

Powered by Google App Engine
This is Rietveld 408576698