AnswerCardWebContents / WebContentsManager needs to support mash |
||||
Issue descriptionI couldn't find an existing bug for this, despite some notes and a TODO. AnswerCardWebContents has a dependency on AppListView::ExcludeWindowFromEventHandling (which seems to exist only for this dependency). ExcludeWindowFromEventHandling has the comment: "Prevents handling input events for the |window| in context of handling in app list." The call is from SearchAnswerWebView in answer_card_web_contents.cc, which is only used when AnswerCardContentsRegistry::Get() is non null, which seems to be non mash only. ManagedWebContents in WebContetsManager (in c/b/ui/ash/assistant) has a comment: 'TODO(dmblack): Handle Mash case' when AnswerCardContentsRegistry::Get() returns null.
,
Jun 20 2018
Most of it should work with issue 812434 . I'll take this one and get rid of the include.
,
Jun 20 2018
More specifically, I will move AppListView::ExcludeWindowFromEventHandling call from the browser side to ash side. WebContentsManager work is still TBD.
,
Jun 20 2018
I can take a look at mirroring what was done for AnswerCardWebContents in WebContentsManager.
,
Aug 13
,
Aug 14
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/8dc4077b32db61641d793f4d6ce363b343d72858 commit 8dc4077b32db61641d793f4d6ce363b343d72858 Author: Xiyuan Xia <xiyuan@chromium.org> Date: Tue Aug 14 23:26:25 2018 mash: Clean up AnswerCardWebContents deps Move AppListView::ExcludeWindowFromEventHandling from browser process to app list code in ash process. Bug: 854787 Change-Id: I7509fdd8c5cc4ea0db211bdc4c7fe8715fb10660 Reviewed-on: https://chromium-review.googlesource.com/1170036 Commit-Queue: Xiyuan Xia <xiyuan@chromium.org> Reviewed-by: Steven Bennetts <stevenjb@chromium.org> Cr-Commit-Position: refs/heads/master@{#583075} [modify] https://crrev.com/8dc4077b32db61641d793f4d6ce363b343d72858/ash/app_list/views/app_list_view_unittest.cc [modify] https://crrev.com/8dc4077b32db61641d793f4d6ce363b343d72858/ash/app_list/views/search_result_answer_card_view.cc [modify] https://crrev.com/8dc4077b32db61641d793f4d6ce363b343d72858/ash/app_list/views/search_result_answer_card_view_unittest.cc [modify] https://crrev.com/8dc4077b32db61641d793f4d6ce363b343d72858/ash/public/cpp/app_list/answer_card_contents_registry.cc [modify] https://crrev.com/8dc4077b32db61641d793f4d6ce363b343d72858/ash/public/cpp/app_list/answer_card_contents_registry.h [modify] https://crrev.com/8dc4077b32db61641d793f4d6ce363b343d72858/chrome/browser/ui/app_list/search/answer_card/answer_card_web_contents.cc [modify] https://crrev.com/8dc4077b32db61641d793f4d6ce363b343d72858/chrome/browser/ui/ash/assistant/web_contents_manager.cc
,
Aug 15
|
||||
►
Sign in to add a comment |
||||
Comment 1 by steve...@chromium.org
, Jun 20 2018