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

Issue 341983008: Listen to Display reconfiguration and notify DisplayObservers on Mac. (Closed)

Created:
6 years, 6 months ago by mlamouri (slow - plz ping)
Modified:
6 years, 5 months ago
CC:
ben+views_chromium.org, chromium-reviews, tdanderson+views_chromium.org, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@mac_display
Project:
chromium
Visibility:
Public.

Description

Listen to Display reconfiguration and notify DisplayObservers on Mac. This is including some refactoring with the DestopScreenX11 implementation. TBR=sky@chromium.org (for BUILD.gn changes because brettw@ doens't formally own it) BUG=122863, 162827 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284227

Patch Set 1 #

Patch Set 2 : add missing files #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : plug to RWHVMac #

Total comments: 9

Patch Set 6 : review comments #

Total comments: 2

Patch Set 7 : #

Patch Set 8 : review comments + tests #

Total comments: 12

Patch Set 9 : review comments #

Patch Set 10 : fix ASSERT_DEATH to be debug only #

Patch Set 11 : fix screen x11 tests #

Patch Set 12 : fix breakages #

Patch Set 13 : don't compile test on Android #

Patch Set 14 : #

Patch Set 15 : rebase #

Patch Set 16 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+824 lines, -153 lines) Patch
M content/browser/renderer_host/render_widget_host_view_mac.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +9 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +22 lines, -0 lines 0 comments Download
M ui/gfx/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
A ui/gfx/display_change_notifier.h View 1 2 3 4 5 6 7 1 chunk +43 lines, -0 lines 0 comments Download
A ui/gfx/display_change_notifier.cc View 1 2 3 4 5 6 7 8 1 chunk +92 lines, -0 lines 0 comments Download
A ui/gfx/display_change_notifier_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +498 lines, -0 lines 0 comments Download
M ui/gfx/gfx.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M ui/gfx/gfx_tests.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +6 lines, -0 lines 0 comments Download
M ui/gfx/screen_mac.mm View 1 2 3 4 5 6 7 4 chunks +106 lines, -49 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_screen_x11.h View 1 2 3 4 5 6 7 3 chunks +2 lines, -6 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_screen_x11.cc View 1 2 3 4 5 6 4 chunks +6 lines, -67 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 14 chunks +36 lines, -30 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
mlamouri (slow - plz ping)
erg@ and oshima@, could you have a look at this?
6 years, 6 months ago (2014-06-24 18:39:46 UTC) #1
mlamouri (slow - plz ping)
On 2014/06/24 18:39:46, Mounir Lamouri wrote: > erg@ and oshima@, could you have a look ...
6 years, 6 months ago (2014-06-24 18:41:03 UTC) #2
mlamouri (slow - plz ping)
I forgot to plug things up to the RWHVMac. This is now done and tested ...
6 years, 6 months ago (2014-06-25 13:18:16 UTC) #3
Elliot Glaysher
Please note that when you add multiple people to a code review, this usually just ...
6 years, 6 months ago (2014-06-26 18:11:43 UTC) #4
mlamouri (slow - plz ping)
On 2014/06/26 at 18:11:43, erg wrote: > Please note that when you add multiple people ...
6 years, 6 months ago (2014-06-26 22:21:40 UTC) #5
Elliot Glaysher
It looks like the part you want me to review just moves stuff out. lgtm ...
6 years, 5 months ago (2014-06-27 18:08:47 UTC) #6
mlamouri (slow - plz ping)
On 2014/06/27 at 18:08:47, erg wrote: > It looks like the part you want me ...
6 years, 5 months ago (2014-07-01 14:18:13 UTC) #7
oshima
I'll review this by EOD. (sorry I was OOO last week)
6 years, 5 months ago (2014-07-08 20:41:33 UTC) #8
oshima
https://codereview.chromium.org/341983008/diff/70001/ui/gfx/screen_display_observer_delegate.cc File ui/gfx/screen_display_observer_delegate.cc (right): https://codereview.chromium.org/341983008/diff/70001/ui/gfx/screen_display_observer_delegate.cc#newcode29 ui/gfx/screen_display_observer_delegate.cc:29: bool found = false; can you use std::find_if ? ...
6 years, 5 months ago (2014-07-09 17:12:51 UTC) #9
mlamouri (slow - plz ping)
https://codereview.chromium.org/341983008/diff/70001/ui/gfx/screen_display_observer_delegate.cc File ui/gfx/screen_display_observer_delegate.cc (right): https://codereview.chromium.org/341983008/diff/70001/ui/gfx/screen_display_observer_delegate.cc#newcode29 ui/gfx/screen_display_observer_delegate.cc:29: bool found = false; On 2014/07/09 17:12:51, oshima wrote: ...
6 years, 5 months ago (2014-07-10 12:54:34 UTC) #10
mlamouri (slow - plz ping)
jam@chromium.org: Please review changes in: +content/browser/renderer_host/render_widget_host_view_mac.*
6 years, 5 months ago (2014-07-10 12:57:58 UTC) #11
oshima
https://codereview.chromium.org/341983008/diff/70001/ui/gfx/screen_display_observer_delegate.cc File ui/gfx/screen_display_observer_delegate.cc (right): https://codereview.chromium.org/341983008/diff/70001/ui/gfx/screen_display_observer_delegate.cc#newcode29 ui/gfx/screen_display_observer_delegate.cc:29: bool found = false; On 2014/07/10 12:54:34, Mounir Lamouri ...
6 years, 5 months ago (2014-07-10 18:11:58 UTC) #12
mlamouri (slow - plz ping)
I've added some unit tests and did various cleanups. PTAL. https://codereview.chromium.org/341983008/diff/90001/ui/gfx/gfx.gyp File ui/gfx/gfx.gyp (right): https://codereview.chromium.org/341983008/diff/90001/ui/gfx/gfx.gyp#newcode258 ...
6 years, 5 months ago (2014-07-11 13:47:43 UTC) #13
oshima
lg just a few nits https://codereview.chromium.org/341983008/diff/130001/ui/gfx/display_change_notifier.cc File ui/gfx/display_change_notifier.cc (right): https://codereview.chromium.org/341983008/diff/130001/ui/gfx/display_change_notifier.cc#newcode25 ui/gfx/display_change_notifier.cc:25: const Display& display_; It's ...
6 years, 5 months ago (2014-07-11 19:13:25 UTC) #14
mlamouri (slow - plz ping)
https://codereview.chromium.org/341983008/diff/130001/ui/gfx/display_change_notifier.cc File ui/gfx/display_change_notifier.cc (right): https://codereview.chromium.org/341983008/diff/130001/ui/gfx/display_change_notifier.cc#newcode25 ui/gfx/display_change_notifier.cc:25: const Display& display_; On 2014/07/11 19:13:25, oshima wrote: > ...
6 years, 5 months ago (2014-07-13 15:20:40 UTC) #15
mlamouri (slow - plz ping)
brettw@, could you review the BUILD.gn change?
6 years, 5 months ago (2014-07-13 15:28:17 UTC) #16
oshima
lgtm
6 years, 5 months ago (2014-07-14 14:37:00 UTC) #17
brettw
BUILD.gn LGTM. Feel free to add/remove files from lists in .gn files without getting a ...
6 years, 5 months ago (2014-07-14 19:41:19 UTC) #18
jam
On 2014/07/10 12:57:58, Mounir Lamouri wrote: > mailto:jam@chromium.org: Please review changes in: > +content/browser/renderer_host/render_widget_host_view_mac.* I'm ...
6 years, 5 months ago (2014-07-15 00:42:36 UTC) #19
mlamouri (slow - plz ping)
I don't think the content/browser/ changes are that much Cocoa specific. oshima@, would you be ...
6 years, 5 months ago (2014-07-15 12:24:36 UTC) #20
oshima
On 2014/07/15 12:24:36, Mounir Lamouri wrote: > I don't think the content/browser/ changes are that ...
6 years, 5 months ago (2014-07-15 16:54:41 UTC) #21
mlamouri (slow - plz ping)
On 2014/07/15 16:54:41, oshima wrote: > On 2014/07/15 12:24:36, Mounir Lamouri wrote: > > I ...
6 years, 5 months ago (2014-07-16 11:25:24 UTC) #22
jam
lgtm
6 years, 5 months ago (2014-07-16 18:28:53 UTC) #23
mlamouri (slow - plz ping)
The CQ bit was checked by mlamouri@chromium.org
6 years, 5 months ago (2014-07-18 14:56:34 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlamouri@chromium.org/341983008/290001
6 years, 5 months ago (2014-07-18 14:57:54 UTC) #25
mlamouri (slow - plz ping)
The CQ bit was unchecked by mlamouri@chromium.org
6 years, 5 months ago (2014-07-18 15:28:40 UTC) #26
mlamouri (slow - plz ping)
The CQ bit was checked by mlamouri@chromium.org
6 years, 5 months ago (2014-07-18 15:28:41 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlamouri@chromium.org/341983008/290001
6 years, 5 months ago (2014-07-18 15:29:15 UTC) #28
commit-bot: I haz the power
6 years, 5 months ago (2014-07-18 22:36:15 UTC) #29
Message was sent while issue was closed.
Change committed as 284227

Powered by Google App Engine
This is Rietveld 408576698