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

Unified Diff: content/public/renderer/render_frame_observer.h

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/public/renderer/render_frame_observer.h
diff --git a/content/public/renderer/render_frame_observer.h b/content/public/renderer/render_frame_observer.h
index ebf4cd4b118cacb9469547ee83788834f6dd55db..8bb72a3a7abbd72893d3f6121be75ab1ce025c39 100644
--- a/content/public/renderer/render_frame_observer.h
+++ b/content/public/renderer/render_frame_observer.h
@@ -124,6 +124,9 @@ class CONTENT_EXPORT RenderFrameObserver : public IPC::Listener,
// Called when script in the page calls window.print().
virtual void ScriptedPrint(bool user_initiated) {}
+ // Called when draggable regions change.
+ virtual void DraggableRegionsChanged() {}
dcheng 2017/06/09 22:21:54 I wonder if it's worth noting this is main frame o
Łukasz Anforowicz 2017/06/13 18:24:10 Maybe. We talked about this today and this sounds
+
// IPC::Listener implementation.
bool OnMessageReceived(const IPC::Message& message) override;
« no previous file with comments | « no previous file | content/public/renderer/render_view_observer.h » ('j') | extensions/renderer/extension_frame_helper.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698