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

Side by Side Diff: third_party/WebKit/public/platform/WebDistillability.h

Issue 1419033004: Add feature extraction for distillability to Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WebDistillability_h
6 #define WebDistillability_h
7
8 namespace blink {
9
10 struct WebDistillabilityFeatures {
11 bool openGraph;
12 unsigned numElements;
13 unsigned numAnchors;
14 unsigned numForms;
15 unsigned numTextInput;
16 unsigned numPasswordInput;
17 unsigned numPPRE;
18 unsigned innerTextLength;
19 unsigned textContentLength;
20 double mozScore;
21 double mozScoreAllSqrt;
22 double mozScoreAllLinear;
23 };
24
25 } // namespace blink
26
27 #endif // WebDistillability_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698