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 8b415834b2edb0e155adef6cdbfb4c3f91a55512..8b4ef0ff3cec52deb0086f2d414ee4ab87d172d5 100644 |
--- a/third_party/WebKit/public/web/WebDocument.h |
+++ b/third_party/WebKit/public/web/WebDocument.h |
@@ -59,6 +59,7 @@ class WebFormElement; |
class WebElementCollection; |
class WebString; |
class WebURL; |
+struct WebDistillabilityFeatures; |
// Provides readonly access to some properties of a DOM document. |
class WebDocument : public WebNode { |
@@ -137,6 +138,11 @@ public: |
BLINK_EXPORT WebURL manifestURL() const; |
BLINK_EXPORT bool manifestUseCredentials() const; |
+ // distillabilityFeatures and isMobileFriendly should only be called on |
+ // the main frame. |
+ BLINK_EXPORT WebDistillabilityFeatures distillabilityFeatures(); |
+ BLINK_EXPORT bool isMobileFriendly(); |
+ |
#if BLINK_IMPLEMENTATION |
WebDocument(const PassRefPtrWillBeRawPtr<Document>&); |
WebDocument& operator=(const PassRefPtrWillBeRawPtr<Document>&); |