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