Index: Source/core/frame/FrameView.h |
diff --git a/Source/core/frame/FrameView.h b/Source/core/frame/FrameView.h |
index b070825eaa8a2775d9494f80f2006c5e4fb18b4a..9f4617e16d0c9aee7041b2bf7529d6493cebac4f 100644 |
--- a/Source/core/frame/FrameView.h |
+++ b/Source/core/frame/FrameView.h |
@@ -39,6 +39,7 @@ |
#include "platform/scroll/ScrollableArea.h" |
#include "platform/scroll/Scrollbar.h" |
#include "public/platform/WebDisplayMode.h" |
+#include "public/platform/WebRect.h" |
#include "wtf/Forward.h" |
#include "wtf/HashSet.h" |
#include "wtf/OwnPtr.h" |
@@ -233,6 +234,8 @@ public: |
void invalidateTreeIfNeededRecursive(); |
bool invalidateViewportConstrainedObjects(); |
+ void updateFrameTimingRequestsIfNeeded(); |
chrishtr
2015/05/08 16:52:05
Make this private.
MikeB
2015/05/08 18:37:34
Done.
|
+ |
void incrementVisuallyNonEmptyCharacterCount(unsigned); |
void incrementVisuallyNonEmptyPixelCount(const IntSize&); |
void setIsVisuallyNonEmpty() { m_isVisuallyNonEmpty = true; } |
@@ -717,6 +720,11 @@ private: |
// LayoutObject for the viewport-defining element (see Document::viewportDefiningElement). |
LayoutObject* viewportLayoutObject(); |
+ typedef WTF::HashMap |
+ <const GraphicsLayer*, std::vector<std::pair<int64_t, WebRect>>> |
+ GraphicsLayerFrameTimingRequests; |
+ void collectFrameTimingRequestsRecursive(GraphicsLayerFrameTimingRequests&); |
+ |
LayoutSize m_size; |
typedef HashSet<RefPtr<LayoutEmbeddedObject>> EmbeddedObjectSet; |