forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make AssistantWebView compatible w/ single- and multi-process mash.
AssistantWebView is the host for embedding the web contents used by Assistant Settings and Reminders. Previously, AssistantWebView did not handle either single- or multi-process mash, so the web contents would not be embedded. Now, we use Content Service which works in both single- and multi- process mash in the same pattern established for AppList in: https://chromium-review.googlesource.com/c/chromium/src/+/1269622 This required adding a few new abilities to NavigableContents that Assistant has the need for: - Adding min/max size for auto resizing. - Adding ability to navigate backwards in history stack. - Adding handling for target="_blank" links. Still TODO: Do the same for the Assistant cards that are embedded in Assistant's UiElementContainerView. Once this is complete, we will be able to remove WebContentsManager and associated classes/logic :) Bug: b:78078693 Change-Id: I4dd19a0a4c9506fc6b7f065d54fc1a75132d278f Reviewed-on: https://chromium-review.googlesource.com/c/1313745 Commit-Queue: David Black <dmblack@google.com> Reviewed-by: Xiaohui Chen <xiaohuic@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Reviewed-by: Xiyuan Xia <xiyuan@chromium.org> Reviewed-by: Ken Rockot <rockot@google.com> Cr-Commit-Position: refs/heads/master@{#606966}
- Loading branch information
David Black
authored and
Commit Bot
committed
Nov 9, 2018
1 parent
660d336
commit 992c445
Showing
17 changed files
with
242 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.