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 397a47833f9a0a1349d964f791fcc216bae26f9e..9db14ab2dc4d2c122be16089bcf1137bb87ef17a 100644 |
--- a/third_party/WebKit/Source/core/frame/Frame.h |
+++ b/third_party/WebKit/Source/core/frame/Frame.h |
@@ -156,6 +156,12 @@ 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; |
+ virtual bool IsInert() const = 0; |
+ |
protected: |
Frame(FrameClient*, Page&, FrameOwner*, WindowProxyManager*); |