| 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 97 class FormController; | 97 class FormController; | 
| 98 class Frame; | 98 class Frame; | 
| 99 class FrameView; | 99 class FrameView; | 
| 100 class HTMLCanvasElement; | 100 class HTMLCanvasElement; | 
| 101 class HTMLCollection; | 101 class HTMLCollection; | 
| 102 class HTMLAllCollection; | 102 class HTMLAllCollection; | 
| 103 class HTMLDocument; | 103 class HTMLDocument; | 
| 104 class HTMLElement; | 104 class HTMLElement; | 
| 105 class HTMLFrameOwnerElement; | 105 class HTMLFrameOwnerElement; | 
| 106 class HTMLHeadElement; | 106 class HTMLHeadElement; | 
|  | 107 class HTMLImportsController; | 
| 107 class HTMLIFrameElement; | 108 class HTMLIFrameElement; | 
| 108 class HTMLMapElement; | 109 class HTMLMapElement; | 
| 109 class HTMLNameCollection; | 110 class HTMLNameCollection; | 
| 110 class HitTestRequest; | 111 class HitTestRequest; | 
| 111 class HitTestResult; | 112 class HitTestResult; | 
| 112 class IntPoint; | 113 class IntPoint; | 
| 113 class LayoutPoint; | 114 class LayoutPoint; | 
| 114 class LayoutRect; | 115 class LayoutRect; | 
| 115 class LiveNodeListBase; | 116 class LiveNodeListBase; | 
| 116 class DOMWrapperWorld; | 117 class DOMWrapperWorld; | 
| (...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 422     StyleResolver* styleResolver() | 423     StyleResolver* styleResolver() | 
| 423     { | 424     { | 
| 424         if (!m_styleResolver) | 425         if (!m_styleResolver) | 
| 425             createStyleResolver(); | 426             createStyleResolver(); | 
| 426         return m_styleResolver.get(); | 427         return m_styleResolver.get(); | 
| 427     } | 428     } | 
| 428 | 429 | 
| 429     void notifyRemovePendingSheetIfNeeded(); | 430     void notifyRemovePendingSheetIfNeeded(); | 
| 430 | 431 | 
| 431     bool haveStylesheetsLoaded() const; | 432     bool haveStylesheetsLoaded() const; | 
|  | 433     bool haveStylesheetsAndImportsLoaded() const { return haveImportsLoaded() &&
       haveStylesheetsLoaded(); } | 
| 432 | 434 | 
| 433     // This is a DOM function. | 435     // This is a DOM function. | 
| 434     StyleSheetList* styleSheets(); | 436     StyleSheetList* styleSheets(); | 
| 435 | 437 | 
| 436     DocumentStyleSheetCollection* styleSheetCollection() { return m_styleSheetCo
      llection.get(); } | 438     DocumentStyleSheetCollection* styleSheetCollection() { return m_styleSheetCo
      llection.get(); } | 
| 437 | 439 | 
| 438     bool gotoAnchorNeededAfterStylesheetsLoad() { return m_gotoAnchorNeededAfter
      StylesheetsLoad; } | 440     bool gotoAnchorNeededAfterStylesheetsLoad() { return m_gotoAnchorNeededAfter
      StylesheetsLoad; } | 
| 439     void setGotoAnchorNeededAfterStylesheetsLoad(bool b) { m_gotoAnchorNeededAft
      erStylesheetsLoad = b; } | 441     void setGotoAnchorNeededAfterStylesheetsLoad(bool b) { m_gotoAnchorNeededAft
      erStylesheetsLoad = b; } | 
| 440 | 442 | 
| 441     /** | 443     /** | 
| (...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1055 | 1057 | 
| 1056     TextAutosizer* textAutosizer() { return m_textAutosizer.get(); } | 1058     TextAutosizer* textAutosizer() { return m_textAutosizer.get(); } | 
| 1057 | 1059 | 
| 1058     PassRefPtr<Element> createElement(const AtomicString& localName, const Atomi
      cString& typeExtension, ExceptionCode&); | 1060     PassRefPtr<Element> createElement(const AtomicString& localName, const Atomi
      cString& typeExtension, ExceptionCode&); | 
| 1059     PassRefPtr<Element> createElementNS(const AtomicString& namespaceURI, const 
      String& qualifiedName, const AtomicString& typeExtension, ExceptionCode&); | 1061     PassRefPtr<Element> createElementNS(const AtomicString& namespaceURI, const 
      String& qualifiedName, const AtomicString& typeExtension, ExceptionCode&); | 
| 1060     PassRefPtr<CustomElementConstructor> registerElement(WebCore::ScriptState*, 
      const AtomicString& name, ExceptionCode&); | 1062     PassRefPtr<CustomElementConstructor> registerElement(WebCore::ScriptState*, 
      const AtomicString& name, ExceptionCode&); | 
| 1061     PassRefPtr<CustomElementConstructor> registerElement(WebCore::ScriptState*, 
      const AtomicString& name, const Dictionary& options, ExceptionCode&); | 1063     PassRefPtr<CustomElementConstructor> registerElement(WebCore::ScriptState*, 
      const AtomicString& name, const Dictionary& options, ExceptionCode&); | 
| 1062     CustomElementRegistry* registry() const { return m_registry.get(); } | 1064     CustomElementRegistry* registry() const { return m_registry.get(); } | 
| 1063     CustomElementRegistry* ensureCustomElementRegistry(); | 1065     CustomElementRegistry* ensureCustomElementRegistry(); | 
| 1064 | 1066 | 
|  | 1067     HTMLImportsController* ensureImports(); | 
|  | 1068     HTMLImportsController* imports() const { return m_imports.get(); } | 
|  | 1069     bool haveImportsLoaded() const; | 
|  | 1070     void didLoadAllImports(); | 
|  | 1071 | 
| 1065     void adjustFloatQuadsForScrollAndAbsoluteZoom(Vector<FloatQuad>&, RenderObje
      ct*); | 1072     void adjustFloatQuadsForScrollAndAbsoluteZoom(Vector<FloatQuad>&, RenderObje
      ct*); | 
| 1066     void adjustFloatRectForScrollAndAbsoluteZoom(FloatRect&, RenderObject*); | 1073     void adjustFloatRectForScrollAndAbsoluteZoom(FloatRect&, RenderObject*); | 
| 1067 | 1074 | 
| 1068     bool hasActiveParser(); | 1075     bool hasActiveParser(); | 
| 1069     unsigned activeParserCount() { return m_activeParserCount; } | 1076     unsigned activeParserCount() { return m_activeParserCount; } | 
| 1070     void incrementActiveParserCount() { ++m_activeParserCount; } | 1077     void incrementActiveParserCount() { ++m_activeParserCount; } | 
| 1071     void decrementActiveParserCount(); | 1078     void decrementActiveParserCount(); | 
| 1072 | 1079 | 
| 1073     void setContextFeatures(PassRefPtr<ContextFeatures>); | 1080     void setContextFeatures(PassRefPtr<ContextFeatures>); | 
| 1074     ContextFeatures* contextFeatures() { return m_contextFeatures.get(); } | 1081     ContextFeatures* contextFeatures() { return m_contextFeatures.get(); } | 
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1145     virtual double timerAlignmentInterval() const; | 1152     virtual double timerAlignmentInterval() const; | 
| 1146 | 1153 | 
| 1147     void updateTitle(const StringWithDirection&); | 1154     void updateTitle(const StringWithDirection&); | 
| 1148     void updateFocusAppearanceTimerFired(Timer<Document>*); | 1155     void updateFocusAppearanceTimerFired(Timer<Document>*); | 
| 1149     void updateBaseURL(); | 1156     void updateBaseURL(); | 
| 1150 | 1157 | 
| 1151     void buildAccessKeyMap(TreeScope* root); | 1158     void buildAccessKeyMap(TreeScope* root); | 
| 1152 | 1159 | 
| 1153     void createStyleResolver(); | 1160     void createStyleResolver(); | 
| 1154 | 1161 | 
|  | 1162     void executeScriptsWaitingForResourcesIfNeeded(); | 
|  | 1163 | 
| 1155     void seamlessParentUpdatedStylesheets(); | 1164     void seamlessParentUpdatedStylesheets(); | 
| 1156 | 1165 | 
| 1157     PassRefPtr<NodeList> handleZeroPadding(const HitTestRequest&, HitTestResult&
      ) const; | 1166     PassRefPtr<NodeList> handleZeroPadding(const HitTestRequest&, HitTestResult&
      ) const; | 
| 1158 | 1167 | 
| 1159     void loadEventDelayTimerFired(Timer<Document>*); | 1168     void loadEventDelayTimerFired(Timer<Document>*); | 
| 1160 | 1169 | 
| 1161     void pendingTasksTimerFired(Timer<Document>*); | 1170     void pendingTasksTimerFired(Timer<Document>*); | 
| 1162 | 1171 | 
| 1163     static void didReceiveTask(void*); | 1172     static void didReceiveTask(void*); | 
| 1164 | 1173 | 
| (...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1403     RefPtr<ScriptedAnimationController> m_scriptedAnimationController; | 1412     RefPtr<ScriptedAnimationController> m_scriptedAnimationController; | 
| 1404 | 1413 | 
| 1405     Timer<Document> m_pendingTasksTimer; | 1414     Timer<Document> m_pendingTasksTimer; | 
| 1406     Vector<OwnPtr<Task> > m_pendingTasks; | 1415     Vector<OwnPtr<Task> > m_pendingTasks; | 
| 1407 | 1416 | 
| 1408     OwnPtr<Prerenderer> m_prerenderer; | 1417     OwnPtr<Prerenderer> m_prerenderer; | 
| 1409 | 1418 | 
| 1410     OwnPtr<TextAutosizer> m_textAutosizer; | 1419     OwnPtr<TextAutosizer> m_textAutosizer; | 
| 1411 | 1420 | 
| 1412     RefPtr<CustomElementRegistry> m_registry; | 1421     RefPtr<CustomElementRegistry> m_registry; | 
|  | 1422     OwnPtr<HTMLImportsController> m_imports; | 
| 1413 | 1423 | 
| 1414     bool m_scheduledTasksAreSuspended; | 1424     bool m_scheduledTasksAreSuspended; | 
| 1415 | 1425 | 
| 1416     RefPtr<NamedFlowCollection> m_namedFlows; | 1426     RefPtr<NamedFlowCollection> m_namedFlows; | 
| 1417 | 1427 | 
| 1418     RefPtr<DOMSecurityPolicy> m_domSecurityPolicy; | 1428     RefPtr<DOMSecurityPolicy> m_domSecurityPolicy; | 
| 1419 | 1429 | 
| 1420     void sharedObjectPoolClearTimerFired(Timer<Document>*); | 1430     void sharedObjectPoolClearTimerFired(Timer<Document>*); | 
| 1421     Timer<Document> m_sharedObjectPoolClearTimer; | 1431     Timer<Document> m_sharedObjectPoolClearTimer; | 
| 1422 | 1432 | 
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1506     trackForDebugging(); | 1516     trackForDebugging(); | 
| 1507 #endif | 1517 #endif | 
| 1508     InspectorCounters::incrementCounter(InspectorCounters::NodeCounter); | 1518     InspectorCounters::incrementCounter(InspectorCounters::NodeCounter); | 
| 1509 } | 1519 } | 
| 1510 | 1520 | 
| 1511 Node* eventTargetNodeForDocument(Document*); | 1521 Node* eventTargetNodeForDocument(Document*); | 
| 1512 | 1522 | 
| 1513 } // namespace WebCore | 1523 } // namespace WebCore | 
| 1514 | 1524 | 
| 1515 #endif // Document_h | 1525 #endif // Document_h | 
| OLD | NEW | 
|---|