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

Issue 2068093002: mus: Allow embedder to intercept events. (Closed)

Created:
4 years, 6 months ago by sadrul
Modified:
4 years, 6 months ago
CC:
chromium-reviews, rjkroege, mlamouri+watch-content_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, nona+watch_chromium.org, shuchen+watch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, piman+watch_chromium.org, darin (slow to review), James Su, ben+mojo_chromium.org, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mus: Allow embedder to intercept events. Introduce mechanism so that an embedder receives the events targeted to embedded window. This allows the browser window to receive events, even when the renderer-content lives in a separate mus::Window. BUG=621078 Committed: https://crrev.com/4d3588cbec47fcd629c038a0ca6aad9af58e4192 Cr-Commit-Position: refs/heads/master@{#402057}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 2

Patch Set 4 : . #

Total comments: 2

Patch Set 5 : . #

Patch Set 6 : . #

Patch Set 7 : tot-merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+242 lines, -34 lines) Patch
M components/mus/public/cpp/lib/window.cc View 1 chunk +5 lines, -4 lines 0 comments Download
M components/mus/public/cpp/lib/window_tree_client.cc View 1 2 3 4 1 chunk +5 lines, -5 lines 0 comments Download
M components/mus/public/cpp/tests/test_window_tree.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/mus/public/cpp/tests/test_window_tree.cc View 1 chunk +1 line, -0 lines 0 comments Download
M components/mus/public/cpp/window.h View 1 chunk +3 lines, -2 lines 0 comments Download
M components/mus/public/cpp/window_tree_client.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M components/mus/public/interfaces/window_tree.mojom View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M components/mus/public/interfaces/window_tree_constants.mojom View 1 2 3 4 5 1 chunk +8 lines, -0 lines 0 comments Download
M components/mus/ws/display_binding.cc View 1 chunk +2 lines, -1 line 0 comments Download
M components/mus/ws/test_utils.h View 1 2 3 4 2 chunks +10 lines, -0 lines 0 comments Download
M components/mus/ws/test_utils.cc View 1 2 3 4 5 6 2 chunks +4 lines, -2 lines 0 comments Download
M components/mus/ws/window_manager_state.cc View 1 2 3 4 5 6 2 chunks +30 lines, -11 lines 0 comments Download
M components/mus/ws/window_manager_state_unittest.cc View 1 2 3 4 5 6 2 chunks +117 lines, -0 lines 0 comments Download
M components/mus/ws/window_server.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M components/mus/ws/window_server.cc View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M components/mus/ws/window_tree.h View 1 2 3 4 5 6 4 chunks +9 lines, -1 line 0 comments Download
M components/mus/ws/window_tree.cc View 1 2 3 4 5 6 3 chunks +6 lines, -2 lines 0 comments Download
M components/mus/ws/window_tree_client_unittest.cc View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M components/mus/ws/window_tree_unittest.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mus.h View 1 2 3 4 5 6 3 chunks +11 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mus.cc View 1 2 3 4 5 6 4 chunks +14 lines, -1 line 0 comments Download

Messages

Total messages: 24 (8 generated)
sadrul
I decided this makes more sense than an explicit api on mus::Window. WDYT?
4 years, 6 months ago (2016-06-16 16:34:08 UTC) #3
Ben Goodger (Google)
https://codereview.chromium.org/2068093002/diff/40001/components/mus/public/interfaces/window_tree.mojom File components/mus/public/interfaces/window_tree.mojom (right): https://codereview.chromium.org/2068093002/diff/40001/components/mus/public/interfaces/window_tree.mojom#newcode55 components/mus/public/interfaces/window_tree.mojom:55: const uint32 kEmbedFlagEmbedderInterceptsEvents = 0x01; 1. Can you use ...
4 years, 6 months ago (2016-06-16 16:53:49 UTC) #4
sadrul
https://codereview.chromium.org/2068093002/diff/40001/components/mus/public/interfaces/window_tree.mojom File components/mus/public/interfaces/window_tree.mojom (right): https://codereview.chromium.org/2068093002/diff/40001/components/mus/public/interfaces/window_tree.mojom#newcode55 components/mus/public/interfaces/window_tree.mojom:55: const uint32 kEmbedFlagEmbedderInterceptsEvents = 0x01; On 2016/06/16 16:53:49, Ben ...
4 years, 6 months ago (2016-06-16 16:56:59 UTC) #5
Ben Goodger (Google)
On 2016/06/16 16:56:59, sadrul wrote: > https://codereview.chromium.org/2068093002/diff/40001/components/mus/public/interfaces/window_tree.mojom > File components/mus/public/interfaces/window_tree.mojom (right): > > https://codereview.chromium.org/2068093002/diff/40001/components/mus/public/interfaces/window_tree.mojom#newcode55 > ...
4 years, 6 months ago (2016-06-16 16:59:25 UTC) #6
sadrul
On 2016/06/16 16:59:25, Ben Goodger (Google) wrote: > On 2016/06/16 16:56:59, sadrul wrote: > > ...
4 years, 6 months ago (2016-06-16 17:16:52 UTC) #7
Ben Goodger (Google)
https://codereview.chromium.org/2068093002/diff/60001/components/mus/public/interfaces/window_tree.mojom File components/mus/public/interfaces/window_tree.mojom (right): https://codereview.chromium.org/2068093002/diff/60001/components/mus/public/interfaces/window_tree.mojom#newcode59 components/mus/public/interfaces/window_tree.mojom:59: // to the embedded client through other mechanism. What ...
4 years, 6 months ago (2016-06-16 17:34:36 UTC) #8
sadrul
https://codereview.chromium.org/2068093002/diff/60001/components/mus/public/interfaces/window_tree.mojom File components/mus/public/interfaces/window_tree.mojom (right): https://codereview.chromium.org/2068093002/diff/60001/components/mus/public/interfaces/window_tree.mojom#newcode59 components/mus/public/interfaces/window_tree.mojom:59: // to the embedded client through other mechanism. On ...
4 years, 6 months ago (2016-06-16 17:45:17 UTC) #9
Ben Goodger (Google)
On 2016/06/16 17:45:17, sadrul wrote: > https://codereview.chromium.org/2068093002/diff/60001/components/mus/public/interfaces/window_tree.mojom > File components/mus/public/interfaces/window_tree.mojom (right): > > https://codereview.chromium.org/2068093002/diff/60001/components/mus/public/interfaces/window_tree.mojom#newcode59 > ...
4 years, 6 months ago (2016-06-16 17:48:22 UTC) #10
sadrul
On 2016/06/16 17:48:22, Ben Goodger (Google) wrote: > On 2016/06/16 17:45:17, sadrul wrote: > > ...
4 years, 6 months ago (2016-06-16 19:09:25 UTC) #11
sadrul
On 2016/06/16 19:09:25, sadrul wrote: > On 2016/06/16 17:48:22, Ben Goodger (Google) wrote: > > ...
4 years, 6 months ago (2016-06-23 18:02:04 UTC) #13
Ben Goodger (Google)
On 2016/06/16 19:09:25, sadrul wrote: > On 2016/06/16 17:48:22, Ben Goodger (Google) wrote: > > ...
4 years, 6 months ago (2016-06-23 21:09:41 UTC) #14
sadrul
+kenrb@ for components/mus/public/interfaces/ changes.
4 years, 6 months ago (2016-06-24 07:20:55 UTC) #16
kenrb
lgtm
4 years, 6 months ago (2016-06-24 16:00:14 UTC) #17
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/2068093002/120001
4 years, 6 months ago (2016-06-25 07:15:57 UTC) #20
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 6 months ago (2016-06-25 08:04:30 UTC) #22
commit-bot: I haz the power
4 years, 6 months ago (2016-06-25 08:06:07 UTC) #24
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/4d3588cbec47fcd629c038a0ca6aad9af58e4192
Cr-Commit-Position: refs/heads/master@{#402057}

Powered by Google App Engine
This is Rietveld 408576698