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

Side by Side Diff: Source/core/dom/Document.h

Issue 30813004: Revert r160071 "Web Animations: Implement AnimationClock and fix start time of animations" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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, 2010, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 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) 2010 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
9 * Copyright (C) 2011 Google Inc. All rights reserved. 9 * Copyright (C) 2011 Google Inc. All rights reserved.
10 * 10 *
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 #include "weborigin/ReferrerPolicy.h" 53 #include "weborigin/ReferrerPolicy.h"
54 #include "wtf/HashSet.h" 54 #include "wtf/HashSet.h"
55 #include "wtf/OwnPtr.h" 55 #include "wtf/OwnPtr.h"
56 #include "wtf/PassOwnPtr.h" 56 #include "wtf/PassOwnPtr.h"
57 #include "wtf/PassRefPtr.h" 57 #include "wtf/PassRefPtr.h"
58 #include "wtf/WeakPtr.h" 58 #include "wtf/WeakPtr.h"
59 59
60 namespace WebCore { 60 namespace WebCore {
61 61
62 class AXObjectCache; 62 class AXObjectCache;
63 class AnimationClock;
64 class Attr; 63 class Attr;
65 class CDATASection; 64 class CDATASection;
66 class CSSStyleDeclaration; 65 class CSSStyleDeclaration;
67 class CSSStyleSheet; 66 class CSSStyleSheet;
68 class CSSStyleSheetResource; 67 class CSSStyleSheetResource;
69 class CanvasRenderingContext; 68 class CanvasRenderingContext;
70 class CharacterData; 69 class CharacterData;
71 class Chrome; 70 class Chrome;
72 class Comment; 71 class Comment;
73 class ContentSecurityPolicyResponseHeaders; 72 class ContentSecurityPolicyResponseHeaders;
(...skipping 959 matching lines...) Expand 10 before | Expand all | Expand 10 after
1033 void didRemoveAllPendingStylesheet(); 1032 void didRemoveAllPendingStylesheet();
1034 void setNeedsNotifyRemoveAllPendingStylesheet() { m_needsNotifyRemoveAllPend ingStylesheet = true; } 1033 void setNeedsNotifyRemoveAllPendingStylesheet() { m_needsNotifyRemoveAllPend ingStylesheet = true; }
1035 void clearStyleResolver(); 1034 void clearStyleResolver();
1036 void notifySeamlessChildDocumentsOfStylesheetUpdate() const; 1035 void notifySeamlessChildDocumentsOfStylesheetUpdate() const;
1037 1036
1038 bool inStyleRecalc() { return m_inStyleRecalc; } 1037 bool inStyleRecalc() { return m_inStyleRecalc; }
1039 1038
1040 // Return a Locale for the default locale if the argument is null or empty. 1039 // Return a Locale for the default locale if the argument is null or empty.
1041 Locale& getCachedLocale(const AtomicString& locale = nullAtom); 1040 Locale& getCachedLocale(const AtomicString& locale = nullAtom);
1042 1041
1043 AnimationClock& animationClock() { return *m_animationClock; }
1044 DocumentTimeline* timeline() const { return m_timeline.get(); } 1042 DocumentTimeline* timeline() const { return m_timeline.get(); }
1045 1043
1046 void addToTopLayer(Element*, const Element* before = 0); 1044 void addToTopLayer(Element*, const Element* before = 0);
1047 void removeFromTopLayer(Element*); 1045 void removeFromTopLayer(Element*);
1048 const Vector<RefPtr<Element> >& topLayerElements() const { return m_topLayer Elements; } 1046 const Vector<RefPtr<Element> >& topLayerElements() const { return m_topLayer Elements; }
1049 HTMLDialogElement* activeModalDialog() const; 1047 HTMLDialogElement* activeModalDialog() const;
1050 1048
1051 const Document* templateDocument() const; 1049 const Document* templateDocument() const;
1052 Document& ensureTemplateDocument(); 1050 Document& ensureTemplateDocument();
1053 void setTemplateDocumentHost(Document* templateDocumentHost) { m_templateDoc umentHost = templateDocumentHost; } 1051 void setTemplateDocumentHost(Document* templateDocumentHost) { m_templateDoc umentHost = templateDocumentHost; }
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
1375 1373
1376 OwnPtr<DocumentSharedObjectPool> m_sharedObjectPool; 1374 OwnPtr<DocumentSharedObjectPool> m_sharedObjectPool;
1377 1375
1378 #ifndef NDEBUG 1376 #ifndef NDEBUG
1379 bool m_didDispatchViewportPropertiesChanged; 1377 bool m_didDispatchViewportPropertiesChanged;
1380 #endif 1378 #endif
1381 1379
1382 typedef HashMap<AtomicString, OwnPtr<Locale> > LocaleIdentifierToLocaleMap; 1380 typedef HashMap<AtomicString, OwnPtr<Locale> > LocaleIdentifierToLocaleMap;
1383 LocaleIdentifierToLocaleMap m_localeCache; 1381 LocaleIdentifierToLocaleMap m_localeCache;
1384 1382
1385 OwnPtr<AnimationClock> m_animationClock;
1386 RefPtr<DocumentTimeline> m_timeline; 1383 RefPtr<DocumentTimeline> m_timeline;
1387 1384
1388 RefPtr<Document> m_templateDocument; 1385 RefPtr<Document> m_templateDocument;
1389 Document* m_templateDocumentHost; // Manually managed weakref (backpointer f rom m_templateDocument). 1386 Document* m_templateDocumentHost; // Manually managed weakref (backpointer f rom m_templateDocument).
1390 1387
1391 RefPtr<FontFaceSet> m_fonts; 1388 RefPtr<FontFaceSet> m_fonts;
1392 1389
1393 Timer<Document> m_didAssociateFormControlsTimer; 1390 Timer<Document> m_didAssociateFormControlsTimer;
1394 HashSet<RefPtr<Element> > m_associatedFormControls; 1391 HashSet<RefPtr<Element> > m_associatedFormControls;
1395 }; 1392 };
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
1444 inline bool Node::isDocumentNode() const 1441 inline bool Node::isDocumentNode() const
1445 { 1442 {
1446 return this == documentInternal(); 1443 return this == documentInternal();
1447 } 1444 }
1448 1445
1449 Node* eventTargetNodeForDocument(Document*); 1446 Node* eventTargetNodeForDocument(Document*);
1450 1447
1451 } // namespace WebCore 1448 } // namespace WebCore
1452 1449
1453 #endif // Document_h 1450 #endif // Document_h
OLDNEW
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698