| 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 1086 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1097 void didRemoveAllPendingStylesheet(); | 1097 void didRemoveAllPendingStylesheet(); |
| 1098 void setNeedsNotifyRemoveAllPendingStylesheet() { m_needsNotifyRemoveAllPend
ingStylesheet = true; } | 1098 void setNeedsNotifyRemoveAllPendingStylesheet() { m_needsNotifyRemoveAllPend
ingStylesheet = true; } |
| 1099 void clearStyleResolver(); | 1099 void clearStyleResolver(); |
| 1100 void notifySeamlessChildDocumentsOfStylesheetUpdate() const; | 1100 void notifySeamlessChildDocumentsOfStylesheetUpdate() const; |
| 1101 | 1101 |
| 1102 bool inStyleRecalc() { return m_inStyleRecalc; } | 1102 bool inStyleRecalc() { return m_inStyleRecalc; } |
| 1103 | 1103 |
| 1104 // Return a Locale for the default locale if the argument is null or empty. | 1104 // Return a Locale for the default locale if the argument is null or empty. |
| 1105 Locale& getCachedLocale(const AtomicString& locale = nullAtom); | 1105 Locale& getCachedLocale(const AtomicString& locale = nullAtom); |
| 1106 | 1106 |
| 1107 #if ENABLE(DIALOG_ELEMENT) | |
| 1108 void addToTopLayer(Element*); | 1107 void addToTopLayer(Element*); |
| 1109 void removeFromTopLayer(Element*); | 1108 void removeFromTopLayer(Element*); |
| 1110 const Vector<RefPtr<Element> >& topLayerElements() const { return m_topLayer
Elements; } | 1109 const Vector<RefPtr<Element> >& topLayerElements() const { return m_topLayer
Elements; } |
| 1111 Element* activeModalDialog() const { return !m_topLayerElements.isEmpty() ?
m_topLayerElements.last().get() : 0; } | 1110 Element* activeModalDialog() const { return !m_topLayerElements.isEmpty() ?
m_topLayerElements.last().get() : 0; } |
| 1112 #endif | |
| 1113 | 1111 |
| 1114 const Document* templateDocument() const; | 1112 const Document* templateDocument() const; |
| 1115 Document* ensureTemplateDocument(); | 1113 Document* ensureTemplateDocument(); |
| 1116 void setTemplateDocumentHost(Document* templateDocumentHost) { m_templateDoc
umentHost = templateDocumentHost; } | 1114 void setTemplateDocumentHost(Document* templateDocumentHost) { m_templateDoc
umentHost = templateDocumentHost; } |
| 1117 Document* templateDocumentHost() { return m_templateDocumentHost; } | 1115 Document* templateDocumentHost() { return m_templateDocumentHost; } |
| 1118 | 1116 |
| 1119 void didAssociateFormControl(Element*); | 1117 void didAssociateFormControl(Element*); |
| 1120 | 1118 |
| 1121 virtual void addConsoleMessage(MessageSource, MessageLevel, const String& me
ssage, unsigned long requestIdentifier = 0); | 1119 virtual void addConsoleMessage(MessageSource, MessageLevel, const String& me
ssage, unsigned long requestIdentifier = 0); |
| 1122 | 1120 |
| (...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1395 RefPtr<Element> m_fullScreenElement; | 1393 RefPtr<Element> m_fullScreenElement; |
| 1396 Vector<RefPtr<Element> > m_fullScreenElementStack; | 1394 Vector<RefPtr<Element> > m_fullScreenElementStack; |
| 1397 RenderFullScreen* m_fullScreenRenderer; | 1395 RenderFullScreen* m_fullScreenRenderer; |
| 1398 Timer<Document> m_fullScreenChangeDelayTimer; | 1396 Timer<Document> m_fullScreenChangeDelayTimer; |
| 1399 Deque<RefPtr<Node> > m_fullScreenChangeEventTargetQueue; | 1397 Deque<RefPtr<Node> > m_fullScreenChangeEventTargetQueue; |
| 1400 Deque<RefPtr<Node> > m_fullScreenErrorEventTargetQueue; | 1398 Deque<RefPtr<Node> > m_fullScreenErrorEventTargetQueue; |
| 1401 bool m_isAnimatingFullScreen; | 1399 bool m_isAnimatingFullScreen; |
| 1402 LayoutRect m_savedPlaceholderFrameRect; | 1400 LayoutRect m_savedPlaceholderFrameRect; |
| 1403 RefPtr<RenderStyle> m_savedPlaceholderRenderStyle; | 1401 RefPtr<RenderStyle> m_savedPlaceholderRenderStyle; |
| 1404 | 1402 |
| 1405 #if ENABLE(DIALOG_ELEMENT) | |
| 1406 Vector<RefPtr<Element> > m_topLayerElements; | 1403 Vector<RefPtr<Element> > m_topLayerElements; |
| 1407 #endif | |
| 1408 | 1404 |
| 1409 int m_loadEventDelayCount; | 1405 int m_loadEventDelayCount; |
| 1410 Timer<Document> m_loadEventDelayTimer; | 1406 Timer<Document> m_loadEventDelayTimer; |
| 1411 | 1407 |
| 1412 ViewportArguments m_viewportArguments; | 1408 ViewportArguments m_viewportArguments; |
| 1413 | 1409 |
| 1414 ReferrerPolicy m_referrerPolicy; | 1410 ReferrerPolicy m_referrerPolicy; |
| 1415 | 1411 |
| 1416 bool m_directionSetOnDocumentElement; | 1412 bool m_directionSetOnDocumentElement; |
| 1417 bool m_writingModeSetOnDocumentElement; | 1413 bool m_writingModeSetOnDocumentElement; |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1532 trackForDebugging(); | 1528 trackForDebugging(); |
| 1533 #endif | 1529 #endif |
| 1534 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter); | 1530 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter); |
| 1535 } | 1531 } |
| 1536 | 1532 |
| 1537 Node* eventTargetNodeForDocument(Document*); | 1533 Node* eventTargetNodeForDocument(Document*); |
| 1538 | 1534 |
| 1539 } // namespace WebCore | 1535 } // namespace WebCore |
| 1540 | 1536 |
| 1541 #endif // Document_h | 1537 #endif // Document_h |
| OLD | NEW |