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

Unified Diff: third_party/WebKit/Source/core/frame/RemoteFrame.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/RemoteFrame.h
diff --git a/third_party/WebKit/Source/core/frame/RemoteFrame.h b/third_party/WebKit/Source/core/frame/RemoteFrame.h
index d721104556f4ab734be15c71ab97e26d010e7f66..7bb2e38ae5030bb5c2cba1373cb2294cfd71af24 100644
--- a/third_party/WebKit/Source/core/frame/RemoteFrame.h
+++ b/third_party/WebKit/Source/core/frame/RemoteFrame.h
@@ -38,6 +38,7 @@ class CORE_EXPORT RemoteFrame final : public Frame {
void PrintNavigationWarning(const String&) override {}
bool PrepareForCommit() override;
bool ShouldClose() override;
+ void SetIsInert(bool) override;
void SetWebLayer(WebLayer*);
WebLayer* GetWebLayer() const { return web_layer_; }
@@ -64,6 +65,7 @@ class CORE_EXPORT RemoteFrame final : public Frame {
Member<RemoteFrameView> view_;
Member<RemoteSecurityContext> security_context_;
WebLayer* web_layer_ = nullptr;
+ bool last_inert_state_;
};
inline RemoteFrameView* RemoteFrame::View() const {

Powered by Google App Engine
This is Rietveld 408576698