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

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

Issue 249633002: Detect <link rel='manifest'> and notify embedder. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: error 500 Created 6 years, 8 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: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index 5131c76b9f30de590195ffc234dbb9ca5d7b3d8d..1058fc7e1284087732304c18275a88a1b2105b1b 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -312,7 +312,8 @@ public:
return m_documentElement.get();
}
- bool hasManifest() const;
+ // Returns whether the Document has an AppCache manifest.
+ bool hasAppCacheManifest() const;
Location* location() const;
@@ -853,6 +854,9 @@ public:
Vector<IconURL> iconURLs(int iconTypesMask);
+ // Returns the web app manifest URL declared in a <link>.
+ KURL manifestURL();
+
void setUseSecureKeyboardEntryWhenActive(bool);
bool useSecureKeyboardEntryWhenActive() const;

Powered by Google App Engine
This is Rietveld 408576698