| Index: third_party/WebKit/public/platform/WebDistillability.h
|
| diff --git a/third_party/WebKit/public/platform/WebDistillability.h b/third_party/WebKit/public/platform/WebDistillability.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a3b84d95790c4c3566aac2be75b7b6db4f8a6c19
|
| --- /dev/null
|
| +++ b/third_party/WebKit/public/platform/WebDistillability.h
|
| @@ -0,0 +1,27 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef WebDistillability_h
|
| +#define WebDistillability_h
|
| +
|
| +namespace blink {
|
| +
|
| +struct WebDistillabilityFeatures {
|
| + bool openGraph;
|
| + unsigned numElements;
|
| + unsigned numAnchors;
|
| + unsigned numForms;
|
| + unsigned numTextInput;
|
| + unsigned numPasswordInput;
|
| + unsigned numPPRE;
|
| + unsigned innerTextLength;
|
| + unsigned textContentLength;
|
| + double mozScore;
|
| + double mozScoreAllSqrt;
|
| + double mozScoreAllLinear;
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // WebDistillability_h
|
|
|