| 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 944 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 955 PassRefPtrWillBeRawPtr<Touch> createTouch(DOMWindow*, EventTarget*, int iden
tifier, double pageX, double pageY, double screenX, double screenY, double radiu
sX, double radiusY, float rotationAngle, float force) const; | 955 PassRefPtrWillBeRawPtr<Touch> createTouch(DOMWindow*, EventTarget*, int iden
tifier, double pageX, double pageY, double screenX, double screenY, double radiu
sX, double radiusY, float rotationAngle, float force) const; |
| 956 PassRefPtrWillBeRawPtr<TouchList> createTouchList(WillBeHeapVector<RefPtrWil
lBeMember<Touch> >&) const; | 956 PassRefPtrWillBeRawPtr<TouchList> createTouchList(WillBeHeapVector<RefPtrWil
lBeMember<Touch> >&) const; |
| 957 | 957 |
| 958 const DocumentTiming& timing() const { return m_documentTiming; } | 958 const DocumentTiming& timing() const { return m_documentTiming; } |
| 959 | 959 |
| 960 int requestAnimationFrame(PassOwnPtr<RequestAnimationFrameCallback>); | 960 int requestAnimationFrame(PassOwnPtr<RequestAnimationFrameCallback>); |
| 961 void cancelAnimationFrame(int id); | 961 void cancelAnimationFrame(int id); |
| 962 void serviceScriptedAnimations(double monotonicAnimationStartTime); | 962 void serviceScriptedAnimations(double monotonicAnimationStartTime); |
| 963 | 963 |
| 964 virtual EventTarget* errorEventTarget() OVERRIDE FINAL; | 964 virtual EventTarget* errorEventTarget() OVERRIDE FINAL; |
| 965 virtual void logExceptionToConsole(const String& errorMessage, const String&
sourceURL, int lineNumber, int columnNumber, PassRefPtr<ScriptCallStack>) OVERR
IDE FINAL; | 965 virtual void logExceptionToConsole(const String& errorMessage, const String&
sourceURL, int lineNumber, int columnNumber, PassRefPtrWillBeRawPtr<ScriptCallS
tack>) OVERRIDE FINAL; |
| 966 | 966 |
| 967 void initDNSPrefetch(); | 967 void initDNSPrefetch(); |
| 968 | 968 |
| 969 bool hasTouchEventHandlers() const { return (m_touchEventTargets.get()) ? m_
touchEventTargets->size() : false; } | 969 bool hasTouchEventHandlers() const { return (m_touchEventTargets.get()) ? m_
touchEventTargets->size() : false; } |
| 970 | 970 |
| 971 // Called when a single touch event handler has been added or removed for a
node. | 971 // Called when a single touch event handler has been added or removed for a
node. |
| 972 // The Node should always be in this Document, except for child Documents wh
ich report | 972 // The Node should always be in this Document, except for child Documents wh
ich report |
| 973 // themselves to their parent exactly once if they have any touch handlers. | 973 // themselves to their parent exactly once if they have any touch handlers. |
| 974 // Handlers added/removed from the DOMWindow are reported as the Document. | 974 // Handlers added/removed from the DOMWindow are reported as the Document. |
| 975 void didAddTouchEventHandler(Node*); | 975 void didAddTouchEventHandler(Node*); |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1135 #if !ENABLE(OILPAN) | 1135 #if !ENABLE(OILPAN) |
| 1136 virtual void refExecutionContext() OVERRIDE FINAL { ref(); } | 1136 virtual void refExecutionContext() OVERRIDE FINAL { ref(); } |
| 1137 virtual void derefExecutionContext() OVERRIDE FINAL { deref(); } | 1137 virtual void derefExecutionContext() OVERRIDE FINAL { deref(); } |
| 1138 #endif | 1138 #endif |
| 1139 | 1139 |
| 1140 virtual const KURL& virtualURL() const OVERRIDE FINAL; // Same as url(), but
needed for ExecutionContext to implement it without a performance loss for dire
ct calls. | 1140 virtual const KURL& virtualURL() const OVERRIDE FINAL; // Same as url(), but
needed for ExecutionContext to implement it without a performance loss for dire
ct calls. |
| 1141 virtual KURL virtualCompleteURL(const String&) const OVERRIDE FINAL; // Same
as completeURL() for the same reason as above. | 1141 virtual KURL virtualCompleteURL(const String&) const OVERRIDE FINAL; // Same
as completeURL() for the same reason as above. |
| 1142 | 1142 |
| 1143 virtual void reportBlockedScriptExecutionToInspector(const String& directive
Text) OVERRIDE FINAL; | 1143 virtual void reportBlockedScriptExecutionToInspector(const String& directive
Text) OVERRIDE FINAL; |
| 1144 virtual void addMessage(MessageSource, MessageLevel, const String& message,
const String& sourceURL, unsigned lineNumber, ScriptState*) OVERRIDE FINAL; | 1144 virtual void addMessage(MessageSource, MessageLevel, const String& message,
const String& sourceURL, unsigned lineNumber, ScriptState*) OVERRIDE FINAL; |
| 1145 void internalAddMessage(MessageSource, MessageLevel, const String& message,
const String& sourceURL, unsigned lineNumber, PassRefPtr<ScriptCallStack>, Scrip
tState*); | 1145 void internalAddMessage(MessageSource, MessageLevel, const String& message,
const String& sourceURL, unsigned lineNumber, PassRefPtrWillBeRawPtr<ScriptCallS
tack>, ScriptState*); |
| 1146 | 1146 |
| 1147 virtual double timerAlignmentInterval() const OVERRIDE FINAL; | 1147 virtual double timerAlignmentInterval() const OVERRIDE FINAL; |
| 1148 | 1148 |
| 1149 void updateTitle(const String&); | 1149 void updateTitle(const String&); |
| 1150 void updateFocusAppearanceTimerFired(Timer<Document>*); | 1150 void updateFocusAppearanceTimerFired(Timer<Document>*); |
| 1151 void updateBaseURL(); | 1151 void updateBaseURL(); |
| 1152 | 1152 |
| 1153 void executeScriptsWaitingForResourcesTimerFired(Timer<Document>*); | 1153 void executeScriptsWaitingForResourcesTimerFired(Timer<Document>*); |
| 1154 | 1154 |
| 1155 PassRefPtrWillBeRawPtr<NodeList> handleZeroPadding(const HitTestRequest&, Hi
tTestResult&) const; | 1155 PassRefPtrWillBeRawPtr<NodeList> handleZeroPadding(const HitTestRequest&, Hi
tTestResult&) const; |
| (...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1457 inline bool Node::isDocumentNode() const | 1457 inline bool Node::isDocumentNode() const |
| 1458 { | 1458 { |
| 1459 return this == document(); | 1459 return this == document(); |
| 1460 } | 1460 } |
| 1461 | 1461 |
| 1462 Node* eventTargetNodeForDocument(Document*); | 1462 Node* eventTargetNodeForDocument(Document*); |
| 1463 | 1463 |
| 1464 } // namespace WebCore | 1464 } // namespace WebCore |
| 1465 | 1465 |
| 1466 #endif // Document_h | 1466 #endif // Document_h |
| OLD | NEW |