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

Issue 2027943002: [WIP] Make content_shell run under Wayland

Created:
4 years, 6 months ago by joone
Modified:
4 years, 2 months ago
CC:
chromium-reviews, dcheng, dshwang, Michael Forney, kalyan, kalyank, ozone-reviews_chromium.org, tfarina, vignatti (out of this project), tonikitoo
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ozone/platform/wayland: Make content_shell run under Wayland This is upstream work for the ozone-wayland project: https://github.com/01org/ozone-wayland BUG=578890 This CL includes the following CLs to make content_shell work: https://codereview.chromium.org/2024953007/ Here are GN build arguments for building content_shell: use_ozone= true ozone_platform_wayland= true use_wayland_egl= false Build & Run $ gn args out/Release $ ninja -C out/Release content_shell $ out/Release/content_shell --ozone-platform=wayland

Patch Set 1 : #

Total comments: 18

Patch Set 2 : rebase on tonikitoo's CL (included) #

Total comments: 1

Patch Set 3 : rebase on master #

Patch Set 4 : Remove desktop_platform_screen_delegate.h #

Patch Set 5 : Rebase on master and add OzonePlatformScreenDelegate #

Patch Set 6 : Don't use MessageLoop::PostTask #

Patch Set 7 : (09.28.2016)Rebase on master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1368 lines, -30 lines) Patch
M ui/ozone/platform/wayland/ozone_platform_wayland.cc View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M ui/ozone/platform/wayland/wayland_connection.h View 1 2 3 4 5 6 5 chunks +6 lines, -0 lines 0 comments Download
M ui/ozone/platform/wayland/wayland_connection.cc View 1 2 3 4 5 6 4 chunks +16 lines, -2 lines 0 comments Download
M ui/ozone/platform/wayland/wayland_connection_unittest.cc View 1 2 3 4 5 6 2 chunks +4 lines, -4 lines 0 comments Download
M ui/ozone/platform/wayland/wayland_output.h View 1 2 3 4 5 6 2 chunks +2 lines, -11 lines 0 comments Download
M ui/ozone/platform/wayland/wayland_output.cc View 1 2 3 4 5 6 2 chunks +7 lines, -4 lines 0 comments Download
M ui/ozone/public/ozone_platform.h View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
A ui/ozone/public/ozone_platform_screen_delegate.h View 1 2 3 4 1 chunk +24 lines, -0 lines 0 comments Download
M ui/views/BUILD.gn View 1 2 3 4 5 6 3 chunks +35 lines, -0 lines 0 comments Download
M ui/views/DEPS View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_factory_ozone.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_factory_ozone.cc View 1 1 chunk +16 lines, -6 lines 0 comments Download
A ui/views/widget/desktop_aura/desktop_factory_ozone_stubs.h View 1 2 3 4 1 chunk +18 lines, -0 lines 0 comments Download
A ui/views/widget/desktop_aura/desktop_factory_ozone_stubs.cc View 1 2 3 4 1 chunk +21 lines, -0 lines 0 comments Download
A ui/views/widget/desktop_aura/desktop_factory_ozone_wayland.h View 1 2 1 chunk +41 lines, -0 lines 0 comments Download
A ui/views/widget/desktop_aura/desktop_factory_ozone_wayland.cc View 1 1 chunk +29 lines, -0 lines 0 comments Download
A ui/views/widget/desktop_aura/desktop_screen_wayland.h View 1 2 3 4 1 chunk +61 lines, -0 lines 0 comments Download
A ui/views/widget/desktop_aura/desktop_screen_wayland.cc View 1 2 3 4 1 chunk +102 lines, -0 lines 0 comments Download
A ui/views/widget/desktop_aura/desktop_window_tree_host_wayland.h View 1 2 3 4 1 chunk +191 lines, -0 lines 0 comments Download
A ui/views/widget/desktop_aura/desktop_window_tree_host_wayland.cc View 1 2 3 4 5 1 chunk +781 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (22 generated)
joone
Hi, I'm trying to run content_shell under Wayland. Currently, It works in Weston, but it ...
4 years, 6 months ago (2016-06-01 20:26:36 UTC) #6
Michael Forney
Please make the corresponding changes to BUILD.gn so that the gn build doesn't break. Also, ...
4 years, 6 months ago (2016-06-01 20:48:02 UTC) #7
joone
forney@ thanks for the review. Here is the separate CL that includes the changes in ...
4 years, 6 months ago (2016-06-03 22:43:10 UTC) #8
tonikitoo
hi joone. This looks promising. I have left some overall comments, but this is how ...
4 years, 6 months ago (2016-06-06 15:29:59 UTC) #10
joone
tonikitoo, thanks for the review. I will update the CL soon. https://codereview.chromium.org/2027943002/diff/60001/ui/ozone/platform/wayland/ozone_platform_wayland.cc File ui/ozone/platform/wayland/ozone_platform_wayland.cc (right): ...
4 years, 6 months ago (2016-06-06 18:22:22 UTC) #11
zoli
https://codereview.chromium.org/2027943002/diff/100001/ui/aura/window_tree_host.cc File ui/aura/window_tree_host.cc (right): https://codereview.chromium.org/2027943002/diff/100001/ui/aura/window_tree_host.cc#newcode67 ui/aura/window_tree_host.cc:67: display::Screen::GetScreen()->WaitForScreenSizeAvailable(); Missing dependency on //ui/display. This will break the ...
4 years, 5 months ago (2016-07-18 06:53:33 UTC) #15
reveman
+hoegsberg
4 years, 5 months ago (2016-07-18 17:22:49 UTC) #17
joone
4 years, 2 months ago (2016-10-10 19:36:40 UTC) #30
Landed https://codereview.chromium.org/2042503002/ and rebased this CL on it.

Powered by Google App Engine
This is Rietveld 408576698