Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_SWITCHES_H_ | 5 #ifndef COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_SWITCHES_H_ |
| 6 #define COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_SWITCHES_H_ | 6 #define COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_SWITCHES_H_ |
| 7 | 7 |
| 8 #include "base/base_switches.h" | 8 #include "base/base_switches.h" |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 | 10 |
| 11 namespace switches { | 11 namespace switches { |
| 12 | 12 |
| 13 // Switch to enable the DOM distiller. | 13 // Switch to enable the DOM distiller. |
| 14 extern const char kEnableDomDistiller[]; | 14 extern const char kEnableDomDistiller[]; |
| 15 | 15 |
| 16 // Switch to disable simplify page on the print preview dialog. | |
|
Lei Zhang
2015/10/29 19:14:57
nit: Alphabetical order please. Ditto in the .cc f
mvendramini_hp
2015/10/30 11:05:36
Done.
| |
| 17 extern const char kDisablePrintPreviewSimplify[]; | |
| 18 | |
| 16 // Switch to enable synced articles. | 19 // Switch to enable synced articles. |
| 17 extern const char kEnableSyncArticles[]; | 20 extern const char kEnableSyncArticles[]; |
| 18 | 21 |
| 19 // Switch to enable specific heuristics for detecting if a page is distillable | 22 // Switch to enable specific heuristics for detecting if a page is distillable |
| 20 // or not. | 23 // or not. |
| 21 extern const char kReaderModeHeuristics[]; | 24 extern const char kReaderModeHeuristics[]; |
| 22 | 25 |
| 23 // Switch to control the display of the distiller feedback form. | 26 // Switch to control the display of the distiller feedback form. |
| 24 extern const char kReaderModeFeedback[]; | 27 extern const char kReaderModeFeedback[]; |
| 25 | 28 |
| 26 namespace reader_mode_heuristics { | 29 namespace reader_mode_heuristics { |
| 27 extern const char kAdaBoost[]; | 30 extern const char kAdaBoost[]; |
| 28 extern const char kOGArticle[]; | 31 extern const char kOGArticle[]; |
| 29 extern const char kAlwaysTrue[]; | 32 extern const char kAlwaysTrue[]; |
| 30 extern const char kNone[]; | 33 extern const char kNone[]; |
| 31 }; | 34 }; |
| 32 | 35 |
| 33 namespace reader_mode_feedback { | 36 namespace reader_mode_feedback { |
| 34 extern const char kOn[]; | 37 extern const char kOn[]; |
| 35 extern const char kOff[]; | 38 extern const char kOff[]; |
| 36 }; | 39 }; |
| 37 | 40 |
| 38 } // namespace switches | 41 } // namespace switches |
| 39 | 42 |
| 40 #endif // COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_SWITCHES_H_ | 43 #endif // COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_SWITCHES_H_ |
| OLD | NEW |