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

Issue 1390353007: Adds MUSViewsInit (Closed)

Created:
5 years, 2 months ago by sky
Modified:
5 years, 2 months ago
CC:
chromium-reviews, penghuang+watch-mandoline_chromium.org, tdanderson+views_chromium.org, droger+watchlist_chromium.org, blundell+watchlist_chromium.org, sdefresne+watchlist_chromium.org, yzshen+watch_chromium.org, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adds MUSViewsInit MUSViewsInit is a ViewsDelegate that intercepts CreateNativeWidget to create NWVM. Changes ViewTreeConnection to have the option to block until OnEmbed. Updates examples. I hacked WindowTypeLauncher to get this to work. See comment there for specifics. Will sort out after this. BUG=none TEST=none R=ben@chromium.org Committed: https://crrev.com/a66540c5231cfec8098fe6642ba437da95a5919f Cr-Commit-Position: refs/heads/master@{#354040}

Patch Set 1 #

Patch Set 2 : moar #

Total comments: 2

Patch Set 3 : allow for null delegate #

Patch Set 4 : fix windows #

Unified diffs Side-by-side diffs Delta from patch set Stats (+217 lines, -165 lines) Patch
M components/html_viewer/html_document.cc View 1 chunk +2 lines, -1 line 0 comments Download
M components/mus/example/client/BUILD.gn View 2 chunks +1 line, -17 lines 0 comments Download
M components/mus/example/client/client_application_delegate.h View 1 chunk +4 lines, -14 lines 0 comments Download
M components/mus/example/client/client_application_delegate.cc View 3 chunks +8 lines, -38 lines 0 comments Download
A + components/mus/example/common/BUILD.gn View 1 chunk +9 lines, -13 lines 0 comments Download
A + components/mus/example/common/DEPS View 0 chunks +-1 lines, --1 lines 0 comments Download
A components/mus/example/common/mus_views_init.h View 1 2 3 1 chunk +50 lines, -0 lines 0 comments Download
A components/mus/example/common/mus_views_init.cc View 1 2 3 1 chunk +59 lines, -0 lines 0 comments Download
M components/mus/example/window_type_launcher/BUILD.gn View 3 chunks +1 line, -19 lines 0 comments Download
M components/mus/example/window_type_launcher/window_type_launcher.h View 1 chunk +6 lines, -16 lines 0 comments Download
M components/mus/example/window_type_launcher/window_type_launcher.cc View 1 3 chunks +12 lines, -36 lines 0 comments Download
M components/mus/public/cpp/lib/view_tree_client_impl.h View 1 chunk +3 lines, -0 lines 0 comments Download
M components/mus/public/cpp/lib/view_tree_client_impl.cc View 2 chunks +13 lines, -2 lines 0 comments Download
M components/mus/public/cpp/lib/view_tree_host_factory.cc View 1 chunk +3 lines, -1 line 0 comments Download
M components/mus/public/cpp/tests/view_manager_test_base.cc View 1 chunk +3 lines, -1 line 0 comments Download
M components/mus/public/cpp/view_tree_connection.h View 1 1 chunk +10 lines, -1 line 0 comments Download
M components/pdf_viewer/pdf_viewer.cc View 1 chunk +3 lines, -1 line 0 comments Download
M components/web_view/frame_apptest.cc View 1 chunk +6 lines, -2 lines 0 comments Download
M components/web_view/web_view_impl.cc View 1 chunk +3 lines, -1 line 0 comments Download
M mandoline/ui/omnibox/omnibox_application.cc View 1 chunk +3 lines, -1 line 0 comments Download
M ui/views/views_delegate.h View 1 chunk +5 lines, -0 lines 0 comments Download
M ui/views/views_delegate.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M ui/views/widget/widget.cc View 1 2 1 chunk +8 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
sky
5 years, 2 months ago (2015-10-14 02:30:52 UTC) #1
sky
Also note that there are initial sizing problems with this patch. Will sort that out ...
5 years, 2 months ago (2015-10-14 02:31:29 UTC) #2
Ben Goodger (Google)
lgtm https://codereview.chromium.org/1390353007/diff/20001/components/mus/example/window_type_launcher/window_type_launcher.cc File components/mus/example/window_type_launcher/window_type_launcher.cc (right): https://codereview.chromium.org/1390353007/diff/20001/components/mus/example/window_type_launcher/window_type_launcher.cc#newcode364 components/mus/example/window_type_launcher/window_type_launcher.cc:364: // here we ensure the necessary state has ...
5 years, 2 months ago (2015-10-14 03:03:58 UTC) #3
sky
https://codereview.chromium.org/1390353007/diff/20001/components/mus/example/window_type_launcher/window_type_launcher.cc File components/mus/example/window_type_launcher/window_type_launcher.cc (right): https://codereview.chromium.org/1390353007/diff/20001/components/mus/example/window_type_launcher/window_type_launcher.cc#newcode364 components/mus/example/window_type_launcher/window_type_launcher.cc:364: // here we ensure the necessary state has been ...
5 years, 2 months ago (2015-10-14 15:32:35 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1390353007/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1390353007/40001
5 years, 2 months ago (2015-10-14 15:35:31 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1390353007/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1390353007/60001
5 years, 2 months ago (2015-10-14 16:02:36 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 2 months ago (2015-10-14 16:41:41 UTC) #11
commit-bot: I haz the power
5 years, 2 months ago (2015-10-14 16:42:18 UTC) #12
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/a66540c5231cfec8098fe6642ba437da95a5919f
Cr-Commit-Position: refs/heads/master@{#354040}

Powered by Google App Engine
This is Rietveld 408576698