OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 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 COMPONENTS_DOM_DISTILLER_CORE_READER_MODE_SETTINGS_H_ | |
6 #define COMPONENTS_DOM_DISTILLER_CORE_READER_MODE_SETTINGS_H_ | |
7 | |
8 #include <string> | |
battre
2014/06/23 08:37:23
Not used.
smaslo
2014/06/23 22:14:33
Done.
| |
9 | |
10 class PrefService; | |
battre
2014/06/23 08:37:23
Not used
smaslo
2014/06/23 22:14:33
Done.
| |
11 class Profile; | |
12 | |
13 namespace user_prefs { | |
14 class PrefRegistrySyncable; | |
15 } | |
16 | |
17 namespace dom_distiller { | |
18 | |
19 class ReaderModePrefs { | |
20 public: | |
21 ReaderModePrefs(Profile* profile); | |
battre
2014/06/23 08:37:23
explicit
Please pass the PrefService instead of t
smaslo
2014/06/23 22:14:33
Done.
| |
22 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); | |
23 void OnChangeHighContrast(bool new_value); | |
24 bool GetHighContrastPref(); | |
battre
2014/06/23 08:37:23
Nit: Mark as const?
Please add a comment what tru
nyquist
2014/06/23 16:03:06
As a suggestion, one easy-to-read way of documenti
smaslo
2014/06/23 22:14:33
Done.
smaslo
2014/06/23 22:14:33
Done.
| |
25 | |
26 private: | |
27 Profile* profile_; | |
28 }; | |
29 | |
30 } // namespace dom_distiller | |
31 | |
32 #endif // COMPONENTS_DOM_DISTILLER_CORE_READER_MODE_SETTINGS_H_ | |
OLD | NEW |