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

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: Rebase 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 46d7a6aaddd2e260802afc35767d7b891699dad4..abea25d83ac4ed8f4a0e4babce94e7742134cd0a 100644
--- a/content/browser/renderer_host/render_widget_host_delegate.h
+++ b/content/browser/renderer_host/render_widget_host_delegate.h
@@ -214,6 +214,10 @@ class CONTENT_EXPORT RenderWidgetHostDelegate {
// Allow the delegate to handle the cursor update. Returns true if handled.
virtual bool OnUpdateDragCursor();
+ // Returns true if the provided RenderWidgetHostImpl matches the current
+ // RenderWidgetHost on the main frame, and false otherwise.
+ virtual bool IsWidgetForMainFrame(RenderWidgetHostImpl*);
+
// Inner WebContents Helpers -------------------------------------------------
//
// These functions are helpers in managing a hierharchy of WebContents
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698