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

Issue 2585633004: ozone: Allow ozone evdev/kvm features to be enabled without running on ChromeOS. (Closed)

Created:
4 years ago by reveman
Modified:
3 years, 11 months ago
Reviewers:
rjkroege, Nico, oshima, sky
CC:
chromium-reviews, davemoore+watch_chromium.org, kalyank, nona+watch_chromium.org, oshima+watch_chromium.org, rjkroege, sadrul, shuchen+watch_chromium.org, yusukes+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ozone: Allow ozone evdev/kvm features to be enabled without running on ChromeOS. Adds a new "IsRunningAsSystemCompositor" flag for ChromeOS builds. This flag can be used to enable ChromeOS system compositor features without having to be running on a real ChromeOS device. This is useful for testing purposes as it allows evdev input system and the GBM ozone platform to be used on a workstation. BUG=677267 Review-Url: https://codereview.chromium.org/2585633004 Cr-Commit-Position: refs/heads/master@{#442507} Committed: https://chromium.googlesource.com/chromium/src/+/241589803c85731c3bd032ad828b3001300c3643

Patch Set 1 #

Patch Set 2 : v2 #

Patch Set 3 : rebase #

Patch Set 4 : fix bad rebase #

Total comments: 6

Patch Set 5 : use stub timezone settings impl #

Patch Set 6 : move flag to chromeos/ #

Patch Set 7 : Add missing BUILD.gn deps #

Patch Set 8 : only add //chromeos to deps if is_chromeos #

Total comments: 6

Patch Set 9 : avoid use of lazy instance and remove disable flag #

Patch Set 10 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -16 lines) Patch
M ash/display/display_configuration_controller.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M ash/shell.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/input_method/input_method_manager_impl.cc View 1 2 3 4 5 6 7 8 9 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/preferences.cc View 1 2 3 4 5 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/system/input_device_settings_impl_ozone.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chromeos/chromeos.gyp View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chromeos/chromeos_switches.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/chromeos_switches.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
A chromeos/system/devicemode.h View 1 2 3 4 5 1 chunk +18 lines, -0 lines 0 comments Download
A chromeos/system/devicemode.cc View 1 2 3 4 5 6 7 8 1 chunk +21 lines, -0 lines 0 comments Download
M services/ui/DEPS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M services/ui/display/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M services/ui/display/screen_manager_ozone.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M ui/base/ime/DEPS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ui/base/ime/input_method_chromeos.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M ui/display/manager/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M ui/display/manager/DEPS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ui/display/manager/chromeos/display_configurator.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M ui/display/manager/display_manager.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 51 (26 generated)
reveman
3 years, 11 months ago (2016-12-30 16:18:31 UTC) #5
rjkroege
https://codereview.chromium.org/2585633004/diff/60001/ash/shell.cc File ash/shell.cc (right): https://codereview.chromium.org/2585633004/diff/60001/ash/shell.cc#newcode619 ash/shell.cc:619: if (!display_initialized && base::SysInfo::IsRunningAsSystemCompositor()) { does this risk breaking ...
3 years, 11 months ago (2017-01-02 01:26:27 UTC) #6
reveman
ptal https://codereview.chromium.org/2585633004/diff/60001/ash/shell.cc File ash/shell.cc (right): https://codereview.chromium.org/2585633004/diff/60001/ash/shell.cc#newcode619 ash/shell.cc:619: if (!display_initialized && base::SysInfo::IsRunningAsSystemCompositor()) { On 2017/01/02 at ...
3 years, 11 months ago (2017-01-02 07:11:32 UTC) #7
rjkroege
lgtm
3 years, 11 months ago (2017-01-03 18:53:00 UTC) #8
reveman
+thakis for base/ +sky for ash/ chrome/ ui/ services/
3 years, 11 months ago (2017-01-03 22:03:08 UTC) #10
Nico
why is this in base/? "compositor" doesn't seem very base-y.
3 years, 11 months ago (2017-01-03 22:40:14 UTC) #13
reveman
On 2017/01/03 at 22:40:14, thakis wrote: > why is this in base/? "compositor" doesn't seem ...
3 years, 11 months ago (2017-01-03 23:38:08 UTC) #16
Nico
ui/ sounds more appropriate from a distance, at least :-) On Tue, Jan 3, 2017 ...
3 years, 11 months ago (2017-01-03 23:39:32 UTC) #17
sky
On 2017/01/03 23:38:08, reveman wrote: > On 2017/01/03 at 22:40:14, thakis wrote: > > why ...
3 years, 11 months ago (2017-01-04 00:14:14 UTC) #18
sky
Alternatively would it make sense to put this in chromeos/ or ui/chromeos? All the files ...
3 years, 11 months ago (2017-01-04 00:19:45 UTC) #19
reveman
On 2017/01/04 at 00:19:45, sky wrote: > Alternatively would it make sense to put this ...
3 years, 11 months ago (2017-01-04 00:37:56 UTC) #20
sky
I'm fine with ui/ozone. On Tue, Jan 3, 2017 at 4:37 PM, <reveman@chromium.org> wrote: > ...
3 years, 11 months ago (2017-01-04 00:38:50 UTC) #21
reveman
I decided to move this to chromeos/ after all. Long term we might want to ...
3 years, 11 months ago (2017-01-04 12:37:17 UTC) #23
reveman
+oshima for chromeos/
3 years, 11 months ago (2017-01-04 12:37:53 UTC) #25
sky
I'm surprised you don't need to update deps in any BUILD.gn files for the ui/display ...
3 years, 11 months ago (2017-01-04 16:39:06 UTC) #26
reveman
On 2017/01/04 at 16:39:06, sky wrote: > I'm surprised you don't need to update deps ...
3 years, 11 months ago (2017-01-05 04:47:20 UTC) #27
sky
LGTM
3 years, 11 months ago (2017-01-05 17:13:34 UTC) #36
oshima
https://codereview.chromium.org/2585633004/diff/140001/chromeos/chromeos_switches.cc File chromeos/chromeos_switches.cc (right): https://codereview.chromium.org/2585633004/diff/140001/chromeos/chromeos_switches.cc#newcode425 chromeos/chromeos_switches.cc:425: const char kDisableSystemCompositorMode[] = "disable-system-compositor-mode"; optional suggestion: FeatureList instead ...
3 years, 11 months ago (2017-01-05 22:43:57 UTC) #37
reveman
ptal https://codereview.chromium.org/2585633004/diff/140001/chromeos/chromeos_switches.cc File chromeos/chromeos_switches.cc (right): https://codereview.chromium.org/2585633004/diff/140001/chromeos/chromeos_switches.cc#newcode425 chromeos/chromeos_switches.cc:425: const char kDisableSystemCompositorMode[] = "disable-system-compositor-mode"; On 2017/01/05 at ...
3 years, 11 months ago (2017-01-06 08:15:15 UTC) #38
oshima
lgtm https://codereview.chromium.org/2585633004/diff/140001/chromeos/system/devicemode.cc File chromeos/system/devicemode.cc (right): https://codereview.chromium.org/2585633004/diff/140001/chromeos/system/devicemode.cc#newcode37 chromeos/system/devicemode.cc:37: LAZY_INSTANCE_INITIALIZER; On 2017/01/06 08:15:14, reveman wrote: > On ...
3 years, 11 months ago (2017-01-09 19:09:12 UTC) #39
reveman
Thanks for the reviews https://codereview.chromium.org/2585633004/diff/140001/chromeos/system/devicemode.cc File chromeos/system/devicemode.cc (right): https://codereview.chromium.org/2585633004/diff/140001/chromeos/system/devicemode.cc#newcode37 chromeos/system/devicemode.cc:37: LAZY_INSTANCE_INITIALIZER; On 2017/01/09 at 19:09:12, ...
3 years, 11 months ago (2017-01-09 22:51:50 UTC) #41
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/2585633004/160001
3 years, 11 months ago (2017-01-09 22:52:48 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/132552) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 11 months ago (2017-01-09 22:55:46 UTC) #45
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/2585633004/180001
3 years, 11 months ago (2017-01-10 03:25:48 UTC) #48
commit-bot: I haz the power
3 years, 11 months ago (2017-01-10 05:59:19 UTC) #51
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/241589803c85731c3bd032ad828b...

Powered by Google App Engine
This is Rietveld 408576698