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

Unified Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 2172613002: Renderer-side changes for NoState Prefetch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix style Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index a987a549ac6b0415e7ea62405dbaca06792d5583..9880a4c93a225ae04c5f384282c3bec2b2a921f1 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -355,6 +355,11 @@ public:
bool hidden() const;
void didChangeVisibilityState();
+ // If the document is "prefetch only", it will not be fully contstructed,
+ // and should never be displayed. Only a few resources will be loaded and
+ // scanned, in order to warm up caches.
+ bool isPrefetchOnly() const;
+
Node* adoptNode(Node* source, ExceptionState&);
HTMLCollection* images();
« no previous file with comments | « third_party/WebKit/Source/core/dom/DecodedDataDocumentParser.h ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698