| 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 1035 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1046 void clearStyleResolver(); | 1046 void clearStyleResolver(); |
| 1047 void notifySeamlessChildDocumentsOfStylesheetUpdate() const; | 1047 void notifySeamlessChildDocumentsOfStylesheetUpdate() const; |
| 1048 | 1048 |
| 1049 bool inStyleRecalc() { return m_inStyleRecalc; } | 1049 bool inStyleRecalc() { return m_inStyleRecalc; } |
| 1050 | 1050 |
| 1051 // Return a Locale for the default locale if the argument is null or empty. | 1051 // Return a Locale for the default locale if the argument is null or empty. |
| 1052 Locale& getCachedLocale(const AtomicString& locale = nullAtom); | 1052 Locale& getCachedLocale(const AtomicString& locale = nullAtom); |
| 1053 | 1053 |
| 1054 DocumentTimeline* timeline() { return m_timeline.get(); } | 1054 DocumentTimeline* timeline() { return m_timeline.get(); } |
| 1055 | 1055 |
| 1056 void addToTopLayer(Element*); | 1056 void addToTopLayer(Element*, const Element* before = 0); |
| 1057 void removeFromTopLayer(Element*); | 1057 void removeFromTopLayer(Element*); |
| 1058 const Vector<RefPtr<Element> >& topLayerElements() const { return m_topLayer
Elements; } | 1058 const Vector<RefPtr<Element> >& topLayerElements() const { return m_topLayer
Elements; } |
| 1059 Element* activeModalDialog() const { return !m_topLayerElements.isEmpty() ?
m_topLayerElements.last().get() : 0; } | 1059 Element* activeModalDialog() const { return !m_topLayerElements.isEmpty() ?
m_topLayerElements.last().get() : 0; } |
| 1060 | 1060 |
| 1061 const Document* templateDocument() const; | 1061 const Document* templateDocument() const; |
| 1062 Document* ensureTemplateDocument(); | 1062 Document* ensureTemplateDocument(); |
| 1063 void setTemplateDocumentHost(Document* templateDocumentHost) { m_templateDoc
umentHost = templateDocumentHost; } | 1063 void setTemplateDocumentHost(Document* templateDocumentHost) { m_templateDoc
umentHost = templateDocumentHost; } |
| 1064 Document* templateDocumentHost() { return m_templateDocumentHost; } | 1064 Document* templateDocumentHost() { return m_templateDocumentHost; } |
| 1065 | 1065 |
| 1066 void didAssociateFormControl(Element*); | 1066 void didAssociateFormControl(Element*); |
| (...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1442 inline bool Node::isDocumentNode() const | 1442 inline bool Node::isDocumentNode() const |
| 1443 { | 1443 { |
| 1444 return this == documentInternal(); | 1444 return this == documentInternal(); |
| 1445 } | 1445 } |
| 1446 | 1446 |
| 1447 Node* eventTargetNodeForDocument(Document*); | 1447 Node* eventTargetNodeForDocument(Document*); |
| 1448 | 1448 |
| 1449 } // namespace WebCore | 1449 } // namespace WebCore |
| 1450 | 1450 |
| 1451 #endif // Document_h | 1451 #endif // Document_h |
| OLD | NEW |