| 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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 PassRefPtrWillBeRawPtr<ProcessingInstruction> createProcessingInstruction(co
nst String& target, const String& data, ExceptionState&); | 331 PassRefPtrWillBeRawPtr<ProcessingInstruction> createProcessingInstruction(co
nst String& target, const String& data, ExceptionState&); |
| 332 PassRefPtrWillBeRawPtr<Attr> createAttribute(const AtomicString& name, Excep
tionState&); | 332 PassRefPtrWillBeRawPtr<Attr> createAttribute(const AtomicString& name, Excep
tionState&); |
| 333 PassRefPtrWillBeRawPtr<Attr> createAttributeNS(const AtomicString& namespace
URI, const AtomicString& qualifiedName, ExceptionState&, bool shouldIgnoreNamesp
aceChecks = false); | 333 PassRefPtrWillBeRawPtr<Attr> createAttributeNS(const AtomicString& namespace
URI, const AtomicString& qualifiedName, ExceptionState&, bool shouldIgnoreNamesp
aceChecks = false); |
| 334 PassRefPtrWillBeRawPtr<Node> importNode(Node* importedNode, ExceptionState&)
; | 334 PassRefPtrWillBeRawPtr<Node> importNode(Node* importedNode, ExceptionState&)
; |
| 335 PassRefPtrWillBeRawPtr<Node> importNode(Node* importedNode, bool deep, Excep
tionState&); | 335 PassRefPtrWillBeRawPtr<Node> importNode(Node* importedNode, bool deep, Excep
tionState&); |
| 336 PassRefPtrWillBeRawPtr<Element> createElementNS(const AtomicString& namespac
eURI, const AtomicString& qualifiedName, ExceptionState&); | 336 PassRefPtrWillBeRawPtr<Element> createElementNS(const AtomicString& namespac
eURI, const AtomicString& qualifiedName, ExceptionState&); |
| 337 PassRefPtrWillBeRawPtr<Element> createElement(const QualifiedName&, bool cre
atedByParser); | 337 PassRefPtrWillBeRawPtr<Element> createElement(const QualifiedName&, bool cre
atedByParser); |
| 338 | 338 |
| 339 bool regionBasedColumnsEnabled() const; | 339 bool regionBasedColumnsEnabled() const; |
| 340 | 340 |
| 341 /** | |
| 342 * Retrieve all nodes that intersect a rect in the window's document, until
it is fully enclosed by | |
| 343 * the boundaries of a node. | |
| 344 * | |
| 345 * @param centerX x reference for the rectangle in CSS pixels | |
| 346 * @param centerY y reference for the rectangle in CSS pixels | |
| 347 * @param topPadding How much to expand the top of the rectangle | |
| 348 * @param rightPadding How much to expand the right of the rectangle | |
| 349 * @param bottomPadding How much to expand the bottom of the rectangle | |
| 350 * @param leftPadding How much to expand the left of the rectangle | |
| 351 */ | |
| 352 PassRefPtrWillBeRawPtr<NodeList> nodesFromRect(int centerX, int centerY, | |
| 353 unsigned topPadding, unsigned rightPadding, unsigned bottomPadding, unsi
gned leftPadding, | |
| 354 HitTestRequest::HitTestRequestType hitType = HitTestRequest::ReadOnly |
HitTestRequest::Active | HitTestRequest::ConfusingAndOftenMisusedDisallowShadowC
ontent) const; | |
| 355 Element* elementFromPoint(int x, int y) const; | 341 Element* elementFromPoint(int x, int y) const; |
| 356 PassRefPtrWillBeRawPtr<Range> caretRangeFromPoint(int x, int y); | 342 PassRefPtrWillBeRawPtr<Range> caretRangeFromPoint(int x, int y); |
| 357 | 343 |
| 358 String readyState() const; | 344 String readyState() const; |
| 359 | 345 |
| 360 String defaultCharset() const; | 346 String defaultCharset() const; |
| 361 | 347 |
| 362 AtomicString inputEncoding() const { return Document::encodingName(); } | 348 AtomicString inputEncoding() const { return Document::encodingName(); } |
| 363 AtomicString charset() const { return Document::encodingName(); } | 349 AtomicString charset() const { return Document::encodingName(); } |
| 364 AtomicString characterSet() const { return Document::encodingName(); } | 350 AtomicString characterSet() const { return Document::encodingName(); } |
| (...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1154 void internalAddMessage(MessageSource, MessageLevel, const String& message,
const String& sourceURL, unsigned lineNumber, PassRefPtrWillBeRawPtr<ScriptCallS
tack>, ScriptState*); | 1140 void internalAddMessage(MessageSource, MessageLevel, const String& message,
const String& sourceURL, unsigned lineNumber, PassRefPtrWillBeRawPtr<ScriptCallS
tack>, ScriptState*); |
| 1155 | 1141 |
| 1156 virtual double timerAlignmentInterval() const OVERRIDE FINAL; | 1142 virtual double timerAlignmentInterval() const OVERRIDE FINAL; |
| 1157 | 1143 |
| 1158 void updateTitle(const String&); | 1144 void updateTitle(const String&); |
| 1159 void updateFocusAppearanceTimerFired(Timer<Document>*); | 1145 void updateFocusAppearanceTimerFired(Timer<Document>*); |
| 1160 void updateBaseURL(); | 1146 void updateBaseURL(); |
| 1161 | 1147 |
| 1162 void executeScriptsWaitingForResourcesTimerFired(Timer<Document>*); | 1148 void executeScriptsWaitingForResourcesTimerFired(Timer<Document>*); |
| 1163 | 1149 |
| 1164 PassRefPtrWillBeRawPtr<NodeList> handleZeroPadding(const HitTestRequest&, Hi
tTestResult&) const; | |
| 1165 | |
| 1166 void loadEventDelayTimerFired(Timer<Document>*); | 1150 void loadEventDelayTimerFired(Timer<Document>*); |
| 1167 void pluginLoadingTimerFired(Timer<Document>*); | 1151 void pluginLoadingTimerFired(Timer<Document>*); |
| 1168 | 1152 |
| 1169 PageVisibilityState pageVisibilityState() const; | 1153 PageVisibilityState pageVisibilityState() const; |
| 1170 | 1154 |
| 1171 PassRefPtrWillBeRawPtr<HTMLCollection> ensureCachedCollection(CollectionType
); | 1155 PassRefPtrWillBeRawPtr<HTMLCollection> ensureCachedCollection(CollectionType
); |
| 1172 | 1156 |
| 1173 // Note that dispatching a window load event may cause the DOMWindow to be d
etached from | 1157 // Note that dispatching a window load event may cause the DOMWindow to be d
etached from |
| 1174 // the LocalFrame, so callers should take a reference to the DOMWindow (whic
h owns us) to | 1158 // the LocalFrame, so callers should take a reference to the DOMWindow (whic
h owns us) to |
| 1175 // prevent the Document from getting blown away from underneath them. | 1159 // prevent the Document from getting blown away from underneath them. |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1466 inline bool Node::isDocumentNode() const | 1450 inline bool Node::isDocumentNode() const |
| 1467 { | 1451 { |
| 1468 return this == document(); | 1452 return this == document(); |
| 1469 } | 1453 } |
| 1470 | 1454 |
| 1471 Node* eventTargetNodeForDocument(Document*); | 1455 Node* eventTargetNodeForDocument(Document*); |
| 1472 | 1456 |
| 1473 } // namespace WebCore | 1457 } // namespace WebCore |
| 1474 | 1458 |
| 1475 #endif // Document_h | 1459 #endif // Document_h |
| OLD | NEW |