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

Issue 1964153002: Move Screen, its impls, DisplayObserver and DisplayChangeNotifier to ui/display (Closed)

Created:
4 years, 7 months ago by oshima
Modified:
4 years, 7 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, sadrul, tdresser+watch_chromium.org, Peter Beverloo, tfarina, mlamouri+watch-notifications_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, kalyank, mkwst+moarreviews-shell_chromium.org, jochen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move Screen, its impls, DisplayObserver and DisplayChangeNotifier to ui/display BUG=597761 TBR=watk@chromium.org, mkwst@chromium.org, sky@chromium.org, stevenjb@chromium.org Committed: https://crrev.com/a15deb00fe322494ce3830143a5f3e705ecdc577 Cr-Commit-Position: refs/heads/master@{#392783}

Patch Set 1 #

Total comments: 11

Patch Set 2 : fix tabs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+349 lines, -1576 lines) Patch
M ash/ash.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M ash/system/web_notification/ash_popup_alignment_delegate.h View 1 chunk +1 line, -5 lines 0 comments Download
M chrome/browser/ui/window_sizer/window_sizer.h View 1 chunk +1 line, -2 lines 0 comments Download
M content/shell/browser/shell.h View 1 chunk +2 lines, -4 lines 0 comments Download
M media/media.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M ui/display/BUILD.gn View 5 chunks +27 lines, -0 lines 0 comments Download
A + ui/display/android/screen_android.cc View 4 chunks +12 lines, -12 lines 0 comments Download
M ui/display/display.gyp View 1 6 chunks +21 lines, -1 line 0 comments Download
A + ui/display/display_change_notifier.h View 2 chunks +10 lines, -8 lines 0 comments Download
A + ui/display/display_change_notifier.cc View 4 chunks +12 lines, -16 lines 0 comments Download
A + ui/display/display_change_notifier_unittest.cc View 10 chunks +38 lines, -47 lines 0 comments Download
M ui/display/display_finder.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/display/display_observer.h View 1 chunk +37 lines, -5 lines 0 comments Download
A + ui/display/display_observer.cc View 1 chunk +4 lines, -5 lines 0 comments Download
A + ui/display/display_unittest.cc View 2 chunks +14 lines, -16 lines 0 comments Download
A + ui/display/ios/screen_ios.mm View 2 chunks +16 lines, -17 lines 0 comments Download
A + ui/display/mac/screen_mac.mm View 11 chunks +32 lines, -37 lines 0 comments Download
M ui/display/screen.h View 1 chunk +89 lines, -7 lines 0 comments Download
A + ui/display/screen.cc View 3 chunks +8 lines, -9 lines 0 comments Download
A + ui/display/screen_aura.cc View 1 chunk +3 lines, -3 lines 0 comments Download
A + ui/display/screen_unittest.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M ui/display/test/test_screen.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/display/win/screen_win.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/events/events.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M ui/gfx/BUILD.gn View 7 chunks +2 lines, -27 lines 0 comments Download
D ui/gfx/display_change_notifier.h View 1 chunk +0 lines, -44 lines 0 comments Download
D ui/gfx/display_change_notifier.cc View 1 chunk +0 lines, -94 lines 0 comments Download
D ui/gfx/display_change_notifier_unittest.cc View 1 chunk +0 lines, -483 lines 0 comments Download
D ui/gfx/display_observer.h View 1 chunk +0 lines, -46 lines 0 comments Download
D ui/gfx/display_observer.cc View 1 chunk +0 lines, -12 lines 0 comments Download
M ui/gfx/gfx.gyp View 4 chunks +1 line, -15 lines 0 comments Download
M ui/gfx/gfx_tests.gyp View 3 chunks +1 line, -8 lines 0 comments Download
D ui/gfx/screen.h View 1 chunk +0 lines, -96 lines 0 comments Download
D ui/gfx/screen.cc View 1 chunk +0 lines, -50 lines 0 comments Download
D ui/gfx/screen_android.cc View 1 chunk +0 lines, -87 lines 0 comments Download
D ui/gfx/screen_aura.cc View 1 chunk +0 lines, -16 lines 0 comments Download
D ui/gfx/screen_ios.mm View 1 chunk +0 lines, -88 lines 0 comments Download
D ui/gfx/screen_mac.mm View 1 chunk +0 lines, -269 lines 0 comments Download
D ui/gfx/screen_unittest.cc View 1 chunk +0 lines, -23 lines 0 comments Download
M ui/message_center/views/desktop_popup_alignment_delegate.h View 1 chunk +1 line, -5 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_factory_ozone.h View 1 chunk +3 lines, -4 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_screen.h View 1 chunk +1 line, -5 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_screen_x11.h View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 33 (14 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/1964153002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1964153002/1
4 years, 7 months ago (2016-05-10 20:56:26 UTC) #3
oshima
4 years, 7 months ago (2016-05-10 21:09:27 UTC) #5
scottmg
lgtm https://codereview.chromium.org/1964153002/diff/1/ui/display/BUILD.gn File ui/display/BUILD.gn (right): https://codereview.chromium.org/1964153002/diff/1/ui/display/BUILD.gn#newcode199 ui/display/BUILD.gn:199: sources -= [ "screen_unittest.cc" ] Why is this ...
4 years, 7 months ago (2016-05-10 21:34:37 UTC) #6
oshima
https://codereview.chromium.org/1964153002/diff/1/ui/display/BUILD.gn File ui/display/BUILD.gn (right): https://codereview.chromium.org/1964153002/diff/1/ui/display/BUILD.gn#newcode199 ui/display/BUILD.gn:199: sources -= [ "screen_unittest.cc" ] On 2016/05/10 21:34:37, scottmg ...
4 years, 7 months ago (2016-05-10 22:00:51 UTC) #7
scottmg
https://codereview.chromium.org/1964153002/diff/1/ui/display/display_observer.h File ui/display/display_observer.h (right): https://codereview.chromium.org/1964153002/diff/1/ui/display/display_observer.h#newcode46 ui/display/display_observer.h:46: }; On 2016/05/10 22:00:51, oshima wrote: > On 2016/05/10 ...
4 years, 7 months ago (2016-05-10 22:06:43 UTC) #8
oshima
tbr'ing trivial changes in the following directories mkwst@ -> content/shell watk@ -> media/ sky@ -> ...
4 years, 7 months ago (2016-05-10 22:17:49 UTC) #13
stevenjb
lgtm
4 years, 7 months ago (2016-05-10 22:26:39 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1964153002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1964153002/1
4 years, 7 months ago (2016-05-10 22:33:01 UTC) #17
oshima
https://codereview.chromium.org/1964153002/diff/1/ui/display/display.gyp File ui/display/display.gyp (right): https://codereview.chromium.org/1964153002/diff/1/ui/display/display.gyp#newcode49 ui/display/display.gyp:49: 'android/screen_android.cc', On 2016/05/10 21:34:37, scottmg wrote: > indent forgot ...
4 years, 7 months ago (2016-05-10 22:36:11 UTC) #18
scottmg
https://codereview.chromium.org/1964153002/diff/1/ui/display/display.gyp File ui/display/display.gyp (right): https://codereview.chromium.org/1964153002/diff/1/ui/display/display.gyp#newcode49 ui/display/display.gyp:49: 'android/screen_android.cc', On 2016/05/10 22:36:11, oshima wrote: > On 2016/05/10 ...
4 years, 7 months ago (2016-05-10 22:42:19 UTC) #19
scottmg
4 years, 7 months ago (2016-05-10 22:42:23 UTC) #20
scottmg
https://codereview.chromium.org/1964153002/diff/1/ui/display/display.gyp File ui/display/display.gyp (right): https://codereview.chromium.org/1964153002/diff/1/ui/display/display.gyp#newcode49 ui/display/display.gyp:49: 'android/screen_android.cc', On 2016/05/10 22:42:19, scottmg wrote: > On 2016/05/10 ...
4 years, 7 months ago (2016-05-10 22:43:19 UTC) #21
oshima
https://codereview.chromium.org/1964153002/diff/1/ui/display/display.gyp File ui/display/display.gyp (right): https://codereview.chromium.org/1964153002/diff/1/ui/display/display.gyp#newcode49 ui/display/display.gyp:49: 'android/screen_android.cc', On 2016/05/10 22:43:19, scottmg wrote: > On 2016/05/10 ...
4 years, 7 months ago (2016-05-10 22:51:54 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1964153002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1964153002/20001
4 years, 7 months ago (2016-05-10 22:52:39 UTC) #26
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-11 00:19:44 UTC) #28
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/a15deb00fe322494ce3830143a5f3e705ecdc577 Cr-Commit-Position: refs/heads/master@{#392783}
4 years, 7 months ago (2016-05-11 00:22:12 UTC) #30
chcunningham
On 2016/05/11 00:22:12, commit-bot: I haz the power wrote: > Patchset 2 (id:??) landed as ...
4 years, 7 months ago (2016-05-18 17:44:47 UTC) #31
watk
On 2016/05/18 17:44:47, chcunningham wrote: > On 2016/05/11 00:22:12, commit-bot: I haz the power wrote: ...
4 years, 7 months ago (2016-05-18 18:15:16 UTC) #32
oshima
4 years, 7 months ago (2016-05-19 18:22:48 UTC) #33
Message was sent while issue was closed.
On 2016/05/18 18:15:16, watk wrote:
> On 2016/05/18 17:44:47, chcunningham wrote:
> > On 2016/05/11 00:22:12, commit-bot: I haz the power wrote:
> > > Patchset 2 (id:??) landed as
> > > https://crrev.com/a15deb00fe322494ce3830143a5f3e705ecdc577
> > > Cr-Commit-Position: refs/heads/master@{#392783}
> > 
> > Did this break gyp? I'm getting this error now:
> > 
> > ninja: error: '../../ui/gfx/android/screen_android.cc', needed by
> > 'obj/ui/gfx/android/gfx.screen_android.o', missing and no known rule to make
> it
> > 
> > I know I know... gyp is deprecated. I'm building blink_tests for android (gn
> > support is not quite there for this target yet).
> 
> Looks like android/screen_android.cc needs to be deleted from ui/gfx/gfx.gyp?

https://codereview.chromium.org/1994253002/ sent. Sorry for trouble.

Powered by Google App Engine
This is Rietveld 408576698