| Index: third_party/WebKit/public/web/WebDocument.h
|
| diff --git a/third_party/WebKit/public/web/WebDocument.h b/third_party/WebKit/public/web/WebDocument.h
|
| index 486e11ce89db1f71cd57620841aa04be6aab420c..aafa95d03413b977af96c8d5a9bb6af33edd1658 100644
|
| --- a/third_party/WebKit/public/web/WebDocument.h
|
| +++ b/third_party/WebKit/public/web/WebDocument.h
|
| @@ -36,6 +36,7 @@
|
| #include "WebFrame.h"
|
| #include "WebNode.h"
|
| #include "public/platform/WebColor.h"
|
| +#include "public/platform/WebLanguageDetectionDetails.h"
|
| #include "public/platform/WebReferrerPolicy.h"
|
| #include "public/platform/WebSecurityOrigin.h"
|
| #include "public/platform/WebVector.h"
|
| @@ -75,7 +76,20 @@ class WebDocument : public WebNode {
|
| BLINK_EXPORT bool isSecureContext() const;
|
|
|
| BLINK_EXPORT WebString encoding() const;
|
| +
|
| + // Content language indicates the language understood by the intended
|
| + // audience of a page and is specified inside the Content-Language HTTP
|
| + // header.
|
| BLINK_EXPORT WebString contentLanguage() const;
|
| +
|
| + // Document language indicates the language of the document and is set in the
|
| + // lang attribute of the <html> tag
|
| + BLINK_EXPORT WebString documentLanguage() const;
|
| +
|
| + BLINK_EXPORT WebVector<WebString> getMetaValues(const WebString& name) const;
|
| + BLINK_EXPORT WebLanguageDetectionDetails
|
| + collectLanguageDetectionDetails() const;
|
| +
|
| BLINK_EXPORT WebString referrer() const;
|
| BLINK_EXPORT WebColor themeColor() const;
|
| // The url of the OpenSearch Desription Document (if any).
|
|
|