| 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 999 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1010 | 1010 |
| 1011 enum HttpRefreshType { | 1011 enum HttpRefreshType { |
| 1012 HttpRefreshFromHeader, | 1012 HttpRefreshFromHeader, |
| 1013 HttpRefreshFromMetaTag | 1013 HttpRefreshFromMetaTag |
| 1014 }; | 1014 }; |
| 1015 void maybeHandleHttpRefresh(const String&, HttpRefreshType); | 1015 void maybeHandleHttpRefresh(const String&, HttpRefreshType); |
| 1016 | 1016 |
| 1017 void updateSecurityOrigin(PassRefPtr<SecurityOrigin>); | 1017 void updateSecurityOrigin(PassRefPtr<SecurityOrigin>); |
| 1018 PassOwnPtr<LifecycleNotifier<Document> > createLifecycleNotifier(); | 1018 PassOwnPtr<LifecycleNotifier<Document> > createLifecycleNotifier(); |
| 1019 | 1019 |
| 1020 void setHasViewportUnits() { m_hasViewportUnits = true; } |
| 1021 bool hasViewportUnits() const { return m_hasViewportUnits; } |
| 1022 void notifyResizeForViewportUnits(); |
| 1023 |
| 1020 protected: | 1024 protected: |
| 1021 Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass); | 1025 Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass); |
| 1022 | 1026 |
| 1023 virtual void didUpdateSecurityOrigin() OVERRIDE; | 1027 virtual void didUpdateSecurityOrigin() OVERRIDE; |
| 1024 | 1028 |
| 1025 void clearXMLVersion() { m_xmlVersion = String(); } | 1029 void clearXMLVersion() { m_xmlVersion = String(); } |
| 1026 | 1030 |
| 1027 virtual void dispose() OVERRIDE; | 1031 virtual void dispose() OVERRIDE; |
| 1028 | 1032 |
| 1029 virtual PassRefPtr<Document> cloneDocumentWithoutChildren(); | 1033 virtual PassRefPtr<Document> cloneDocumentWithoutChildren(); |
| (...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1304 OwnPtr<AnimationClock> m_animationClock; | 1308 OwnPtr<AnimationClock> m_animationClock; |
| 1305 RefPtr<DocumentTimeline> m_timeline; | 1309 RefPtr<DocumentTimeline> m_timeline; |
| 1306 RefPtr<DocumentTimeline> m_transitionTimeline; | 1310 RefPtr<DocumentTimeline> m_transitionTimeline; |
| 1307 CSSPendingAnimations m_cssPendingAnimations; | 1311 CSSPendingAnimations m_cssPendingAnimations; |
| 1308 | 1312 |
| 1309 RefPtr<Document> m_templateDocument; | 1313 RefPtr<Document> m_templateDocument; |
| 1310 Document* m_templateDocumentHost; // Manually managed weakref (backpointer f
rom m_templateDocument). | 1314 Document* m_templateDocumentHost; // Manually managed weakref (backpointer f
rom m_templateDocument). |
| 1311 | 1315 |
| 1312 Timer<Document> m_didAssociateFormControlsTimer; | 1316 Timer<Document> m_didAssociateFormControlsTimer; |
| 1313 HashSet<RefPtr<Element> > m_associatedFormControls; | 1317 HashSet<RefPtr<Element> > m_associatedFormControls; |
| 1318 |
| 1319 bool m_hasViewportUnits; |
| 1314 }; | 1320 }; |
| 1315 | 1321 |
| 1316 inline void Document::notifyRemovePendingSheetIfNeeded() | 1322 inline void Document::notifyRemovePendingSheetIfNeeded() |
| 1317 { | 1323 { |
| 1318 if (m_needsNotifyRemoveAllPendingStylesheet) | 1324 if (m_needsNotifyRemoveAllPendingStylesheet) |
| 1319 didRemoveAllPendingStylesheet(); | 1325 didRemoveAllPendingStylesheet(); |
| 1320 } | 1326 } |
| 1321 | 1327 |
| 1322 inline const Document* Document::templateDocument() const | 1328 inline const Document* Document::templateDocument() const |
| 1323 { | 1329 { |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1355 inline bool Node::isDocumentNode() const | 1361 inline bool Node::isDocumentNode() const |
| 1356 { | 1362 { |
| 1357 return this == documentInternal(); | 1363 return this == documentInternal(); |
| 1358 } | 1364 } |
| 1359 | 1365 |
| 1360 Node* eventTargetNodeForDocument(Document*); | 1366 Node* eventTargetNodeForDocument(Document*); |
| 1361 | 1367 |
| 1362 } // namespace WebCore | 1368 } // namespace WebCore |
| 1363 | 1369 |
| 1364 #endif // Document_h | 1370 #endif // Document_h |
| OLD | NEW |