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

Issue 375053002: ozone: Port WindowTreeHostOzone on top of PlatformWindow (Closed)

Created:
6 years, 5 months ago by spang
Modified:
6 years, 5 months ago
Reviewers:
sadrul
CC:
chromium-reviews, rjkroege, sadrul, ben+aura_chromium.org, ozone-reviews_chromium.org, kalyank
Project:
chromium
Visibility:
Public.

Description

ozone: Port WindowTreeHostOzone on top of PlatformWindow Most of the WindowTreeHost functionality is actually implemented by the platform window, so there's not much in WindowTreeHostOzone aside from forwarding calls to and from the platform part. Should be no functional change for in-tree platforms. To accomplish that, this adds a transitional class PlatformWindowCompat that implements PlatformWindow functions as WindowTreeHostOzone did before. As a followup, we'll convert each platform to use the new PlatformWindow natively & then remove PlatformWindowCompat. BUG=392280 TEST=built with chromeos==1 use_ozone==1 & ran all platforms. NOTRY=true TBR=ben@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283573

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : rebase onto sadrul's CL #

Total comments: 5

Patch Set 4 : move platform event dispatch to compat window #

Patch Set 5 : merge PlatformWindowBase into PlatformWindowCompat #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+256 lines, -43 lines) Patch
M ui/aura/DEPS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ui/aura/window_tree_host_ozone.h View 1 2 3 2 chunks +20 lines, -9 lines 0 comments Download
M ui/aura/window_tree_host_ozone.cc View 1 2 3 2 chunks +50 lines, -34 lines 0 comments Download
M ui/ozone/DEPS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A ui/ozone/common/window/platform_window_compat.h View 1 2 3 4 1 chunk +59 lines, -0 lines 0 comments Download
A ui/ozone/common/window/platform_window_compat.cc View 1 2 3 4 1 chunk +79 lines, -0 lines 0 comments Download
M ui/ozone/ozone.gyp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M ui/ozone/platform/caca/ozone_platform_caca.cc View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download
M ui/ozone/platform/dri/ozone_platform_dri.cc View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download
M ui/ozone/platform/dri/ozone_platform_gbm.cc View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download
M ui/ozone/platform/egltest/ozone_platform_egltest.cc View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download
M ui/ozone/platform/test/ozone_platform_test.cc View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download
M ui/ozone/public/ozone_platform.h View 1 2 3 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
spang
depends on https://codereview.chromium.org/378003003/
6 years, 5 months ago (2014-07-08 21:51:15 UTC) #1
spang
6 years, 5 months ago (2014-07-11 18:01:44 UTC) #2
spang
PTAL
6 years, 5 months ago (2014-07-14 22:09:42 UTC) #3
sadrul
https://codereview.chromium.org/375053002/diff/40001/ui/aura/window_tree_host_ozone.h File ui/aura/window_tree_host_ozone.h (right): https://codereview.chromium.org/375053002/diff/40001/ui/aura/window_tree_host_ozone.h#newcode26 ui/aura/window_tree_host_ozone.h:26: public ui::PlatformEventDispatcher, It should no longer be necessary for ...
6 years, 5 months ago (2014-07-14 22:58:07 UTC) #4
spang
https://codereview.chromium.org/375053002/diff/40001/ui/aura/window_tree_host_ozone.h File ui/aura/window_tree_host_ozone.h (right): https://codereview.chromium.org/375053002/diff/40001/ui/aura/window_tree_host_ozone.h#newcode26 ui/aura/window_tree_host_ozone.h:26: public ui::PlatformEventDispatcher, On 2014/07/14 22:58:07, sadrul wrote: > It ...
6 years, 5 months ago (2014-07-14 23:17:41 UTC) #5
spang
On 2014/07/14 23:17:41, spang wrote: > https://codereview.chromium.org/375053002/diff/40001/ui/aura/window_tree_host_ozone.h > File ui/aura/window_tree_host_ozone.h (right): > > https://codereview.chromium.org/375053002/diff/40001/ui/aura/window_tree_host_ozone.h#newcode26 > ...
6 years, 5 months ago (2014-07-14 23:26:11 UTC) #6
sadrul
https://codereview.chromium.org/375053002/diff/40001/ui/ozone/common/platform_window_base.h File ui/ozone/common/platform_window_base.h (right): https://codereview.chromium.org/375053002/diff/40001/ui/ozone/common/platform_window_base.h#newcode24 ui/ozone/common/platform_window_base.h:24: class OZONE_EXPORT PlatformWindowBase : public PlatformWindow { On 2014/07/14 ...
6 years, 5 months ago (2014-07-15 16:53:10 UTC) #7
spang
On 2014/07/15 16:53:10, sadrul wrote: > https://codereview.chromium.org/375053002/diff/40001/ui/ozone/common/platform_window_base.h > File ui/ozone/common/platform_window_base.h (right): > > https://codereview.chromium.org/375053002/diff/40001/ui/ozone/common/platform_window_base.h#newcode24 > ...
6 years, 5 months ago (2014-07-15 17:38:16 UTC) #8
sadrul
lgtm
6 years, 5 months ago (2014-07-15 22:49:21 UTC) #9
spang
The CQ bit was checked by spang@chromium.org
6 years, 5 months ago (2014-07-16 18:10:35 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/spang@chromium.org/375053002/100001
6 years, 5 months ago (2014-07-16 18:13:02 UTC) #11
commit-bot: I haz the power
6 years, 5 months ago (2014-07-16 23:27:10 UTC) #12
Message was sent while issue was closed.
Change committed as 283573

Powered by Google App Engine
This is Rietveld 408576698