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

Unified Diff: content/browser/renderer_host/render_widget_host_view_base.h

Issue 2910023002: Ensure RemoteViewportIntersection rect persists across frame navigations (Closed)
Patch Set: Created 3 years, 7 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/browser/renderer_host/render_widget_host_view_base.h
diff --git a/content/browser/renderer_host/render_widget_host_view_base.h b/content/browser/renderer_host/render_widget_host_view_base.h
index 1f1a6b919a3e29df619bfcc1974f485021d861da..5ccd2226d58b3961a0a14652de63fd25c71e3886 100644
--- a/content/browser/renderer_host/render_widget_host_view_base.h
+++ b/content/browser/renderer_host/render_widget_host_view_base.h
@@ -317,6 +317,10 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView,
// need to also be resolved.
virtual bool IsRenderWidgetHostViewChildFrame();
+ // Notify the View that a screen rect update is being sent to the
+ // RenderWidget. Related platform-specific updates can be sent from here.
+ virtual void OnSendScreenRects() {}
ncarter (slow) 2017/05/30 17:51:09 Optional: "WillSendScreenRects" would be my pick t
kenrb 2017/05/30 18:25:10 That makes sense. Done.
+
// Returns true if the current view is in virtual reality mode.
virtual bool IsInVR() const;

Powered by Google App Engine
This is Rietveld 408576698