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*); |