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

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

Issue 2536643002: Introduce animation frame tasks (Closed)
Patch Set: drop 'the' Created 4 years 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, 2010, 2012 Apple Inc. All 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All
7 * rights reserved. 7 * rights reserved.
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved.
9 * (http://www.torchmobile.com/) 9 * (http://www.torchmobile.com/)
10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
(...skipping 1062 matching lines...) Expand 10 before | Expand all | Expand 10 after
1073 bool isContextThread() const final; 1073 bool isContextThread() const final;
1074 bool isJSExecutionForbidden() const final { return false; } 1074 bool isJSExecutionForbidden() const final { return false; }
1075 1075
1076 bool containsValidityStyleRules() const { 1076 bool containsValidityStyleRules() const {
1077 return m_containsValidityStyleRules; 1077 return m_containsValidityStyleRules;
1078 } 1078 }
1079 void setContainsValidityStyleRules() { m_containsValidityStyleRules = true; } 1079 void setContainsValidityStyleRules() { m_containsValidityStyleRules = true; }
1080 1080
1081 void enqueueResizeEvent(); 1081 void enqueueResizeEvent();
1082 void enqueueScrollEventForNode(Node*); 1082 void enqueueScrollEventForNode(Node*);
1083 void enqueueAnimationFrameTask(std::unique_ptr<WTF::Closure>);
1083 void enqueueAnimationFrameEvent(Event*); 1084 void enqueueAnimationFrameEvent(Event*);
1084 // Only one event for a target/event type combination will be dispatched per 1085 // Only one event for a target/event type combination will be dispatched per
1085 // frame. 1086 // frame.
1086 void enqueueUniqueAnimationFrameEvent(Event*); 1087 void enqueueUniqueAnimationFrameEvent(Event*);
1087 void enqueueMediaQueryChangeListeners( 1088 void enqueueMediaQueryChangeListeners(
1088 HeapVector<Member<MediaQueryListListener>>&); 1089 HeapVector<Member<MediaQueryListListener>>&);
1089 void enqueueVisualViewportScrollEvent(); 1090 void enqueueVisualViewportScrollEvent();
1090 void enqueueVisualViewportResizeEvent(); 1091 void enqueueVisualViewportResizeEvent();
1091 1092
1092 void dispatchEventsForPrinting(); 1093 void dispatchEventsForPrinting();
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after
1711 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1712 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1712 1713
1713 } // namespace blink 1714 } // namespace blink
1714 1715
1715 #ifndef NDEBUG 1716 #ifndef NDEBUG
1716 // Outside the WebCore namespace for ease of invocation from gdb. 1717 // Outside the WebCore namespace for ease of invocation from gdb.
1717 CORE_EXPORT void showLiveDocumentInstances(); 1718 CORE_EXPORT void showLiveDocumentInstances();
1718 #endif 1719 #endif
1719 1720
1720 #endif // Document_h 1721 #endif // Document_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/BUILD.gn ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698