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

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: nit addressed 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: 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 ef2a0bb42dd713e74e0bd9fc389159ce0d8022bf..72f54eacb4c245a12a8f18fd1212c4132dc61379 100644
--- a/third_party/WebKit/public/web/WebFrameWidget.h
+++ b/third_party/WebKit/public/web/WebFrameWidget.h
@@ -117,6 +117,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
« no previous file with comments | « third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp ('k') | third_party/WebKit/public/web/WebRemoteFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698