Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(471)

Side by Side Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 2411863002: [NoStatePrefetch] Kill renderer after preload scanning (Closed)
Patch Set: rebase and git cl format Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 String visibilityState() const; 375 String visibilityState() const;
376 PageVisibilityState pageVisibilityState() const; 376 PageVisibilityState pageVisibilityState() const;
377 bool hidden() const; 377 bool hidden() const;
378 void didChangeVisibilityState(); 378 void didChangeVisibilityState();
379 379
380 // If the document is "prefetch only", it will not be fully contstructed, 380 // If the document is "prefetch only", it will not be fully contstructed,
381 // and should never be displayed. Only a few resources will be loaded and 381 // and should never be displayed. Only a few resources will be loaded and
382 // scanned, in order to warm up caches. 382 // scanned, in order to warm up caches.
383 bool isPrefetchOnly() const; 383 bool isPrefetchOnly() const;
384 384
385 void onPrefetchFinished() const;
386
385 Node* adoptNode(Node* source, ExceptionState&); 387 Node* adoptNode(Node* source, ExceptionState&);
386 388
387 HTMLCollection* images(); 389 HTMLCollection* images();
388 HTMLCollection* embeds(); 390 HTMLCollection* embeds();
389 HTMLCollection* applets(); 391 HTMLCollection* applets();
390 HTMLCollection* links(); 392 HTMLCollection* links();
391 HTMLCollection* forms(); 393 HTMLCollection* forms();
392 HTMLCollection* anchors(); 394 HTMLCollection* anchors();
393 HTMLCollection* scripts(); 395 HTMLCollection* scripts();
394 HTMLAllCollection* allForBinding(); 396 HTMLAllCollection* allForBinding();
(...skipping 1291 matching lines...) Expand 10 before | Expand all | Expand 10 after
1686 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1688 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1687 1689
1688 } // namespace blink 1690 } // namespace blink
1689 1691
1690 #ifndef NDEBUG 1692 #ifndef NDEBUG
1691 // Outside the WebCore namespace for ease of invocation from gdb. 1693 // Outside the WebCore namespace for ease of invocation from gdb.
1692 CORE_EXPORT void showLiveDocumentInstances(); 1694 CORE_EXPORT void showLiveDocumentInstances();
1693 #endif 1695 #endif
1694 1696
1695 #endif // Document_h 1697 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698