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

Unified Diff: third_party/WebKit/Source/core/frame/Frame.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/Source/core/frame/Frame.h
diff --git a/third_party/WebKit/Source/core/frame/Frame.h b/third_party/WebKit/Source/core/frame/Frame.h
index 4aa31fb7b787f48eb5d7799d0135ddabf8ec6c2b..15489fdbe742fd88d26c861001b36b22686e0352 100644
--- a/third_party/WebKit/Source/core/frame/Frame.h
+++ b/third_party/WebKit/Source/core/frame/Frame.h
@@ -153,6 +153,11 @@ class CORE_EXPORT Frame : public GarbageCollectedFinalized<Frame> {
// the given frame.
bool IsFeatureEnabled(WebFeaturePolicyFeature) const;
+ // Called to make a frame inert or non-inert. A frame is inert when there
+ // is a modal dialog displayed within an ancestor frame, and this frame
+ // itself is not within the dialog.
+ virtual void SetIsInert(bool) = 0;
+
protected:
Frame(FrameClient*, Page&, FrameOwner*, WindowProxyManager*);

Powered by Google App Engine
This is Rietveld 408576698