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 995 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1006 void didRemoveAllPendingStylesheet(); | 1006 void didRemoveAllPendingStylesheet(); |
1007 void setNeedsNotifyRemoveAllPendingStylesheet() { m_needsNotifyRemoveAllPend
ingStylesheet = true; } | 1007 void setNeedsNotifyRemoveAllPendingStylesheet() { m_needsNotifyRemoveAllPend
ingStylesheet = true; } |
1008 void clearStyleResolver(); | 1008 void clearStyleResolver(); |
1009 void notifySeamlessChildDocumentsOfStylesheetUpdate() const; | 1009 void notifySeamlessChildDocumentsOfStylesheetUpdate() const; |
1010 | 1010 |
1011 bool inStyleRecalc() { return m_inStyleRecalc; } | 1011 bool inStyleRecalc() { return m_inStyleRecalc; } |
1012 | 1012 |
1013 // Return a Locale for the default locale if the argument is null or empty. | 1013 // Return a Locale for the default locale if the argument is null or empty. |
1014 Locale& getCachedLocale(const AtomicString& locale = nullAtom); | 1014 Locale& getCachedLocale(const AtomicString& locale = nullAtom); |
1015 | 1015 |
1016 DocumentTimeline* timeline() { return m_timeline.get(); } | 1016 DocumentTimeline* timeline() const { return m_timeline.get(); } |
1017 | 1017 |
1018 void addToTopLayer(Element*, const Element* before = 0); | 1018 void addToTopLayer(Element*, const Element* before = 0); |
1019 void removeFromTopLayer(Element*); | 1019 void removeFromTopLayer(Element*); |
1020 const Vector<RefPtr<Element> >& topLayerElements() const { return m_topLayer
Elements; } | 1020 const Vector<RefPtr<Element> >& topLayerElements() const { return m_topLayer
Elements; } |
1021 Element* activeModalDialog() const { return !m_topLayerElements.isEmpty() ?
m_topLayerElements.last().get() : 0; } | 1021 Element* activeModalDialog() const { return !m_topLayerElements.isEmpty() ?
m_topLayerElements.last().get() : 0; } |
1022 | 1022 |
1023 const Document* templateDocument() const; | 1023 const Document* templateDocument() const; |
1024 Document* ensureTemplateDocument(); | 1024 Document* ensureTemplateDocument(); |
1025 void setTemplateDocumentHost(Document* templateDocumentHost) { m_templateDoc
umentHost = templateDocumentHost; } | 1025 void setTemplateDocumentHost(Document* templateDocumentHost) { m_templateDoc
umentHost = templateDocumentHost; } |
1026 Document* templateDocumentHost() { return m_templateDocumentHost; } | 1026 Document* templateDocumentHost() { return m_templateDocumentHost; } |
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1395 inline bool Node::isDocumentNode() const | 1395 inline bool Node::isDocumentNode() const |
1396 { | 1396 { |
1397 return this == documentInternal(); | 1397 return this == documentInternal(); |
1398 } | 1398 } |
1399 | 1399 |
1400 Node* eventTargetNodeForDocument(Document*); | 1400 Node* eventTargetNodeForDocument(Document*); |
1401 | 1401 |
1402 } // namespace WebCore | 1402 } // namespace WebCore |
1403 | 1403 |
1404 #endif // Document_h | 1404 #endif // Document_h |
OLD | NEW |