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

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: Rebase 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 2d874b3159aae529462e18e09e8f7429ed9ee005..d1119b5f55873212ba9c26fe330cffb2626be0cb 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();

Powered by Google App Engine
This is Rietveld 408576698