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

Unified Diff: content/renderer/render_frame_impl.cc

Issue 2929493003: Move handling of DraggableRegionsChanged notification from "view" to "frame". (Closed)
Patch Set: Also add main frame filtering to the browser-side. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/render_frame_impl.cc
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index 1195a70fc3ddd310cf43fc28ad7a9eb74bcc4bbe..11abe4fa89267b2973eb272c6134fca6164cf35b 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -6652,6 +6652,11 @@ std::unique_ptr<blink::WebURLLoader> RenderFrameImpl::CreateURLLoader() {
return blink::Platform::Current()->CreateURLLoader();
}
+void RenderFrameImpl::DraggableRegionsChanged() {
+ for (auto& observer : observers_)
+ observer.DraggableRegionsChanged();
+}
+
blink::WebPageVisibilityState RenderFrameImpl::GetVisibilityState() const {
return VisibilityState();
}

Powered by Google App Engine
This is Rietveld 408576698