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

Unified Diff: third_party/WebKit/Source/core/frame/LocalFrame.h

Issue 2883033003: Propagate inert state to OOPIFs when a modal dialog is active (Closed)
Patch Set: Trying to fix patch application problem 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/LocalFrame.h
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.h b/third_party/WebKit/Source/core/frame/LocalFrame.h
index 0a0f8f935e8d6ccf970293c40826802d67684ae9..b58d211ed54b6bec96f7399de2c44cfcbc7333e9 100644
--- a/third_party/WebKit/Source/core/frame/LocalFrame.h
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.h
@@ -234,6 +234,9 @@ class CORE_EXPORT LocalFrame final : public Frame,
// the embedder decides that Client Lo-Fi should be used for this request.
void MaybeAllowImagePlaceholder(FetchParameters&) const;
+ bool IsInert() const { return is_inert_; }
+ void SetIsInert(bool inert);
+
using FrameInitCallback = void (*)(LocalFrame*);
// Allows for the registration of a callback that is invoked whenever a new
// LocalFrame is initialized. Callbacks are executed in the order that they
@@ -284,6 +287,8 @@ class CORE_EXPORT LocalFrame final : public Frame,
bool in_view_source_mode_;
+ bool is_inert_;
+
Member<CoreProbeSink> probe_sink_;
Member<PerformanceMonitor> performance_monitor_;

Powered by Google App Engine
This is Rietveld 408576698