Chromium Code Reviews| 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 | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All |
| 7 * rights reserved. | 7 * rights reserved. |
| 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. |
| 9 * (http://www.torchmobile.com/) | 9 * (http://www.torchmobile.com/) |
| 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| (...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 376 String visibilityState() const; | 376 String visibilityState() const; |
| 377 PageVisibilityState pageVisibilityState() const; | 377 PageVisibilityState pageVisibilityState() const; |
| 378 bool hidden() const; | 378 bool hidden() const; |
| 379 void didChangeVisibilityState(); | 379 void didChangeVisibilityState(); |
| 380 | 380 |
| 381 // If the document is "prefetch only", it will not be fully contstructed, | 381 // If the document is "prefetch only", it will not be fully contstructed, |
| 382 // and should never be displayed. Only a few resources will be loaded and | 382 // and should never be displayed. Only a few resources will be loaded and |
| 383 // scanned, in order to warm up caches. | 383 // scanned, in order to warm up caches. |
| 384 bool isPrefetchOnly() const; | 384 bool isPrefetchOnly() const; |
| 385 | 385 |
| 386 void onPrefetchFinished() const; | |
|
Charlie Harrison
2016/10/25 15:05:27
Can this be private?
pasko
2016/10/25 15:17:30
Good catch. Actually now the whole method is not n
Charlie Harrison
2016/10/25 15:18:19
That works too :)
| |
| 387 | |
| 386 Node* adoptNode(Node* source, ExceptionState&); | 388 Node* adoptNode(Node* source, ExceptionState&); |
| 387 | 389 |
| 388 HTMLCollection* images(); | 390 HTMLCollection* images(); |
| 389 HTMLCollection* embeds(); | 391 HTMLCollection* embeds(); |
| 390 HTMLCollection* applets(); | 392 HTMLCollection* applets(); |
| 391 HTMLCollection* links(); | 393 HTMLCollection* links(); |
| 392 HTMLCollection* forms(); | 394 HTMLCollection* forms(); |
| 393 HTMLCollection* anchors(); | 395 HTMLCollection* anchors(); |
| 394 HTMLCollection* scripts(); | 396 HTMLCollection* scripts(); |
| 395 HTMLAllCollection* allForBinding(); | 397 HTMLAllCollection* allForBinding(); |
| (...skipping 1295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1691 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1693 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1692 | 1694 |
| 1693 } // namespace blink | 1695 } // namespace blink |
| 1694 | 1696 |
| 1695 #ifndef NDEBUG | 1697 #ifndef NDEBUG |
| 1696 // Outside the WebCore namespace for ease of invocation from gdb. | 1698 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1697 CORE_EXPORT void showLiveDocumentInstances(); | 1699 CORE_EXPORT void showLiveDocumentInstances(); |
| 1698 #endif | 1700 #endif |
| 1699 | 1701 |
| 1700 #endif // Document_h | 1702 #endif // Document_h |
| OLD | NEW |