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

Issue 378003003: ui/window: Add platform windowing component (Closed)

Created:
6 years, 5 months ago by spang
Modified:
6 years, 5 months ago
CC:
chromium-reviews
Project:
chromium
Visibility:
Public.

Description

ui/window: Add platform windowing component This is stripped down version of sadrul's patch with just the bits needed to make progress on fixing windowing under ozone builds. The overall ideas is: aura (WindowTreeHost), mojo (NativeViewport), and ozone (none yet) need to wrap up platform windows in an interface. We should use the same one to avoid duplication. Original patch: https://codereview.chromium.org/255823009/ BUG=392280 TEST=none

Patch Set 1 #

Patch Set 2 : #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -10 lines) Patch
A ui/window/DEPS View 1 chunk +7 lines, -0 lines 0 comments Download
A ui/window/platform_window.h View 1 chunk +62 lines, -0 lines 0 comments Download
A ui/window/platform_window_delegate.h View 1 chunk +36 lines, -0 lines 3 comments Download
A + ui/window/window.gyp View 1 chunk +8 lines, -10 lines 0 comments Download
A ui/window/window_export.h View 1 chunk +29 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
spang
6 years, 5 months ago (2014-07-11 18:01:00 UTC) #1
Ben Goodger (Google)
https://codereview.chromium.org/378003003/diff/20001/ui/window/platform_window_delegate.h File ui/window/platform_window_delegate.h (right): https://codereview.chromium.org/378003003/diff/20001/ui/window/platform_window_delegate.h#newcode28 ui/window/platform_window_delegate.h:28: virtual void OnCloseRequest() = 0; If this really is ...
6 years, 5 months ago (2014-07-11 18:15:15 UTC) #2
spang
On 2014/07/11 18:15:15, Ben Goodger (Google) wrote: > https://codereview.chromium.org/378003003/diff/20001/ui/window/platform_window_delegate.h > File ui/window/platform_window_delegate.h (right): > > ...
6 years, 5 months ago (2014-07-11 18:36:31 UTC) #3
spang
On 2014/07/11 18:36:31, spang wrote: > On 2014/07/11 18:15:15, Ben Goodger (Google) wrote: > > ...
6 years, 5 months ago (2014-07-11 18:39:31 UTC) #4
sadrul
https://codereview.chromium.org/378003003/diff/20001/ui/window/platform_window_delegate.h File ui/window/platform_window_delegate.h (right): https://codereview.chromium.org/378003003/diff/20001/ui/window/platform_window_delegate.h#newcode19 ui/window/platform_window_delegate.h:19: : public ui::PlatformEventDispatcher { This requires the PlatformWindowDelegate to ...
6 years, 5 months ago (2014-07-14 07:00:00 UTC) #5
spang
On 2014/07/14 07:00:00, sadrul wrote: > https://codereview.chromium.org/378003003/diff/20001/ui/window/platform_window_delegate.h > File ui/window/platform_window_delegate.h (right): > > https://codereview.chromium.org/378003003/diff/20001/ui/window/platform_window_delegate.h#newcode19 > ...
6 years, 5 months ago (2014-07-14 16:44:53 UTC) #6
spang
On 2014/07/14 16:44:53, spang wrote: > On 2014/07/14 07:00:00, sadrul wrote: > > > https://codereview.chromium.org/378003003/diff/20001/ui/window/platform_window_delegate.h ...
6 years, 5 months ago (2014-07-14 16:46:16 UTC) #7
spang
6 years, 5 months ago (2014-07-14 16:53:38 UTC) #8
Message was sent while issue was closed.
https://codereview.chromium.org/378003003/diff/20001/ui/window/platform_windo...
File ui/window/platform_window_delegate.h (right):

https://codereview.chromium.org/378003003/diff/20001/ui/window/platform_windo...
ui/window/platform_window_delegate.h:19: : public ui::PlatformEventDispatcher {
On 2014/07/14 07:00:00, sadrul wrote:
> This requires the PlatformWindowDelegate to keep processing platform-events
> (i.e. XEvents etc.), which I think would be unfortunate. The way I am thinking
> is the PlatformWindowDelegate should process only ui::Events instead (see
> https://codereview.chromium.org/391583002/).


That sounds good. In fact, this CL actually did that for ozone since  platform
event is currently defined as ui::Event.

Powered by Google App Engine
This is Rietveld 408576698