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 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 String origin() const { return getSecurityOrigin()->toString(); } | 350 String origin() const { return getSecurityOrigin()->toString(); } |
351 String suborigin() const { return getSecurityOrigin()->hasSuborigin() ? getS
ecurityOrigin()->suborigin()->name() : String(); } | 351 String suborigin() const { return getSecurityOrigin()->hasSuborigin() ? getS
ecurityOrigin()->suborigin()->name() : String(); } |
352 | 352 |
353 String visibilityState() const; | 353 String visibilityState() const; |
354 PageVisibilityState pageVisibilityState() const; | 354 PageVisibilityState pageVisibilityState() const; |
355 bool hidden() const; | 355 bool hidden() const; |
356 void didChangeVisibilityState(); | 356 void didChangeVisibilityState(); |
357 | 357 |
| 358 // If the document is "prefetch only", it will not be fully contstructed, |
| 359 // and should never be displayed. Only a few resources will be loaded and |
| 360 // scanned, in order to warm up caches. |
| 361 bool isPrefetchOnly() const; |
| 362 |
358 Node* adoptNode(Node* source, ExceptionState&); | 363 Node* adoptNode(Node* source, ExceptionState&); |
359 | 364 |
360 HTMLCollection* images(); | 365 HTMLCollection* images(); |
361 HTMLCollection* embeds(); | 366 HTMLCollection* embeds(); |
362 HTMLCollection* applets(); | 367 HTMLCollection* applets(); |
363 HTMLCollection* links(); | 368 HTMLCollection* links(); |
364 HTMLCollection* forms(); | 369 HTMLCollection* forms(); |
365 HTMLCollection* anchors(); | 370 HTMLCollection* anchors(); |
366 HTMLCollection* scripts(); | 371 HTMLCollection* scripts(); |
367 HTMLAllCollection* allForBinding(); | 372 HTMLAllCollection* allForBinding(); |
(...skipping 1091 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1459 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1464 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
1460 | 1465 |
1461 } // namespace blink | 1466 } // namespace blink |
1462 | 1467 |
1463 #ifndef NDEBUG | 1468 #ifndef NDEBUG |
1464 // Outside the WebCore namespace for ease of invocation from gdb. | 1469 // Outside the WebCore namespace for ease of invocation from gdb. |
1465 CORE_EXPORT void showLiveDocumentInstances(); | 1470 CORE_EXPORT void showLiveDocumentInstances(); |
1466 #endif | 1471 #endif |
1467 | 1472 |
1468 #endif // Document_h | 1473 #endif // Document_h |
OLD | NEW |