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

Issue 230763004: Split ui/display types into separate module and have Ozone depend on it (Closed)

Created:
6 years, 8 months ago by dnicoara
Modified:
6 years, 8 months ago
CC:
chromium-reviews, ozone-reviews_chromium.org, sadrul, oshima+watch_chromium.org, kalyank, stevenjb+watch_chromium.org, ben+ash_chromium.org
Visibility:
Public.

Description

Split ui/display types into separate module and have Ozone depend on it New dependency model: ui/ozone -> ui/display/types ui/display -> ui/ozone ui/display -> ui/display/types Note ui/display/types is its own module separate from ui/display. TBR=derat@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=263865

Patch Set 1 #

Total comments: 5

Patch Set 2 : Added DISPLAY_TYPES_EXPORT #

Patch Set 3 : Updated DEPS & delegate initialization & unittests #

Patch Set 4 : . #

Patch Set 5 : Update ozone test platform #

Patch Set 6 : Fix spang@'s comment #

Patch Set 7 : display_types has ony CrOS, so include it only if chromeos==1 #

Total comments: 8

Patch Set 8 : . #

Patch Set 9 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+283 lines, -624 lines) Patch
M apps/shell/browser/shell_desktop_controller.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M ash/ash.gyp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M ash/display/display_change_observer_chromeos.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M ash/display/display_change_observer_chromeos_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ash/display/display_info.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ash/display/projecting_observer_chromeos.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/test/display_manager_test_api.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/lock_state_controller_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/power_button_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/display/chromeos/display_configurator.h View 1 2 3 chunks +17 lines, -9 lines 0 comments Download
M ui/display/chromeos/display_configurator.cc View 1 2 3 chunks +18 lines, -40 lines 0 comments Download
M ui/display/chromeos/display_configurator_unittest.cc View 1 2 2 chunks +4 lines, -6 lines 0 comments Download
D ui/display/chromeos/display_mode.h View 1 chunk +0 lines, -39 lines 0 comments Download
D ui/display/chromeos/display_mode.cc View 1 chunk +0 lines, -28 lines 0 comments Download
D ui/display/chromeos/display_snapshot.h View 1 chunk +0 lines, -91 lines 0 comments Download
D ui/display/chromeos/display_snapshot.cc View 1 chunk +0 lines, -34 lines 0 comments Download
D ui/display/chromeos/native_display_delegate.h View 1 chunk +0 lines, -95 lines 0 comments Download
D ui/display/chromeos/native_display_observer.h View 1 chunk +0 lines, -21 lines 0 comments Download
A + ui/display/chromeos/ozone/DEPS View 1 2 1 chunk +1 line, -1 line 0 comments Download
A ui/display/chromeos/ozone/display_configurator_ozone.cc View 1 2 3 4 5 6 7 1 chunk +19 lines, -0 lines 0 comments Download
D ui/display/chromeos/ozone/native_display_delegate_ozone.h View 1 chunk +0 lines, -51 lines 0 comments Download
D ui/display/chromeos/ozone/native_display_delegate_ozone.cc View 1 chunk +0 lines, -95 lines 0 comments Download
M ui/display/chromeos/test/test_display_snapshot.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
A ui/display/chromeos/x11/display_configurator_x11.cc View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
M ui/display/chromeos/x11/display_mode_x11.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M ui/display/chromeos/x11/display_snapshot_x11.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M ui/display/chromeos/x11/display_util_x11.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/display/chromeos/x11/native_display_delegate_x11.h View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M ui/display/chromeos/x11/native_display_delegate_x11.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ui/display/chromeos/x11/touchscreen_delegate_x11.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M ui/display/display.gyp View 1 2 3 4 5 6 6 chunks +35 lines, -10 lines 0 comments Download
D ui/display/display_constants.h View 1 chunk +0 lines, -52 lines 0 comments Download
M ui/display/display_unittests.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A + ui/display/types/DEPS View 1 1 chunk +2 lines, -1 line 0 comments Download
A + ui/display/types/chromeos/display_mode.h View 1 2 chunks +5 lines, -5 lines 0 comments Download
A + ui/display/types/chromeos/display_mode.cc View 1 chunk +1 line, -1 line 0 comments Download
A + ui/display/types/chromeos/display_snapshot.h View 1 3 chunks +6 lines, -7 lines 0 comments Download
A + ui/display/types/chromeos/display_snapshot.cc View 1 chunk +1 line, -1 line 0 comments Download
A + ui/display/types/chromeos/native_display_delegate.h View 1 3 chunks +6 lines, -6 lines 0 comments Download
A + ui/display/types/chromeos/native_display_observer.h View 1 2 chunks +6 lines, -4 lines 0 comments Download
A + ui/display/types/display_constants.h View 2 chunks +3 lines, -3 lines 0 comments Download
A ui/display/types/display_types_export.h View 1 1 chunk +37 lines, -0 lines 0 comments Download
M ui/display/x11/edid_parser_x11.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/ozone/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
A + ui/ozone/common/chromeos/native_display_delegate_ozone.h View 2 chunks +4 lines, -4 lines 0 comments Download
A + ui/ozone/common/chromeos/native_display_delegate_ozone.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/ozone/ozone.gyp View 1 2 3 4 5 6 7 2 chunks +10 lines, -0 lines 0 comments Download
M ui/ozone/ozone_platform.h View 1 2 3 4 5 6 7 3 chunks +7 lines, -0 lines 0 comments Download
M ui/ozone/ozone_platform.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M ui/ozone/platform/caca/ozone_platform_caca.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M ui/ozone/platform/caca/ozone_platform_caca.cc View 1 2 3 4 5 2 chunks +12 lines, -0 lines 0 comments Download
M ui/ozone/platform/dri/ozone_platform_dri.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M ui/ozone/platform/dri/ozone_platform_dri.cc View 1 2 3 4 5 2 chunks +12 lines, -0 lines 0 comments Download
M ui/ozone/platform/test/ozone_platform_test.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M ui/ozone/platform/test/ozone_platform_test.cc View 1 2 3 4 5 2 chunks +13 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (0 generated)
dnicoara
spang@ suggested a refactoring of the dependency injection model currently used in Ozone. This CL ...
6 years, 8 months ago (2014-04-09 15:11:19 UTC) #1
spang
On 2014/04/09 15:11:19, dnicoara wrote: > spang@ suggested a refactoring of the dependency injection model ...
6 years, 8 months ago (2014-04-09 15:45:02 UTC) #2
rjkroege
On 2014/04/09 15:11:19, dnicoara wrote: > spang@ suggested a refactoring of the dependency injection model ...
6 years, 8 months ago (2014-04-09 15:49:50 UTC) #3
spang
On 2014/04/09 15:49:50, rjkroege wrote: > On 2014/04/09 15:11:19, dnicoara wrote: > > spang@ suggested ...
6 years, 8 months ago (2014-04-09 16:00:50 UTC) #4
dnicoara
On 2014/04/09 16:00:50, spang wrote: > On 2014/04/09 15:49:50, rjkroege wrote: > > On 2014/04/09 ...
6 years, 8 months ago (2014-04-09 16:04:56 UTC) #5
oshima
On Wed, Apr 9, 2014 at 9:04 AM, <dnicoara@chromium.org> wrote: > On 2014/04/09 16:00:50, spang ...
6 years, 8 months ago (2014-04-09 16:42:46 UTC) #6
dnicoara
On 2014/04/09 16:42:46, oshima wrote: > On Wed, Apr 9, 2014 at 9:04 AM, <mailto:dnicoara@chromium.org> ...
6 years, 8 months ago (2014-04-09 16:45:39 UTC) #7
spang
On 2014/04/09 16:45:39, dnicoara wrote: > On 2014/04/09 16:42:46, oshima wrote: > > On Wed, ...
6 years, 8 months ago (2014-04-09 16:51:35 UTC) #8
Daniel Erat
i don't think i have any objections to this approach.
6 years, 8 months ago (2014-04-09 20:31:02 UTC) #9
spang
https://codereview.chromium.org/230763004/diff/1/ui/display/types/DEPS File ui/display/types/DEPS (right): https://codereview.chromium.org/230763004/diff/1/ui/display/types/DEPS#newcode3 ui/display/types/DEPS:3: "+ui/display/display_export.h", You need a new display_types_export.h for the new ...
6 years, 8 months ago (2014-04-09 22:31:48 UTC) #10
spang
https://codereview.chromium.org/230763004/diff/1/ui/display/display.gyp File ui/display/display.gyp (right): https://codereview.chromium.org/230763004/diff/1/ui/display/display.gyp#newcode18 ui/display/display.gyp:18: 'DISPLAY_IMPLEMENTATION', DISPLAY_TYPES_IMPLEMENTATION This relates to the DISPLAY_TYPES_EXPORT macro that ...
6 years, 8 months ago (2014-04-09 22:33:32 UTC) #11
oshima
i'm fine with it too. one q. https://codereview.chromium.org/230763004/diff/1/ui/display/DEPS File ui/display/DEPS (right): https://codereview.chromium.org/230763004/diff/1/ui/display/DEPS#newcode4 ui/display/DEPS:4: "+ui/ozone", where ...
6 years, 8 months ago (2014-04-09 23:40:36 UTC) #12
spang
On 2014/04/09 23:40:36, oshima wrote: > i'm fine with it too. one q. > > ...
6 years, 8 months ago (2014-04-09 23:47:08 UTC) #13
dnicoara
https://codereview.chromium.org/230763004/diff/1/ui/display/display.gyp File ui/display/display.gyp (right): https://codereview.chromium.org/230763004/diff/1/ui/display/display.gyp#newcode18 ui/display/display.gyp:18: 'DISPLAY_IMPLEMENTATION', On 2014/04/09 22:33:33, spang wrote: > DISPLAY_TYPES_IMPLEMENTATION > ...
6 years, 8 months ago (2014-04-10 01:22:25 UTC) #14
oshima
On 2014/04/09 23:47:08, spang wrote: > On 2014/04/09 23:40:36, oshima wrote: > > i'm fine ...
6 years, 8 months ago (2014-04-10 14:29:37 UTC) #15
dnicoara
On 2014/04/10 14:29:37, oshima wrote: > On 2014/04/09 23:47:08, spang wrote: > > On 2014/04/09 ...
6 years, 8 months ago (2014-04-10 15:06:33 UTC) #16
oshima
On 2014/04/10 15:06:33, dnicoara wrote: > On 2014/04/10 14:29:37, oshima wrote: > > On 2014/04/09 ...
6 years, 8 months ago (2014-04-10 16:40:22 UTC) #17
dnicoara
Updated based on oshima@'s advice. Also updated all remaining unittest dependencies & includes.
6 years, 8 months ago (2014-04-10 19:56:31 UTC) #18
oshima
On 2014/04/10 19:56:31, dnicoara wrote: > Updated based on oshima@'s advice. Also updated all remaining ...
6 years, 8 months ago (2014-04-10 22:31:56 UTC) #19
spang
On 2014/04/10 22:31:56, oshima (OOO April 11 - 21) wrote: > On 2014/04/10 19:56:31, dnicoara ...
6 years, 8 months ago (2014-04-11 19:11:29 UTC) #20
dnicoara
On 2014/04/11 19:11:29, spang wrote: > On 2014/04/10 22:31:56, oshima (OOO April 11 - 21) ...
6 years, 8 months ago (2014-04-11 19:49:06 UTC) #21
rjkroege
I'm still not sure that I like this approach but if I have a better ...
6 years, 8 months ago (2014-04-11 21:53:08 UTC) #22
dnicoara
https://codereview.chromium.org/230763004/diff/100001/ash/ash.gyp File ash/ash.gyp (right): https://codereview.chromium.org/230763004/diff/100001/ash/ash.gyp#newcode1071 ash/ash.gyp:1071: '../ui/display/display.gyp:display_types', On 2014/04/11 21:53:09, rjkroege wrote: > this is ...
6 years, 8 months ago (2014-04-14 14:43:03 UTC) #23
dnicoara
The CQ bit was checked by dnicoara@chromium.org
6 years, 8 months ago (2014-04-14 14:43:36 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dnicoara@chromium.org/230763004/120001
6 years, 8 months ago (2014-04-14 14:43:53 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-14 18:56:35 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_rel
6 years, 8 months ago (2014-04-14 18:56:36 UTC) #27
dnicoara
The CQ bit was checked by dnicoara@chromium.org
6 years, 8 months ago (2014-04-14 18:58:51 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dnicoara@chromium.org/230763004/120001
6 years, 8 months ago (2014-04-14 18:59:21 UTC) #29
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-14 22:27:24 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_rel
6 years, 8 months ago (2014-04-14 22:27:25 UTC) #31
dnicoara
The CQ bit was checked by dnicoara@chromium.org
6 years, 8 months ago (2014-04-15 14:01:48 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dnicoara@chromium.org/230763004/140001
6 years, 8 months ago (2014-04-15 14:02:17 UTC) #33
commit-bot: I haz the power
6 years, 8 months ago (2014-04-15 16:26:57 UTC) #34
Message was sent while issue was closed.
Change committed as 263865

Powered by Google App Engine
This is Rietveld 408576698