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

Side by Side Diff: third_party/WebKit/Source/core/dom/Document.cpp

Issue 2222313002: Implement DocumentTimeline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update global-interface-listing-expected.txt 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. 8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved.
9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. 10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved.
(...skipping 27 matching lines...) Expand all
38 #include "bindings/core/v8/V0CustomElementConstructorBuilder.h" 38 #include "bindings/core/v8/V0CustomElementConstructorBuilder.h"
39 #include "bindings/core/v8/V8DOMWrapper.h" 39 #include "bindings/core/v8/V8DOMWrapper.h"
40 #include "bindings/core/v8/V8PerIsolateData.h" 40 #include "bindings/core/v8/V8PerIsolateData.h"
41 #include "bindings/core/v8/WindowProxy.h" 41 #include "bindings/core/v8/WindowProxy.h"
42 #include "core/HTMLElementFactory.h" 42 #include "core/HTMLElementFactory.h"
43 #include "core/HTMLNames.h" 43 #include "core/HTMLNames.h"
44 #include "core/SVGElementFactory.h" 44 #include "core/SVGElementFactory.h"
45 #include "core/SVGNames.h" 45 #include "core/SVGNames.h"
46 #include "core/XMLNSNames.h" 46 #include "core/XMLNSNames.h"
47 #include "core/XMLNames.h" 47 #include "core/XMLNames.h"
48 #include "core/animation/AnimationTimeline.h"
49 #include "core/animation/CompositorPendingAnimations.h" 48 #include "core/animation/CompositorPendingAnimations.h"
50 #include "core/animation/DocumentAnimations.h" 49 #include "core/animation/DocumentAnimations.h"
50 #include "core/animation/DocumentTimeline.h"
51 #include "core/css/CSSFontSelector.h" 51 #include "core/css/CSSFontSelector.h"
52 #include "core/css/CSSStyleDeclaration.h" 52 #include "core/css/CSSStyleDeclaration.h"
53 #include "core/css/CSSStyleSheet.h" 53 #include "core/css/CSSStyleSheet.h"
54 #include "core/css/FontFaceSet.h" 54 #include "core/css/FontFaceSet.h"
55 #include "core/css/MediaQueryMatcher.h" 55 #include "core/css/MediaQueryMatcher.h"
56 #include "core/css/StylePropertySet.h" 56 #include "core/css/StylePropertySet.h"
57 #include "core/css/StyleSheetContents.h" 57 #include "core/css/StyleSheetContents.h"
58 #include "core/css/StyleSheetList.h" 58 #include "core/css/StyleSheetList.h"
59 #include "core/css/invalidation/StyleInvalidator.h" 59 #include "core/css/invalidation/StyleInvalidator.h"
60 #include "core/css/parser/CSSParser.h" 60 #include "core/css/parser/CSSParser.h"
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 , m_hasFullscreenSupplement(false) 439 , m_hasFullscreenSupplement(false)
440 , m_loadEventDelayCount(0) 440 , m_loadEventDelayCount(0)
441 , m_loadEventDelayTimer(this, &Document::loadEventDelayTimerFired) 441 , m_loadEventDelayTimer(this, &Document::loadEventDelayTimerFired)
442 , m_pluginLoadingTimer(this, &Document::pluginLoadingTimerFired) 442 , m_pluginLoadingTimer(this, &Document::pluginLoadingTimerFired)
443 , m_documentTiming(*this) 443 , m_documentTiming(*this)
444 , m_writeRecursionIsTooDeep(false) 444 , m_writeRecursionIsTooDeep(false)
445 , m_writeRecursionDepth(0) 445 , m_writeRecursionDepth(0)
446 , m_taskRunner(MainThreadTaskRunner::create(this)) 446 , m_taskRunner(MainThreadTaskRunner::create(this))
447 , m_registrationContext(initializer.registrationContext(this)) 447 , m_registrationContext(initializer.registrationContext(this))
448 , m_elementDataCacheClearTimer(this, &Document::elementDataCacheClearTimerFi red) 448 , m_elementDataCacheClearTimer(this, &Document::elementDataCacheClearTimerFi red)
449 , m_timeline(AnimationTimeline::create(this)) 449 , m_timeline(DocumentTimeline::create(this))
450 , m_compositorPendingAnimations(new CompositorPendingAnimations()) 450 , m_compositorPendingAnimations(new CompositorPendingAnimations())
451 , m_templateDocumentHost(nullptr) 451 , m_templateDocumentHost(nullptr)
452 , m_didAssociateFormControlsTimer(this, &Document::didAssociateFormControlsT imerFired) 452 , m_didAssociateFormControlsTimer(this, &Document::didAssociateFormControlsT imerFired)
453 , m_timers(TaskRunnerHelper::getTimerTaskRunner(this)->clone()) 453 , m_timers(TaskRunnerHelper::getTimerTaskRunner(this)->clone())
454 , m_hasViewportUnits(false) 454 , m_hasViewportUnits(false)
455 , m_parserSyncPolicy(AllowAsynchronousParsing) 455 , m_parserSyncPolicy(AllowAsynchronousParsing)
456 , m_nodeCount(0) 456 , m_nodeCount(0)
457 { 457 {
458 if (m_frame) { 458 if (m_frame) {
459 DCHECK(m_frame->page()); 459 DCHECK(m_frame->page());
(...skipping 5572 matching lines...) Expand 10 before | Expand all | Expand 10 after
6032 } 6032 }
6033 6033
6034 void showLiveDocumentInstances() 6034 void showLiveDocumentInstances()
6035 { 6035 {
6036 WeakDocumentSet& set = liveDocumentSet(); 6036 WeakDocumentSet& set = liveDocumentSet();
6037 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); 6037 fprintf(stderr, "There are %u documents currently alive:\n", set.size());
6038 for (Document* document : set) 6038 for (Document* document : set)
6039 fprintf(stderr, "- Document %p URL: %s\n", document, document->url().get String().utf8().data()); 6039 fprintf(stderr, "- Document %p URL: %s\n", document, document->url().get String().utf8().data());
6040 } 6040 }
6041 #endif 6041 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.h ('k') | third_party/WebKit/Source/core/dom/StyleEngine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698