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

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

Issue 2212183004: Log to UMA when x-origin frames (1) are created and (2) become visible (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: log creation after installNewDocument Created 4 years, 4 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 67c3960b3bd4bdc7107d37476c7b5903f02c095b..496df88e7232d5dd3c1c93b7a89efd7646a3c684 100644
--- a/third_party/WebKit/Source/core/frame/LocalFrame.h
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.h
@@ -193,6 +193,9 @@ public:
PluginData* pluginData() const;
+ void didInstallNewDocument();
+ void onVisibilityMaybeChanged(bool visible);
+
private:
friend class FrameNavigationDisabler;
@@ -236,6 +239,9 @@ private:
Member<InstrumentingAgents> m_instrumentingAgents;
InterfaceProvider* const m_interfaceProvider;
+
+ bool m_visibilityWasLogged;
+ bool m_creationWasLogged;
};
inline void LocalFrame::init()

Powered by Google App Engine
This is Rietveld 408576698