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

Unified Diff: third_party/WebKit/public/web/WebFrameWidget.h

Issue 2883033003: Propagate inert state to OOPIFs when a modal dialog is active (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: third_party/WebKit/public/web/WebFrameWidget.h
diff --git a/third_party/WebKit/public/web/WebFrameWidget.h b/third_party/WebKit/public/web/WebFrameWidget.h
index 8723a3d1304202ab147286a733a014b848db4eac..27b35bf3598439170680645dbef5104c4cbf256a 100644
--- a/third_party/WebKit/public/web/WebFrameWidget.h
+++ b/third_party/WebKit/public/web/WebFrameWidget.h
@@ -124,6 +124,10 @@ class WebFrameWidget : public WebWidget {
// This is needed for out-of-process iframes to know if they are clipped
// by ancestor frames in another process.
virtual void SetRemoteViewportIntersection(const WebRect&) {}
+
+ // Sets the inert bit on an out-of-process iframe, causing it to ignore
+ // input.
+ virtual void SetIsInert(bool) {}
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698