| 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 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 // The following implements the rule from HTML 4 for what valid names are. | 408 // The following implements the rule from HTML 4 for what valid names are. |
| 409 // To get this right for all the XML cases, we probably have to improve this
or move it | 409 // To get this right for all the XML cases, we probably have to improve this
or move it |
| 410 // and make it sensitive to the type of document. | 410 // and make it sensitive to the type of document. |
| 411 static bool isValidName(const String&); | 411 static bool isValidName(const String&); |
| 412 | 412 |
| 413 // The following breaks a qualified name into a prefix and a local name. | 413 // The following breaks a qualified name into a prefix and a local name. |
| 414 // It also does a validity check, and returns false if the qualified name | 414 // It also does a validity check, and returns false if the qualified name |
| 415 // is invalid. It also sets ExceptionCode when name is invalid. | 415 // is invalid. It also sets ExceptionCode when name is invalid. |
| 416 static bool parseQualifiedName(const AtomicString& qualifiedName, AtomicStri
ng& prefix, AtomicString& localName, ExceptionState&); | 416 static bool parseQualifiedName(const AtomicString& qualifiedName, AtomicStri
ng& prefix, AtomicString& localName, ExceptionState&); |
| 417 | 417 |
| 418 // Decide which element is to define the viewport's overflow policy. If |roo
tStyle| is set, use | |
| 419 // that as the style for the root element, rather than obtaining it on our o
wn. The reason for | |
| 420 // this is that style may not have been associated with the elements yet - i
n which case it may | |
| 421 // have been calculated on the fly (without associating it with the actual e
lement) somewhere. | |
| 422 Element* viewportDefiningElement(RenderStyle* rootStyle = 0) const; | |
| 423 | |
| 424 DocumentMarkerController& markers() const { return *m_markers; } | 418 DocumentMarkerController& markers() const { return *m_markers; } |
| 425 | 419 |
| 426 bool directionSetOnDocumentElement() const { return m_directionSetOnDocument
Element; } | 420 bool directionSetOnDocumentElement() const { return m_directionSetOnDocument
Element; } |
| 427 void setDirectionSetOnDocumentElement(bool b) { m_directionSetOnDocumentElem
ent = b; } | 421 void setDirectionSetOnDocumentElement(bool b) { m_directionSetOnDocumentElem
ent = b; } |
| 428 | 422 |
| 429 KURL openSearchDescriptionURL(); | 423 KURL openSearchDescriptionURL(); |
| 430 | 424 |
| 431 Document& topDocument() const; | 425 Document& topDocument() const; |
| 432 WeakPtr<Document> contextDocument(); | 426 WeakPtr<Document> contextDocument(); |
| 433 | 427 |
| (...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 784 Node* eventTargetNodeForDocument(Document*); | 778 Node* eventTargetNodeForDocument(Document*); |
| 785 | 779 |
| 786 } // namespace blink | 780 } // namespace blink |
| 787 | 781 |
| 788 #ifndef NDEBUG | 782 #ifndef NDEBUG |
| 789 // Outside the WebCore namespace for ease of invocation from gdb. | 783 // Outside the WebCore namespace for ease of invocation from gdb. |
| 790 void showLiveDocumentInstances(); | 784 void showLiveDocumentInstances(); |
| 791 #endif | 785 #endif |
| 792 | 786 |
| 793 #endif // SKY_ENGINE_CORE_DOM_DOCUMENT_H_ | 787 #endif // SKY_ENGINE_CORE_DOM_DOCUMENT_H_ |
| OLD | NEW |