| 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 1051 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1062 | 1062 |
| 1063 virtual DOMTimerCoordinator* timers() override final; | 1063 virtual DOMTimerCoordinator* timers() override final; |
| 1064 | 1064 |
| 1065 virtual v8::Local<v8::Object> wrap(v8::Isolate*, v8::Local<v8::Object> creat
ionContext) override; | 1065 virtual v8::Local<v8::Object> wrap(v8::Isolate*, v8::Local<v8::Object> creat
ionContext) override; |
| 1066 virtual v8::Local<v8::Object> associateWithWrapper(v8::Isolate*, const Wrapp
erTypeInfo*, v8::Local<v8::Object> wrapper) override; | 1066 virtual v8::Local<v8::Object> associateWithWrapper(v8::Isolate*, const Wrapp
erTypeInfo*, v8::Local<v8::Object> wrapper) override; |
| 1067 | 1067 |
| 1068 OriginsUsingFeatures::Value& originsUsingFeaturesValue() { return m_originsU
singFeaturesValue; } | 1068 OriginsUsingFeatures::Value& originsUsingFeaturesValue() { return m_originsU
singFeaturesValue; } |
| 1069 | 1069 |
| 1070 NthIndexCache* nthIndexCache() const { return m_nthIndexCache; } | 1070 NthIndexCache* nthIndexCache() const { return m_nthIndexCache; } |
| 1071 | 1071 |
| 1072 bool isPrivilegedContext(String& errorMessage, const PrivilegeContextCheck =
StandardPrivilegeCheck) override; | 1072 bool isPrivilegedContext(String& errorMessage, const PrivilegeContextCheck =
StandardPrivilegeCheck) const override; |
| 1073 | 1073 |
| 1074 void setClientHintsPreferences(const ClientHintsPreferences& preferences) {
m_clientHintsPreferences.set(preferences); } | 1074 void setClientHintsPreferences(const ClientHintsPreferences& preferences) {
m_clientHintsPreferences.set(preferences); } |
| 1075 const ClientHintsPreferences& clientHintsPreferences() const { return m_clie
ntHintsPreferences; } | 1075 const ClientHintsPreferences& clientHintsPreferences() const { return m_clie
ntHintsPreferences; } |
| 1076 | 1076 |
| 1077 protected: | 1077 protected: |
| 1078 Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass); | 1078 Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass); |
| 1079 | 1079 |
| 1080 virtual void didUpdateSecurityOrigin() override final; | 1080 virtual void didUpdateSecurityOrigin() override final; |
| 1081 | 1081 |
| 1082 void clearXMLVersion() { m_xmlVersion = String(); } | 1082 void clearXMLVersion() { m_xmlVersion = String(); } |
| (...skipping 10 matching lines...) Expand all Loading... |
| 1093 | 1093 |
| 1094 private: | 1094 private: |
| 1095 friend class IgnoreDestructiveWriteCountIncrementer; | 1095 friend class IgnoreDestructiveWriteCountIncrementer; |
| 1096 friend class NthIndexCache; | 1096 friend class NthIndexCache; |
| 1097 | 1097 |
| 1098 bool isDocumentFragment() const = delete; // This will catch anyone doing an
unnecessary check. | 1098 bool isDocumentFragment() const = delete; // This will catch anyone doing an
unnecessary check. |
| 1099 bool isDocumentNode() const = delete; // This will catch anyone doing an unn
ecessary check. | 1099 bool isDocumentNode() const = delete; // This will catch anyone doing an unn
ecessary check. |
| 1100 bool isElementNode() const = delete; // This will catch anyone doing an unne
cessary check. | 1100 bool isElementNode() const = delete; // This will catch anyone doing an unne
cessary check. |
| 1101 | 1101 |
| 1102 ScriptedAnimationController& ensureScriptedAnimationController(); | 1102 ScriptedAnimationController& ensureScriptedAnimationController(); |
| 1103 virtual SecurityContext& securityContext() override final { return *this; } | 1103 virtual const SecurityContext& securityContext() const override final { retu
rn *this; } |
| 1104 virtual EventQueue* eventQueue() const override final; | 1104 virtual EventQueue* eventQueue() const override final; |
| 1105 | 1105 |
| 1106 // FIXME: Rename the StyleRecalc state to LayoutTreeUpdate. | 1106 // FIXME: Rename the StyleRecalc state to LayoutTreeUpdate. |
| 1107 bool hasPendingStyleRecalc() const { return m_lifecycle.state() == DocumentL
ifecycle::VisualUpdatePending; } | 1107 bool hasPendingStyleRecalc() const { return m_lifecycle.state() == DocumentL
ifecycle::VisualUpdatePending; } |
| 1108 | 1108 |
| 1109 bool shouldScheduleLayoutTreeUpdate() const; | 1109 bool shouldScheduleLayoutTreeUpdate() const; |
| 1110 void scheduleLayoutTreeUpdate(); | 1110 void scheduleLayoutTreeUpdate(); |
| 1111 | 1111 |
| 1112 bool needsFullLayoutTreeUpdate() const; | 1112 bool needsFullLayoutTreeUpdate() const; |
| 1113 | 1113 |
| (...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1465 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1465 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1466 | 1466 |
| 1467 } // namespace blink | 1467 } // namespace blink |
| 1468 | 1468 |
| 1469 #ifndef NDEBUG | 1469 #ifndef NDEBUG |
| 1470 // Outside the WebCore namespace for ease of invocation from gdb. | 1470 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1471 CORE_EXPORT void showLiveDocumentInstances(); | 1471 CORE_EXPORT void showLiveDocumentInstances(); |
| 1472 #endif | 1472 #endif |
| 1473 | 1473 |
| 1474 #endif // Document_h | 1474 #endif // Document_h |
| OLD | NEW |