DescriptionMove handling of DraggableRegionsChanged notification from "view" to "frame".
This CL:
- Moves AnnotatedRegionsChanged method from blink::ChromeClient to
blink::LocalFrameClient
- Moves DraggableRegionsChanged method from blink::WebViewClient to
blink::WebFrameClient
- Move DraggableRegionsChanged method from content::RenderViewObserver
to content::RenderFrameObserver
- Moves handling of DraggableRegionsChanged from
extensions::ExtensionHelper (a content::RenderViewObserver) to
extensions::ExtensionFrameHelper (a content::RenderFrameObserver).
- Tweaks AppWindowContentsImpl::OnMessageReceived so that it is aware
which RenderFrameHost sent the ExtensionHostMsg_UpdateDraggableRegions
IPC.
These changes mean that the originating local frame is no longer lost in
the middle of the notification chain (and that hopefully/speculatively
we will no longer crash by trying to look into a wrong, remote frame
as observed in bug https://crbug.com/645472).
BUG=645472
Review-Url: https://codereview.chromium.org/2929493003
Cr-Commit-Position: refs/heads/master@{#479195}
Committed: https://chromium.googlesource.com/chromium/src/+/060c739be2660ac6903b8af1d1585d7eac6bfe25
Patch Set 1 : Broken patchset to see if this feature has test coverage. #Patch Set 2 : Fixing how the IPC is received. #Patch Set 3 : Removing the CHECK used to find test coverage [found in LaunchWebAuthFlowFunctionTest]. #
Total comments: 7
Patch Set 4 : Addressed CR feedback from dcheng@ #Patch Set 5 : Rebasing... #
Total comments: 2
Patch Set 6 : Removed an unnecessary comment as suggested by dcheng@. #
Total comments: 3
Patch Set 7 : Only collecting draggable regions for the main frame. #Patch Set 8 : Also add main frame filtering to the browser-side. #
Total comments: 7
Patch Set 9 : Addressed CR feedback from rdevlin.cronin@. #Messages
Total messages: 58 (41 generated)
|