| 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 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 void setXMLEncoding(const String& encoding) { m_xmlEncoding = encoding; } //
read-only property, only to be set from XMLDocumentParser | 345 void setXMLEncoding(const String& encoding) { m_xmlEncoding = encoding; } //
read-only property, only to be set from XMLDocumentParser |
| 346 void setXMLVersion(const String&, ExceptionState&); | 346 void setXMLVersion(const String&, ExceptionState&); |
| 347 void setXMLStandalone(bool, ExceptionState&); | 347 void setXMLStandalone(bool, ExceptionState&); |
| 348 void setHasXMLDeclaration(bool hasXMLDeclaration) { m_hasXMLDeclaration = ha
sXMLDeclaration ? 1 : 0; } | 348 void setHasXMLDeclaration(bool hasXMLDeclaration) { m_hasXMLDeclaration = ha
sXMLDeclaration ? 1 : 0; } |
| 349 | 349 |
| 350 virtual KURL baseURI() const override final; | 350 virtual KURL baseURI() const override final; |
| 351 | 351 |
| 352 String origin() const { return securityOrigin()->toString(); } | 352 String origin() const { return securityOrigin()->toString(); } |
| 353 | 353 |
| 354 String visibilityState() const; | 354 String visibilityState() const; |
| 355 PageVisibilityState pageVisibilityState() const; |
| 355 bool hidden() const; | 356 bool hidden() const; |
| 356 void didChangeVisibilityState(); | 357 void didChangeVisibilityState(); |
| 357 | 358 |
| 358 PassRefPtrWillBeRawPtr<Node> adoptNode(PassRefPtrWillBeRawPtr<Node> source,
ExceptionState&); | 359 PassRefPtrWillBeRawPtr<Node> adoptNode(PassRefPtrWillBeRawPtr<Node> source,
ExceptionState&); |
| 359 | 360 |
| 360 PassRefPtrWillBeRawPtr<HTMLCollection> images(); | 361 PassRefPtrWillBeRawPtr<HTMLCollection> images(); |
| 361 PassRefPtrWillBeRawPtr<HTMLCollection> embeds(); | 362 PassRefPtrWillBeRawPtr<HTMLCollection> embeds(); |
| 362 PassRefPtrWillBeRawPtr<HTMLCollection> applets(); | 363 PassRefPtrWillBeRawPtr<HTMLCollection> applets(); |
| 363 PassRefPtrWillBeRawPtr<HTMLCollection> links(); | 364 PassRefPtrWillBeRawPtr<HTMLCollection> links(); |
| 364 PassRefPtrWillBeRawPtr<HTMLCollection> forms(); | 365 PassRefPtrWillBeRawPtr<HTMLCollection> forms(); |
| (...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1133 | 1134 |
| 1134 void updateTitle(const String&); | 1135 void updateTitle(const String&); |
| 1135 void updateFocusAppearanceTimerFired(Timer<Document>*); | 1136 void updateFocusAppearanceTimerFired(Timer<Document>*); |
| 1136 void updateBaseURL(); | 1137 void updateBaseURL(); |
| 1137 | 1138 |
| 1138 void executeScriptsWaitingForResourcesTimerFired(Timer<Document>*); | 1139 void executeScriptsWaitingForResourcesTimerFired(Timer<Document>*); |
| 1139 | 1140 |
| 1140 void loadEventDelayTimerFired(Timer<Document>*); | 1141 void loadEventDelayTimerFired(Timer<Document>*); |
| 1141 void pluginLoadingTimerFired(Timer<Document>*); | 1142 void pluginLoadingTimerFired(Timer<Document>*); |
| 1142 | 1143 |
| 1143 PageVisibilityState pageVisibilityState() const; | |
| 1144 | |
| 1145 // Note that dispatching a window load event may cause the LocalDOMWindow to
be detached from | 1144 // Note that dispatching a window load event may cause the LocalDOMWindow to
be detached from |
| 1146 // the LocalFrame, so callers should take a reference to the LocalDOMWindow
(which owns us) to | 1145 // the LocalFrame, so callers should take a reference to the LocalDOMWindow
(which owns us) to |
| 1147 // prevent the Document from getting blown away from underneath them. | 1146 // prevent the Document from getting blown away from underneath them. |
| 1148 void dispatchWindowLoadEvent(); | 1147 void dispatchWindowLoadEvent(); |
| 1149 | 1148 |
| 1150 void addListenerType(ListenerType listenerType) { m_listenerTypes |= listene
rType; } | 1149 void addListenerType(ListenerType listenerType) { m_listenerTypes |= listene
rType; } |
| 1151 void addMutationEventListenerTypeIfEnabled(ListenerType); | 1150 void addMutationEventListenerTypeIfEnabled(ListenerType); |
| 1152 | 1151 |
| 1153 void didAssociateFormControlsTimerFired(Timer<Document>*); | 1152 void didAssociateFormControlsTimerFired(Timer<Document>*); |
| 1154 | 1153 |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1430 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1429 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1431 | 1430 |
| 1432 } // namespace blink | 1431 } // namespace blink |
| 1433 | 1432 |
| 1434 #ifndef NDEBUG | 1433 #ifndef NDEBUG |
| 1435 // Outside the WebCore namespace for ease of invocation from gdb. | 1434 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1436 void showLiveDocumentInstances(); | 1435 void showLiveDocumentInstances(); |
| 1437 #endif | 1436 #endif |
| 1438 | 1437 |
| 1439 #endif // Document_h | 1438 #endif // Document_h |
| OLD | NEW |