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

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

Issue 2039363003: FirstMeaningfulPaint UMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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/FrameView.h
diff --git a/third_party/WebKit/Source/core/frame/FrameView.h b/third_party/WebKit/Source/core/frame/FrameView.h
index 7cf81e9a6ff81b8a5ea70ba08710466ae6e12505..d873da9d94dbbbedde548fad05fa8c7e4304a07c 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.h
+++ b/third_party/WebKit/Source/core/frame/FrameView.h
@@ -32,6 +32,7 @@
#include "core/frame/RootFrameViewport.h"
#include "core/layout/ScrollAnchor.h"
#include "core/layout/api/LayoutViewItem.h"
+#include "core/paint/FirstMeaningfulPaintDetector.h"
#include "core/paint/PaintInvalidationCapableScrollableArea.h"
#include "core/paint/PaintPhase.h"
#include "platform/RuntimeEnabledFeatures.h"
@@ -262,6 +263,7 @@ public:
bool invalidateViewportConstrainedObjects();
+ void incrementLayoutObjectCount() { m_layoutObjectCounter.increment(); }
void incrementVisuallyNonEmptyCharacterCount(unsigned);
void incrementVisuallyNonEmptyPixelCount(const IntSize&);
bool isVisuallyNonEmpty() const { return m_isVisuallyNonEmpty; }
@@ -826,6 +828,7 @@ private:
unsigned m_visuallyNonEmptyCharacterCount;
uint64_t m_visuallyNonEmptyPixelCount;
bool m_isVisuallyNonEmpty;
+ FirstMeaningfulPaintDetector::LayoutObjectCounter m_layoutObjectCounter;
Member<Node> m_fragmentAnchor;
« no previous file with comments | « third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp ('k') | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698