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

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

Issue 1312843009: Improve CancellableTaskFactory handling and Oilpan usage. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add unwrap() clarification Created 5 years, 3 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 | « no previous file | 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 #include "core/fetch/ClientHintsPreferences.h" 50 #include "core/fetch/ClientHintsPreferences.h"
51 #include "core/frame/DOMTimerCoordinator.h" 51 #include "core/frame/DOMTimerCoordinator.h"
52 #include "core/frame/LocalDOMWindow.h" 52 #include "core/frame/LocalDOMWindow.h"
53 #include "core/frame/OriginsUsingFeatures.h" 53 #include "core/frame/OriginsUsingFeatures.h"
54 #include "core/html/CollectionType.h" 54 #include "core/html/CollectionType.h"
55 #include "core/html/parser/ParserSynchronizationPolicy.h" 55 #include "core/html/parser/ParserSynchronizationPolicy.h"
56 #include "core/page/PageVisibilityState.h" 56 #include "core/page/PageVisibilityState.h"
57 #include "platform/Length.h" 57 #include "platform/Length.h"
58 #include "platform/Timer.h" 58 #include "platform/Timer.h"
59 #include "platform/heap/Handle.h" 59 #include "platform/heap/Handle.h"
60 #include "platform/scheduler/CancellableTaskFactory.h"
61 #include "platform/weborigin/KURL.h" 60 #include "platform/weborigin/KURL.h"
62 #include "platform/weborigin/ReferrerPolicy.h" 61 #include "platform/weborigin/ReferrerPolicy.h"
63 #include "public/platform/WebFocusType.h" 62 #include "public/platform/WebFocusType.h"
64 #include "wtf/HashSet.h" 63 #include "wtf/HashSet.h"
65 #include "wtf/OwnPtr.h" 64 #include "wtf/OwnPtr.h"
66 #include "wtf/PassOwnPtr.h" 65 #include "wtf/PassOwnPtr.h"
67 #include "wtf/PassRefPtr.h" 66 #include "wtf/PassRefPtr.h"
68 #include "wtf/WeakPtr.h" 67 #include "wtf/WeakPtr.h"
69 68
70 namespace blink { 69 namespace blink {
71 70
72 class AnimationTimeline; 71 class AnimationTimeline;
73 class AXObjectCache; 72 class AXObjectCache;
74 class Attr; 73 class Attr;
75 class CDATASection; 74 class CDATASection;
76 class CSSStyleDeclaration; 75 class CSSStyleDeclaration;
77 class CSSStyleSheet; 76 class CSSStyleSheet;
77 class CancellableTaskFactory;
78 class CanvasFontCache; 78 class CanvasFontCache;
79 class CanvasRenderingContext2D; 79 class CanvasRenderingContext2D;
80 class CanvasRenderingContext2DOrWebGLRenderingContext; 80 class CanvasRenderingContext2DOrWebGLRenderingContext;
81 class ChromeClient; 81 class ChromeClient;
82 class Comment; 82 class Comment;
83 class ConsoleMessage; 83 class ConsoleMessage;
84 class ContextFeatures; 84 class ContextFeatures;
85 class CustomElementMicrotaskRunQueue; 85 class CustomElementMicrotaskRunQueue;
86 class CustomElementRegistrationContext; 86 class CustomElementRegistrationContext;
87 class DOMImplementation; 87 class DOMImplementation;
(...skipping 1105 matching lines...) Expand 10 before | Expand all | Expand 10 after
1193 OwnPtrWillBeMember<DOMImplementation> m_implementation; 1193 OwnPtrWillBeMember<DOMImplementation> m_implementation;
1194 1194
1195 RefPtrWillBeMember<CSSStyleSheet> m_elemSheet; 1195 RefPtrWillBeMember<CSSStyleSheet> m_elemSheet;
1196 1196
1197 bool m_printing; 1197 bool m_printing;
1198 bool m_paginatedForScreen; 1198 bool m_paginatedForScreen;
1199 1199
1200 CompatibilityMode m_compatibilityMode; 1200 CompatibilityMode m_compatibilityMode;
1201 bool m_compatibilityModeLocked; // This is cheaper than making setCompatibil ityMode virtual. 1201 bool m_compatibilityModeLocked; // This is cheaper than making setCompatibil ityMode virtual.
1202 1202
1203 CancellableTaskFactory m_executeScriptsWaitingForResourcesTask; 1203 OwnPtr<CancellableTaskFactory> m_executeScriptsWaitingForResourcesTask;
1204 1204
1205 bool m_hasAutofocused; 1205 bool m_hasAutofocused;
1206 Timer<Document> m_clearFocusedElementTimer; 1206 Timer<Document> m_clearFocusedElementTimer;
1207 RefPtrWillBeMember<Element> m_autofocusElement; 1207 RefPtrWillBeMember<Element> m_autofocusElement;
1208 RefPtrWillBeMember<Element> m_focusedElement; 1208 RefPtrWillBeMember<Element> m_focusedElement;
1209 RefPtrWillBeMember<Node> m_hoverNode; 1209 RefPtrWillBeMember<Node> m_hoverNode;
1210 RefPtrWillBeMember<Element> m_activeHoverElement; 1210 RefPtrWillBeMember<Element> m_activeHoverElement;
1211 RefPtrWillBeMember<Element> m_documentElement; 1211 RefPtrWillBeMember<Element> m_documentElement;
1212 UserActionElementSet m_userActionElements; 1212 UserActionElementSet m_userActionElements;
1213 1213
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
1434 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1434 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1435 1435
1436 } // namespace blink 1436 } // namespace blink
1437 1437
1438 #ifndef NDEBUG 1438 #ifndef NDEBUG
1439 // Outside the WebCore namespace for ease of invocation from gdb. 1439 // Outside the WebCore namespace for ease of invocation from gdb.
1440 CORE_EXPORT void showLiveDocumentInstances(); 1440 CORE_EXPORT void showLiveDocumentInstances();
1441 #endif 1441 #endif
1442 1442
1443 #endif // Document_h 1443 #endif // Document_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698