Index: Source/core/dom/Document.h |
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h |
index 243583da5f29a76eb1d8ff57294685846680601f..9f1cdb6c1117da18ffff2f2618dfb3eebf3f3b2c 100644 |
--- a/Source/core/dom/Document.h |
+++ b/Source/core/dom/Document.h |
@@ -117,6 +117,7 @@ class HTMLIFrameElement; |
class HTMLImport; |
class HTMLImportLoader; |
class HTMLImportsController; |
+class HTMLLinkElement; |
class HTMLMapElement; |
class HTMLNameCollection; |
class HTMLScriptElement; |
@@ -314,7 +315,8 @@ public: |
return m_documentElement.get(); |
} |
- bool hasManifest() const; |
+ // Returns whether the Document has an AppCache manifest. |
+ bool hasAppCacheManifest() const; |
Location* location() const; |
@@ -793,7 +795,7 @@ public: |
HTMLElement* body() const; |
void setBody(PassRefPtr<HTMLElement>, ExceptionState&); |
- HTMLHeadElement* head(); |
+ HTMLHeadElement* head() const; |
// Decide which element is to define the viewport's overflow policy. If |rootStyle| is set, use |
// that as the style for the root element, rather than obtaining it on our own. The reason for |
@@ -854,6 +856,10 @@ public: |
Vector<IconURL> iconURLs(int iconTypesMask); |
+ // Returns the HTMLLinkElement currently in use for the Web Manifest. |
+ // Returns null if there is no such element. |
+ HTMLLinkElement* linkManifest() const; |
+ |
void setUseSecureKeyboardEntryWhenActive(bool); |
bool useSecureKeyboardEntryWhenActive() const; |