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

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

Issue 1248643004: Test distillability without JavaScript (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@early
Patch Set: fix oopsies Created 5 years, 2 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: third_party/WebKit/Source/core/dom/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index 8792af4f779ecb6ed3faac6a02687d88a3995517..301768addf84c29716b165bda7db178ecb89e8ad 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -39,6 +39,7 @@
#include "core/dom/DocumentLifecycle.h"
#include "core/dom/DocumentLifecycleNotifier.h"
#include "core/dom/DocumentLifecycleObserver.h"
+#include "core/dom/DocumentStatisticsCollector.h"
#include "core/dom/DocumentTiming.h"
#include "core/dom/ExecutionContext.h"
#include "core/dom/MutationObserver.h"
@@ -170,6 +171,7 @@ class WebGLRenderingContext;
struct AnnotatedRegionValue;
struct IconURL;
+struct WebDistillabilityFeatures;
using MouseEventWithHitTestResults = EventWithHitTestResults<PlatformMouseEvent>;
using ExceptionCode = int;
@@ -1052,6 +1054,8 @@ public:
WebTaskRunner* loadingTaskRunner() const;
+ WebDistillabilityFeatures distillabilityFeatures();
dglazkov 2015/10/22 16:30:31 There's no need for this to be a Document member.
wychen 2015/10/23 02:51:30 Done.
+
protected:
Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass);
@@ -1395,6 +1399,8 @@ private:
PersistentWillBeMember<CanvasFontCache> m_canvasFontCache;
+ DocumentStatisticsCollector m_statisticsCollector;
dglazkov 2015/10/22 16:30:31 Does not need to be a member.
wychen 2015/10/23 02:51:30 Done.
+
int m_nodeCount;
};

Powered by Google App Engine
This is Rietveld 408576698