| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 class HTMLImportsController; | 96 class HTMLImportsController; |
| 97 class HTMLScriptElement; | 97 class HTMLScriptElement; |
| 98 class HitTestRequest; | 98 class HitTestRequest; |
| 99 class LayoutPoint; | 99 class LayoutPoint; |
| 100 class LocalDOMWindow; | 100 class LocalDOMWindow; |
| 101 class LocalFrame; | 101 class LocalFrame; |
| 102 class Location; | 102 class Location; |
| 103 class MediaQueryListListener; | 103 class MediaQueryListListener; |
| 104 class MediaQueryMatcher; | 104 class MediaQueryMatcher; |
| 105 class Page; | 105 class Page; |
| 106 class PlatformMouseEvent; | |
| 107 class QualifiedName; | 106 class QualifiedName; |
| 108 class Range; | 107 class Range; |
| 109 class RenderView; | 108 class RenderView; |
| 110 class RequestAnimationFrameCallback; | 109 class RequestAnimationFrameCallback; |
| 111 class ResourceFetcher; | 110 class ResourceFetcher; |
| 112 class ScriptRunner; | 111 class ScriptRunner; |
| 113 class ScriptedAnimationController; | 112 class ScriptedAnimationController; |
| 114 class SegmentedString; | 113 class SegmentedString; |
| 115 class SelectorQueryCache; | 114 class SelectorQueryCache; |
| 116 class SerializedScriptValue; | 115 class SerializedScriptValue; |
| 117 class Settings; | 116 class Settings; |
| 118 class StyleEngine; | 117 class StyleEngine; |
| 119 class StyleResolver; | 118 class StyleResolver; |
| 120 class Text; | 119 class Text; |
| 121 class Touch; | 120 class Touch; |
| 122 class TouchList; | 121 class TouchList; |
| 123 class WebGLRenderingContext; | 122 class WebGLRenderingContext; |
| 124 | 123 |
| 125 struct AnnotatedRegionValue; | 124 struct AnnotatedRegionValue; |
| 126 | 125 |
| 127 typedef EventWithHitTestResults<PlatformMouseEvent> MouseEventWithHitTestResults
; | |
| 128 typedef int ExceptionCode; | 126 typedef int ExceptionCode; |
| 129 | 127 |
| 130 enum DocumentClass { | 128 enum DocumentClass { |
| 131 DefaultDocumentClass = 0, | 129 DefaultDocumentClass = 0, |
| 132 HTMLDocumentClass = 1, | 130 HTMLDocumentClass = 1, |
| 133 MediaDocumentClass = 1 << 4, | 131 MediaDocumentClass = 1 << 4, |
| 134 }; | 132 }; |
| 135 | 133 |
| 136 typedef unsigned char DocumentClassFlags; | 134 typedef unsigned char DocumentClassFlags; |
| 137 | 135 |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 void setReadyState(ReadyState); | 315 void setReadyState(ReadyState); |
| 318 bool isLoadCompleted(); | 316 bool isLoadCompleted(); |
| 319 | 317 |
| 320 void setParsing(bool); | 318 void setParsing(bool); |
| 321 bool parsing() const { return m_isParsing; } | 319 bool parsing() const { return m_isParsing; } |
| 322 | 320 |
| 323 int elapsedTime() const; | 321 int elapsedTime() const; |
| 324 | 322 |
| 325 TextLinkColors& textLinkColors() { return m_textLinkColors; } | 323 TextLinkColors& textLinkColors() { return m_textLinkColors; } |
| 326 | 324 |
| 327 MouseEventWithHitTestResults prepareMouseEvent(const HitTestRequest&, const
LayoutPoint&, const PlatformMouseEvent&); | |
| 328 | |
| 329 bool setFocusedElement(PassRefPtr<Element>, FocusType = FocusTypeNone); | 325 bool setFocusedElement(PassRefPtr<Element>, FocusType = FocusTypeNone); |
| 330 Element* focusedElement() const { return m_focusedElement.get(); } | 326 Element* focusedElement() const { return m_focusedElement.get(); } |
| 331 UserActionElementSet& userActionElements() { return m_userActionElements; } | 327 UserActionElementSet& userActionElements() { return m_userActionElements; } |
| 332 const UserActionElementSet& userActionElements() const { return m_userAction
Elements; } | 328 const UserActionElementSet& userActionElements() const { return m_userAction
Elements; } |
| 333 void setNeedsFocusedElementCheck(); | 329 void setNeedsFocusedElementCheck(); |
| 334 | 330 |
| 335 void setActiveHoverElement(PassRefPtr<Element>); | 331 void setActiveHoverElement(PassRefPtr<Element>); |
| 336 Element* activeHoverElement() const { return m_activeHoverElement.get(); } | 332 Element* activeHoverElement() const { return m_activeHoverElement.get(); } |
| 337 | 333 |
| 338 void removeFocusedElementOfSubtree(Node*, bool amongChildrenOnly = false); | 334 void removeFocusedElementOfSubtree(Node*, bool amongChildrenOnly = false); |
| 339 void hoveredNodeDetached(Node*); | 335 void hoveredNodeDetached(Node*); |
| 340 void activeChainNodeDetached(Node*); | 336 void activeChainNodeDetached(Node*); |
| 341 | 337 |
| 342 void updateHoverActiveState(const HitTestRequest&, Element*, const PlatformM
ouseEvent* = 0); | |
| 343 | |
| 344 void scheduleVisualUpdate(); | 338 void scheduleVisualUpdate(); |
| 345 | 339 |
| 346 void scheduleRenderTreeUpdateIfNeeded(); | 340 void scheduleRenderTreeUpdateIfNeeded(); |
| 347 | 341 |
| 348 void attachRange(Range*); | 342 void attachRange(Range*); |
| 349 void detachRange(Range*); | 343 void detachRange(Range*); |
| 350 | 344 |
| 351 void updateRangesAfterChildrenChanged(ContainerNode*); | 345 void updateRangesAfterChildrenChanged(ContainerNode*); |
| 352 void updateRangesAfterNodeMovedToAnotherDocument(const Node&); | 346 void updateRangesAfterNodeMovedToAnotherDocument(const Node&); |
| 353 // nodeChildrenWillBeRemoved is used when removing all node children at once
. | 347 // nodeChildrenWillBeRemoved is used when removing all node children at once
. |
| (...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 780 Node* eventTargetNodeForDocument(Document*); | 774 Node* eventTargetNodeForDocument(Document*); |
| 781 | 775 |
| 782 } // namespace blink | 776 } // namespace blink |
| 783 | 777 |
| 784 #ifndef NDEBUG | 778 #ifndef NDEBUG |
| 785 // Outside the WebCore namespace for ease of invocation from gdb. | 779 // Outside the WebCore namespace for ease of invocation from gdb. |
| 786 void showLiveDocumentInstances(); | 780 void showLiveDocumentInstances(); |
| 787 #endif | 781 #endif |
| 788 | 782 |
| 789 #endif // SKY_ENGINE_CORE_DOM_DOCUMENT_H_ | 783 #endif // SKY_ENGINE_CORE_DOM_DOCUMENT_H_ |
| OLD | NEW |