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

Issue 2361283002: Add GetDisplayWithDisplayId to display::Screen. (Closed)

Created:
4 years, 3 months ago by riajiang
Modified:
4 years, 1 month ago
CC:
chromium-reviews, extensions-reviews_chromium.org, anandc+watch-blimp_chromium.org, sadrul, sriramsr+watch-blimp_chromium.org, tfarina, maniscalco+watch-blimp_chromium.org, steimel+watch-blimp_chromium.org, gcasto+watch-blimp_chromium.org, shaktisahu+watch-blimp_chromium.org, nyquist+watch-blimp_chromium.org, perumaal+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, jessicag+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, lethalantidote+watch-blimp_chromium.org, chromium-apps-reviews_chromium.org, kalyank, dtrainor+watch-blimp_chromium.org, scf+watch-blimp_chromium.org, khushalsagar+watch-blimp_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add GetDisplayWithDisplayId to display::Screen. BUG=600815 TEST=ash_unittests blimp_unittests app_shell_unittests display_unittests views_unittests Committed: https://crrev.com/29f6a42748e827c3de474c76d6d2f56a78369d9c Cr-Commit-Position: refs/heads/master@{#433618}

Patch Set 1 #

Patch Set 2 : test #

Total comments: 12

Patch Set 3 : ref, test, etc #

Total comments: 6

Patch Set 4 : id #

Total comments: 5

Patch Set 5 : display_list #

Patch Set 6 : make GetDisplayWithDisplayId non virtual #

Patch Set 7 : rebase #

Total comments: 3

Patch Set 8 : move unittest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -11 lines) Patch
M ui/display/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +0 lines, -4 lines 0 comments Download
M ui/display/screen.h View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M ui/display/screen.cc View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M ui/display/screen_unittest.cc View 1 2 3 4 5 6 7 1 chunk +45 lines, -7 lines 0 comments Download

Messages

Total messages: 60 (42 generated)
sadrul
+sky@ as well. I have left a few comments in a few places. The main ...
4 years, 3 months ago (2016-09-23 19:51:12 UTC) #28
sadrul
I have left a few comments, but let's discuss offline before addressing these. https://codereview.chromium.org/2361283002/diff/140001/ui/display/android/screen_android.cc File ...
4 years, 2 months ago (2016-09-30 03:17:14 UTC) #29
riajiang
Decided to separate the work on consolidating subclasses of display::Screen that only have one display::Display ...
4 years, 2 months ago (2016-10-05 14:54:11 UTC) #30
sky
https://codereview.chromium.org/2361283002/diff/160001/ui/display/screen.h File ui/display/screen.h (right): https://codereview.chromium.org/2361283002/diff/160001/ui/display/screen.h#newcode58 ui/display/screen.h:58: // Returns true if the display with |display_id| is ...
4 years, 2 months ago (2016-10-06 15:20:03 UTC) #33
sadrul
You are working on using display::DisplayList in more places, right? That would be good to ...
4 years, 2 months ago (2016-10-06 15:23:18 UTC) #34
riajiang
https://codereview.chromium.org/2361283002/diff/160001/ui/display/screen.h File ui/display/screen.h (right): https://codereview.chromium.org/2361283002/diff/160001/ui/display/screen.h#newcode58 ui/display/screen.h:58: // Returns true if the display with |display_id| is ...
4 years, 2 months ago (2016-10-06 18:26:31 UTC) #35
sky
https://codereview.chromium.org/2361283002/diff/160001/ui/display/screen.h File ui/display/screen.h (right): https://codereview.chromium.org/2361283002/diff/160001/ui/display/screen.h#newcode58 ui/display/screen.h:58: // Returns true if the display with |display_id| is ...
4 years, 2 months ago (2016-10-06 21:28:34 UTC) #36
riajiang
On 2016/10/06 21:28:34, sky wrote: > https://codereview.chromium.org/2361283002/diff/160001/ui/display/screen.h > File ui/display/screen.h (right): > > https://codereview.chromium.org/2361283002/diff/160001/ui/display/screen.h#newcode58 > ...
4 years, 2 months ago (2016-10-13 21:39:51 UTC) #37
sky
On 2016/10/13 21:39:51, riajiang wrote: > On 2016/10/06 21:28:34, sky wrote: > > https://codereview.chromium.org/2361283002/diff/160001/ui/display/screen.h > ...
4 years, 2 months ago (2016-10-14 00:07:04 UTC) #38
riajiang
The CL about GetAllDisplays() (https://codereview.chromium.org/2489873002/) has been landed. sky@, could you take another look at ...
4 years, 1 month ago (2016-11-18 20:58:17 UTC) #40
James Cook
extensions/shell LGTM https://codereview.chromium.org/2361283002/diff/220001/extensions/shell/browser/shell_screen_unittest.cc File extensions/shell/browser/shell_screen_unittest.cc (right): https://codereview.chromium.org/2361283002/diff/220001/extensions/shell/browser/shell_screen_unittest.cc#newcode31 extensions/shell/browser/shell_screen_unittest.cc:31: EXPECT_TRUE(has_display); nit: EXPECT_TRUE(screen.GetDisplayWithDisplayId(0, &display));
4 years, 1 month ago (2016-11-18 21:48:50 UTC) #41
sky
https://codereview.chromium.org/2361283002/diff/220001/ui/display/win/screen_win_unittest.cc File ui/display/win/screen_win_unittest.cc (right): https://codereview.chromium.org/2361283002/diff/220001/ui/display/win/screen_win_unittest.cc#newcode362 ui/display/win/screen_win_unittest.cc:362: EXPECT_TRUE(has_display); no need for the temporary. This comment holds ...
4 years, 1 month ago (2016-11-19 15:01:40 UTC) #42
riajiang
-dtrainor@ since no blimp file is modified anymore On 2016/11/19 15:01:40, sky wrote: > https://codereview.chromium.org/2361283002/diff/220001/ui/display/win/screen_win_unittest.cc ...
4 years, 1 month ago (2016-11-21 17:27:54 UTC) #45
sky
LGTM
4 years, 1 month ago (2016-11-21 18:15:04 UTC) #46
David Trainor- moved to gerrit
blimp/ lgtm. Thanks for adding the test!
4 years, 1 month ago (2016-11-21 18:26:49 UTC) #48
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/2361283002/260001
4 years, 1 month ago (2016-11-21 20:02:38 UTC) #55
commit-bot: I haz the power
Committed patchset #8 (id:260001)
4 years, 1 month ago (2016-11-21 20:10:08 UTC) #58
commit-bot: I haz the power
4 years, 1 month ago (2016-11-21 20:15:57 UTC) #60
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/29f6a42748e827c3de474c76d6d2f56a78369d9c
Cr-Commit-Position: refs/heads/master@{#433618}

Powered by Google App Engine
This is Rietveld 408576698