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

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

Issue 2770923002: Prevent browser-side hit testing when page popup is selected (Closed)
Patch Set: Changed the test Created 3 years, 9 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_delegate.h
diff --git a/content/browser/renderer_host/render_widget_host_delegate.h b/content/browser/renderer_host/render_widget_host_delegate.h
index 32bb92d42a85ec2eea448bf54251c3a90b168f34..d08cab2ff5640b435c527b0b4ea207161b4747ee 100644
--- a/content/browser/renderer_host/render_widget_host_delegate.h
+++ b/content/browser/renderer_host/render_widget_host_delegate.h
@@ -222,6 +222,8 @@ class CONTENT_EXPORT RenderWidgetHostDelegate {
// Allow the delegate to handle the cursor update. Returns true if handled.
virtual bool OnUpdateDragCursor();
+ virtual bool IsWidgetForMainFrame(RenderWidgetHostImpl*);
alexmos 2017/03/23 22:25:18 nit: A comment here on what this is for might be u
kenrb 2017/03/24 14:18:43 Done. I had intended to do that but forgot, thanks
+
// Inner WebContents Helpers -------------------------------------------------
//
// These functions are helpers in managing a hierharchy of WebContents

Powered by Google App Engine
This is Rietveld 408576698