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

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: Rebase only 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 da2f08879266d0c46b1f7e4b90106204e2efd235..6801186942e3e2fcfbfec4e92a2d92bd517e7929 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