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

Issue 354933002: Connect X11 ConfigureNotify events to Mojo (Closed)

Created:
6 years, 6 months ago by hansmuller
Modified:
6 years, 5 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Project:
chromium
Visibility:
Public.

Description

Connect X11 ConfigureNotify events to Mojo This change plumbs top level window resize notifications from X11 through to the WindowManager and to the GLSurface associated with the top level window. It's an incremental step towards adding support for window manager level layout management (see crbug.com/389785). BUG=388524 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281955 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282254

Patch Set 1 #

Patch Set 2 : Complete #

Total comments: 2

Patch Set 3 : Removed X11 support for --start-fullscreen, --start-maximized #

Total comments: 6

Patch Set 4 : Updates per review feedback #

Patch Set 5 : Removed node bounds change repaint scheduling #

Total comments: 1

Patch Set 6 : Simplified gfx::Rect ctor usage #

Patch Set 7 : Syncd with NodeObserver API change #

Total comments: 3

Patch Set 8 : fixed double-notification for node bounds changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -11 lines) Patch
M mojo/examples/window_manager/window_manager.cc View 1 2 3 4 5 6 4 chunks +38 lines, -2 lines 0 comments Download
M mojo/services/gles2/command_buffer_impl.h View 1 3 chunks +7 lines, -0 lines 0 comments Download
M mojo/services/gles2/command_buffer_impl.cc View 1 2 3 4 5 6 3 chunks +11 lines, -6 lines 0 comments Download
M mojo/services/native_viewport/native_viewport_x11.cc View 1 2 3 3 chunks +5 lines, -0 lines 0 comments Download
M mojo/services/view_manager/node.cc View 1 4 1 chunk +1 line, -0 lines 0 comments Download
M mojo/services/view_manager/node_delegate.h View 1 2 chunks +8 lines, -0 lines 0 comments Download
M mojo/services/view_manager/root_node_manager.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M mojo/services/view_manager/root_node_manager.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M mojo/services/view_manager/view_manager_service_impl.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M mojo/services/view_manager/view_manager_service_impl.cc View 1 2 3 4 5 6 7 2 chunks +6 lines, -2 lines 0 comments Download
M mojo/services/view_manager/window_tree_host_impl.cc View 1 2 3 4 5 6 7 3 chunks +41 lines, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
hansmuller
This is just an incremental step towards fixing crbug.com/389785 - Handle interactive resizing in Native ...
6 years, 5 months ago (2014-07-02 18:05:19 UTC) #1
jamesr
The /gles2/ and /native_viewport/ parts lgtm. The view manager code seems fine, but I'm not ...
6 years, 5 months ago (2014-07-02 18:12:50 UTC) #2
hansmuller
On 2014/07/02 18:12:50, jamesr wrote: > ... > https://codereview.chromium.org/354933002/diff/10001/mojo/services/native_viewport/native_viewport_x11.cc#newcode53 > mojo/services/native_viewport/native_viewport_x11.cc:53: // TODO(hansmuller): > should ...
6 years, 5 months ago (2014-07-02 18:36:34 UTC) #3
Ben Goodger (Google)
https://codereview.chromium.org/354933002/diff/30001/mojo/examples/window_manager/window_manager.cc File mojo/examples/window_manager/window_manager.cc (right): https://codereview.chromium.org/354933002/diff/30001/mojo/examples/window_manager/window_manager.cc#newcode162 mojo/examples/window_manager/window_manager.cc:162: explicit RootLayoutManager(ViewManager* view_manager, nit: explicit only if there is ...
6 years, 5 months ago (2014-07-08 15:41:57 UTC) #4
hansmuller
Thanks for the feedback, I've made all of the changes you suggested.
6 years, 5 months ago (2014-07-08 21:49:39 UTC) #5
Ben Goodger (Google)
lgtm https://codereview.chromium.org/354933002/diff/70001/mojo/services/view_manager/window_tree_host_impl.cc File mojo/services/view_manager/window_tree_host_impl.cc (right): https://codereview.chromium.org/354933002/diff/70001/mojo/services/view_manager/window_tree_host_impl.cc#newcode64 mojo/services/view_manager/window_tree_host_impl.cc:64: SetChildBoundsDirect(child, gfx::Rect(0, 0, You can replace the second ...
6 years, 5 months ago (2014-07-08 22:08:08 UTC) #6
hansmuller
The CQ bit was checked by hansmuller@chromium.org
6 years, 5 months ago (2014-07-08 23:06:34 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hansmuller@chromium.org/354933002/90001
6 years, 5 months ago (2014-07-08 23:13:07 UTC) #8
hansmuller
The CQ bit was checked by hansmuller@chromium.org
6 years, 5 months ago (2014-07-09 00:02:10 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hansmuller@chromium.org/354933002/110001
6 years, 5 months ago (2014-07-09 00:05:10 UTC) #10
commit-bot: I haz the power
Change committed as 281955
6 years, 5 months ago (2014-07-09 05:33:05 UTC) #11
horo
A revert of this CL has been created in https://codereview.chromium.org/378243002/ by horo@chromium.org. The reason for ...
6 years, 5 months ago (2014-07-09 07:22:48 UTC) #12
sky
https://codereview.chromium.org/354933002/diff/110001/mojo/services/view_manager/window_tree_host_impl.cc File mojo/services/view_manager/window_tree_host_impl.cc (right): https://codereview.chromium.org/354933002/diff/110001/mojo/services/view_manager/window_tree_host_impl.cc#newcode33 mojo/services/view_manager/window_tree_host_impl.cc:33: RootLayoutManager() : child_(NULL) { } nit: {} https://codereview.chromium.org/354933002/diff/110001/mojo/services/view_manager/window_tree_host_impl.cc#newcode53 mojo/services/view_manager/window_tree_host_impl.cc:53: ...
6 years, 5 months ago (2014-07-09 21:23:22 UTC) #13
hansmuller
Thanks for the feedback, I've made the changes.
6 years, 5 months ago (2014-07-09 21:52:38 UTC) #14
hansmuller
The CQ bit was checked by hansmuller@chromium.org
6 years, 5 months ago (2014-07-09 21:52:54 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hansmuller@chromium.org/354933002/130001
6 years, 5 months ago (2014-07-09 21:55:26 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_chromium_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-09 23:50:09 UTC) #17
commit-bot: I haz the power
6 years, 5 months ago (2014-07-10 04:33:49 UTC) #18
Message was sent while issue was closed.
Change committed as 282254

Powered by Google App Engine
This is Rietveld 408576698