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

Unified Diff: Source/core/dom/Document.h

Issue 1288973002: Observing DocumentTiming and sending data to RenderFrameImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: minor edits from review Created 5 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
« no previous file with comments | « no previous file | Source/core/dom/Document.cpp » ('j') | Source/core/dom/DocumentTiming.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index 9b0023a1deefcecd93e08c4ae77a69b90c2ab28d..2c03e6b835c7f2874b36efe2d2d5f8f2ab05e4f8 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -203,7 +203,7 @@ enum DocumentClass {
using DocumentClassFlags = unsigned char;
class CORE_EXPORT Document : public ContainerNode, public TreeScope, public SecurityContext, public ExecutionContext
- , public WillBeHeapSupplementable<Document>, public DocumentLifecycleNotifier {
+ , public WillBeHeapSupplementable<Document>, public DocumentLifecycleNotifier, public DocumentTiming::Observer {
DEFINE_WRAPPERTYPEINFO();
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Document);
public:
@@ -918,6 +918,7 @@ public:
PassRefPtrWillBeRawPtr<TouchList> createTouchList(WillBeHeapVector<RefPtrWillBeMember<Touch>>&) const;
const DocumentTiming& timing() const { return m_documentTiming; }
+ void onDocumentTimingChanged() const;
int requestAnimationFrame(FrameRequestCallback*);
void cancelAnimationFrame(int id);
« no previous file with comments | « no previous file | Source/core/dom/Document.cpp » ('j') | Source/core/dom/DocumentTiming.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698