OLD | NEW |
(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 |
OLD | NEW |