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

Unified Diff: Source/core/html/LinkRelAttribute.cpp

Issue 249633002: Detect <link rel='manifest'> and notify embedder. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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
« no previous file with comments | « Source/core/html/LinkRelAttribute.h ('k') | Source/core/html/LinkResource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/LinkRelAttribute.cpp
diff --git a/Source/core/html/LinkRelAttribute.cpp b/Source/core/html/LinkRelAttribute.cpp
index ef4bcd768168140a84638d5925036d03f61fd0ad..58067337bac2c6414c7b8623c3bedf5314796f6f 100644
--- a/Source/core/html/LinkRelAttribute.cpp
+++ b/Source/core/html/LinkRelAttribute.cpp
@@ -46,6 +46,7 @@ LinkRelAttribute::LinkRelAttribute(const String& rel)
, m_isLinkPrerender(false)
, m_isLinkNext(false)
, m_isImport(false)
+ , m_isManifest(false)
{
if (rel.isEmpty())
return;
@@ -84,6 +85,8 @@ LinkRelAttribute::LinkRelAttribute(const String& rel)
} else if (equalIgnoringCase(*it, "apple-touch-icon-precomposed")) {
if (RuntimeEnabledFeatures::touchIconLoadingEnabled())
m_iconType = TouchPrecomposedIcon;
+ } else if (equalIgnoringCase(*it, "manifest")) {
+ m_isManifest = true;
}
}
}
« no previous file with comments | « Source/core/html/LinkRelAttribute.h ('k') | Source/core/html/LinkResource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698