| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 #include "core/dom/TextLinkColors.h" | 43 #include "core/dom/TextLinkColors.h" |
| 44 #include "core/dom/TreeScope.h" | 44 #include "core/dom/TreeScope.h" |
| 45 #include "core/dom/UserActionElementSet.h" | 45 #include "core/dom/UserActionElementSet.h" |
| 46 #include "core/dom/ViewportDescription.h" | 46 #include "core/dom/ViewportDescription.h" |
| 47 #include "core/dom/custom/CustomElement.h" | 47 #include "core/dom/custom/CustomElement.h" |
| 48 #include "core/html/CollectionType.h" | 48 #include "core/html/CollectionType.h" |
| 49 #include "core/page/FocusType.h" | 49 #include "core/page/FocusType.h" |
| 50 #include "core/page/PageVisibilityState.h" | 50 #include "core/page/PageVisibilityState.h" |
| 51 #include "core/rendering/HitTestRequest.h" | 51 #include "core/rendering/HitTestRequest.h" |
| 52 #include "heap/Handle.h" | 52 #include "heap/Handle.h" |
| 53 #include "platform/Length.h" |
| 53 #include "platform/Timer.h" | 54 #include "platform/Timer.h" |
| 54 #include "platform/weborigin/KURL.h" | 55 #include "platform/weborigin/KURL.h" |
| 55 #include "platform/weborigin/ReferrerPolicy.h" | 56 #include "platform/weborigin/ReferrerPolicy.h" |
| 56 #include "wtf/HashSet.h" | 57 #include "wtf/HashSet.h" |
| 57 #include "wtf/OwnPtr.h" | 58 #include "wtf/OwnPtr.h" |
| 58 #include "wtf/PassOwnPtr.h" | 59 #include "wtf/PassOwnPtr.h" |
| 59 #include "wtf/PassRefPtr.h" | 60 #include "wtf/PassRefPtr.h" |
| 60 #include "wtf/WeakPtr.h" | 61 #include "wtf/WeakPtr.h" |
| 61 | 62 |
| 62 namespace WebCore { | 63 namespace WebCore { |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenchange); | 276 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenchange); |
| 276 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenerror); | 277 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenerror); |
| 277 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitpointerlockchange); | 278 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitpointerlockchange); |
| 278 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitpointerlockerror); | 279 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitpointerlockerror); |
| 279 DEFINE_ATTRIBUTE_EVENT_LISTENER(wheel); | 280 DEFINE_ATTRIBUTE_EVENT_LISTENER(wheel); |
| 280 | 281 |
| 281 bool shouldMergeWithLegacyDescription(ViewportDescription::Type); | 282 bool shouldMergeWithLegacyDescription(ViewportDescription::Type); |
| 282 bool shouldOverrideLegacyDescription(ViewportDescription::Type); | 283 bool shouldOverrideLegacyDescription(ViewportDescription::Type); |
| 283 void setViewportDescription(const ViewportDescription&); | 284 void setViewportDescription(const ViewportDescription&); |
| 284 const ViewportDescription& viewportDescription() const { return m_viewportDe
scription; } | 285 const ViewportDescription& viewportDescription() const { return m_viewportDe
scription; } |
| 286 Length viewportDefaultMinWidth() const { return m_viewportDefaultMinWidth; } |
| 287 |
| 285 #ifndef NDEBUG | 288 #ifndef NDEBUG |
| 286 bool didDispatchViewportPropertiesChanged() const { return m_didDispatchView
portPropertiesChanged; } | 289 bool didDispatchViewportPropertiesChanged() const { return m_didDispatchView
portPropertiesChanged; } |
| 287 #endif | 290 #endif |
| 288 bool hasLegacyViewportTag() const { return m_legacyViewportDescription.isLeg
acyViewportType(); } | 291 bool hasLegacyViewportTag() const { return m_legacyViewportDescription.isLeg
acyViewportType(); } |
| 289 | 292 |
| 290 void setReferrerPolicy(ReferrerPolicy); | 293 void setReferrerPolicy(ReferrerPolicy); |
| 291 ReferrerPolicy referrerPolicy() const { return m_referrerPolicy; } | 294 ReferrerPolicy referrerPolicy() const { return m_referrerPolicy; } |
| 292 | 295 |
| 293 String outgoingReferrer(); | 296 String outgoingReferrer(); |
| 294 String outgoingOrigin() const; | 297 String outgoingOrigin() const; |
| (...skipping 1007 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1302 bool m_hasFullscreenElementStack; // For early return in FullscreenElementSt
ack::fromIfExists() | 1305 bool m_hasFullscreenElementStack; // For early return in FullscreenElementSt
ack::fromIfExists() |
| 1303 | 1306 |
| 1304 Vector<RefPtr<Element> > m_topLayerElements; | 1307 Vector<RefPtr<Element> > m_topLayerElements; |
| 1305 | 1308 |
| 1306 int m_loadEventDelayCount; | 1309 int m_loadEventDelayCount; |
| 1307 Timer<Document> m_loadEventDelayTimer; | 1310 Timer<Document> m_loadEventDelayTimer; |
| 1308 Timer<Document> m_pluginLoadingTimer; | 1311 Timer<Document> m_pluginLoadingTimer; |
| 1309 | 1312 |
| 1310 ViewportDescription m_viewportDescription; | 1313 ViewportDescription m_viewportDescription; |
| 1311 ViewportDescription m_legacyViewportDescription; | 1314 ViewportDescription m_legacyViewportDescription; |
| 1315 Length m_viewportDefaultMinWidth; |
| 1312 | 1316 |
| 1313 bool m_didSetReferrerPolicy; | 1317 bool m_didSetReferrerPolicy; |
| 1314 ReferrerPolicy m_referrerPolicy; | 1318 ReferrerPolicy m_referrerPolicy; |
| 1315 | 1319 |
| 1316 bool m_directionSetOnDocumentElement; | 1320 bool m_directionSetOnDocumentElement; |
| 1317 bool m_writingModeSetOnDocumentElement; | 1321 bool m_writingModeSetOnDocumentElement; |
| 1318 DocumentTiming m_documentTiming; | 1322 DocumentTiming m_documentTiming; |
| 1319 RefPtrWillBePersistent<MediaQueryMatcher> m_mediaQueryMatcher; | 1323 RefPtrWillBePersistent<MediaQueryMatcher> m_mediaQueryMatcher; |
| 1320 bool m_writeRecursionIsTooDeep; | 1324 bool m_writeRecursionIsTooDeep; |
| 1321 unsigned m_writeRecursionDepth; | 1325 unsigned m_writeRecursionDepth; |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1407 inline bool Node::isDocumentNode() const | 1411 inline bool Node::isDocumentNode() const |
| 1408 { | 1412 { |
| 1409 return this == document(); | 1413 return this == document(); |
| 1410 } | 1414 } |
| 1411 | 1415 |
| 1412 Node* eventTargetNodeForDocument(Document*); | 1416 Node* eventTargetNodeForDocument(Document*); |
| 1413 | 1417 |
| 1414 } // namespace WebCore | 1418 } // namespace WebCore |
| 1415 | 1419 |
| 1416 #endif // Document_h | 1420 #endif // Document_h |
| OLD | NEW |