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 class Profile; | |
| 12 | |
| 13 namespace user_prefs { | |
| 14 class PrefRegistrySyncable; | |
| 15 } | |
| 16 | |
| 17 namespace prefs { | |
| 18 extern const char kHigh_Contrast_Pref[]; | |
|
robliao
2014/06/17 23:08:15
Remove extra indentation.
Constant Name: kHighCon
smaslo
2014/06/18 16:57:15
Done.
| |
| 19 } | |
| 20 | |
| 21 namespace dom_distiller { | |
| 22 | |
| 23 class ReaderModePrefs { | |
| 24 public: | |
| 25 ReaderModePrefs(Profile* profile); | |
| 26 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); | |
| 27 void OnChangeHighContrast(bool new_value); | |
| 28 bool GetHighContrastPref(); | |
| 29 private: | |
|
robliao
2014/06/17 23:08:15
Add one linebreak above private:
smaslo
2014/06/18 16:57:15
Done.
| |
| 30 Profile* profile_; | |
| 31 }; | |
| 32 | |
| 33 } // namespace dom_distiller | |
| 34 | |
| 35 #endif // COMPONENTS_DOM_DISTILLER_CORE_READER_MODE_SETTINGS_H_ | |
| OLD | NEW |