OLD | NEW |
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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 class MouseEventWithHitTestResults; | 123 class MouseEventWithHitTestResults; |
124 class NamedFlowCollection; | 124 class NamedFlowCollection; |
125 class NodeFilter; | 125 class NodeFilter; |
126 class NodeIterator; | 126 class NodeIterator; |
127 class Page; | 127 class Page; |
128 class PlatformMouseEvent; | 128 class PlatformMouseEvent; |
129 class Prerenderer; | 129 class Prerenderer; |
130 class ProcessingInstruction; | 130 class ProcessingInstruction; |
131 class Range; | 131 class Range; |
132 class RegisteredEventListener; | 132 class RegisteredEventListener; |
133 class RenderArena; | |
134 class RenderView; | 133 class RenderView; |
135 class RequestAnimationFrameCallback; | 134 class RequestAnimationFrameCallback; |
136 class SVGDocumentExtensions; | 135 class SVGDocumentExtensions; |
137 class ScriptElementData; | 136 class ScriptElementData; |
138 class ScriptRunner; | 137 class ScriptRunner; |
139 class ScriptableDocumentParser; | 138 class ScriptableDocumentParser; |
140 class ScriptedAnimationController; | 139 class ScriptedAnimationController; |
141 class SecurityOrigin; | 140 class SecurityOrigin; |
142 class SegmentedString; | 141 class SegmentedString; |
143 class SelectorQueryCache; | 142 class SelectorQueryCache; |
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
502 ResourceFetcher* fetcher() { return m_fetcher.get(); } | 501 ResourceFetcher* fetcher() { return m_fetcher.get(); } |
503 | 502 |
504 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; | 503 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; |
505 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; | 504 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; |
506 void prepareForDestruction(); | 505 void prepareForDestruction(); |
507 | 506 |
508 // Override ScriptExecutionContext methods to do additional work | 507 // Override ScriptExecutionContext methods to do additional work |
509 virtual void suspendActiveDOMObjects(ActiveDOMObject::ReasonForSuspension) O
VERRIDE; | 508 virtual void suspendActiveDOMObjects(ActiveDOMObject::ReasonForSuspension) O
VERRIDE; |
510 virtual void resumeActiveDOMObjects() OVERRIDE; | 509 virtual void resumeActiveDOMObjects() OVERRIDE; |
511 | 510 |
512 RenderArena* renderArena() { return m_renderArena.get(); } | |
513 | |
514 // Implemented in RenderView.h to avoid a cyclic header dependency this just | 511 // Implemented in RenderView.h to avoid a cyclic header dependency this just |
515 // returns renderer so callers can avoid verbose casts. | 512 // returns renderer so callers can avoid verbose casts. |
516 RenderView* renderView() const; | 513 RenderView* renderView() const; |
517 | 514 |
518 // Shadow the implementations on Node to provide faster access for documents
. | 515 // Shadow the implementations on Node to provide faster access for documents
. |
519 RenderObject* renderer() const { return m_renderer; } | 516 RenderObject* renderer() const { return m_renderer; } |
520 void setRenderer(RenderObject* renderer) | 517 void setRenderer(RenderObject* renderer) |
521 { | 518 { |
522 m_renderer = renderer; | 519 m_renderer = renderer; |
523 Node::setRenderer(renderer); | 520 Node::setRenderer(renderer); |
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1209 bool m_updateFocusAppearanceRestoresSelection; | 1206 bool m_updateFocusAppearanceRestoresSelection; |
1210 | 1207 |
1211 // http://www.whatwg.org/specs/web-apps/current-work/#ignore-destructive-wri
tes-counter | 1208 // http://www.whatwg.org/specs/web-apps/current-work/#ignore-destructive-wri
tes-counter |
1212 unsigned m_ignoreDestructiveWriteCount; | 1209 unsigned m_ignoreDestructiveWriteCount; |
1213 | 1210 |
1214 StringWithDirection m_title; | 1211 StringWithDirection m_title; |
1215 StringWithDirection m_rawTitle; | 1212 StringWithDirection m_rawTitle; |
1216 bool m_titleSetExplicitly; | 1213 bool m_titleSetExplicitly; |
1217 RefPtr<Element> m_titleElement; | 1214 RefPtr<Element> m_titleElement; |
1218 | 1215 |
1219 RefPtr<RenderArena> m_renderArena; | |
1220 | |
1221 OwnPtr<AXObjectCache> m_axObjectCache; | 1216 OwnPtr<AXObjectCache> m_axObjectCache; |
1222 OwnPtr<DocumentMarkerController> m_markers; | 1217 OwnPtr<DocumentMarkerController> m_markers; |
1223 | 1218 |
1224 Timer<Document> m_updateFocusAppearanceTimer; | 1219 Timer<Document> m_updateFocusAppearanceTimer; |
1225 | 1220 |
1226 Element* m_cssTarget; | 1221 Element* m_cssTarget; |
1227 | 1222 |
1228 // FIXME: Merge these 2 variables into an enum. Also, FrameLoader::m_didCall
ImplicitClose | 1223 // FIXME: Merge these 2 variables into an enum. Also, FrameLoader::m_didCall
ImplicitClose |
1229 // is almost a duplication of this data, so that should probably get merged
in too. | 1224 // is almost a duplication of this data, so that should probably get merged
in too. |
1230 // FIXME: Document::m_processingLoadEvent and DocumentLoader::m_wasOnloadHan
dled are roughly the same | 1225 // FIXME: Document::m_processingLoadEvent and DocumentLoader::m_wasOnloadHan
dled are roughly the same |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1395 inline bool Node::isDocumentNode() const | 1390 inline bool Node::isDocumentNode() const |
1396 { | 1391 { |
1397 return this == documentInternal(); | 1392 return this == documentInternal(); |
1398 } | 1393 } |
1399 | 1394 |
1400 Node* eventTargetNodeForDocument(Document*); | 1395 Node* eventTargetNodeForDocument(Document*); |
1401 | 1396 |
1402 } // namespace WebCore | 1397 } // namespace WebCore |
1403 | 1398 |
1404 #endif // Document_h | 1399 #endif // Document_h |
OLD | NEW |