Chromium Code Reviews| 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> | |
| 9 | |
| 10 class PrefService; | |
| 11 | |
| 12 namespace user_prefs { | |
| 13 class PrefRegistrySyncable; | |
| 14 } | |
| 15 | |
| 16 namespace prefs { | |
| 17 extern const char kHigh_Contrast_Pref[]; | |
| 18 } | |
| 19 | |
| 20 namespace dom_distiller { | |
| 21 | |
| 22 class ReaderModePrefs { | |
| 23 public: | |
| 24 std::string ReplaceCSSTemplateValues(); | |
| 25 void OnChangeHighContrast(bool new_value); | |
| 26 static void OnChangeHighContrast(bool new_value, PrefService* pref_service_); | |
| 27 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); | |
| 28 bool GetHighContrastPref(); | |
| 29 ReaderModePrefs(PrefService* pref_service); | |
|
robliao
2014/06/17 18:01:50
Use this declaration order for your public and pri
smaslo
2014/06/17 22:44:08
Done.
| |
| 30 private: | |
| 31 PrefService* pref_service; | |
| 32 std::string GetBodyInsertionText(); | |
| 33 }; | |
| 34 | |
| 35 } // namespace dom_distiller | |
| 36 | |
| 37 #endif // COMPONENTS_DOM_DISTILLER_CORE_READER_MODE_SETTINGS_H_ | |
| OLD | NEW |