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

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

Issue 2387113002: reflow comments in public/platform/ (Closed)
Patch Set: nit Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebDistillability_h 5 #ifndef WebDistillability_h
6 #define WebDistillability_h 6 #define WebDistillability_h
7 7
8 namespace blink { 8 namespace blink {
9 9
10 struct WebDistillabilityFeatures { 10 struct WebDistillabilityFeatures {
11 bool isMobileFriendly; 11 bool isMobileFriendly;
12 // The rest of the fields are only valid when isMobileFriendly==false. 12 // The rest of the fields are only valid when isMobileFriendly==false.
13 bool openGraph; 13 bool openGraph;
14 unsigned elementCount; 14 unsigned elementCount;
15 unsigned anchorCount; 15 unsigned anchorCount;
16 unsigned formCount; 16 unsigned formCount;
17 unsigned textInputCount; 17 unsigned textInputCount;
18 unsigned passwordInputCount; 18 unsigned passwordInputCount;
19 unsigned pCount; 19 unsigned pCount;
20 unsigned preCount; 20 unsigned preCount;
21 // The following scores are derived from the triggering logic in Readability f rom Mozilla. 21 // The following scores are derived from the triggering logic in Readability
22 // from Mozilla.
22 // https://github.com/mozilla/readability/blob/85101066386a0872526a6c4ae164c18 fcd6cc1db/Readability.js#L1704 23 // https://github.com/mozilla/readability/blob/85101066386a0872526a6c4ae164c18 fcd6cc1db/Readability.js#L1704
23 double mozScore; 24 double mozScore;
24 double mozScoreAllSqrt; 25 double mozScoreAllSqrt;
25 double mozScoreAllLinear; 26 double mozScoreAllLinear;
26 }; 27 };
27 28
28 } // namespace blink 29 } // namespace blink
29 30
30 #endif // WebDistillability_h 31 #endif // WebDistillability_h
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/WebCryptoAlgorithmParams.h ('k') | third_party/WebKit/public/platform/WebDragData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698