Index: components/dom_distiller/core/reader_mode_preferences.h |
diff --git a/components/dom_distiller/core/reader_mode_preferences.h b/components/dom_distiller/core/reader_mode_preferences.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..dbc1ef372b6df15cc7e887e947bce7d1a9459bb9 |
--- /dev/null |
+++ b/components/dom_distiller/core/reader_mode_preferences.h |
@@ -0,0 +1,35 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef COMPONENTS_DOM_DISTILLER_CORE_READER_MODE_SETTINGS_H_ |
+#define COMPONENTS_DOM_DISTILLER_CORE_READER_MODE_SETTINGS_H_ |
+ |
+#include <string> |
+ |
+class PrefService; |
+class Profile; |
+ |
+namespace user_prefs { |
+class PrefRegistrySyncable; |
+} |
+ |
+namespace prefs { |
+ 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.
|
+} |
+ |
+namespace dom_distiller { |
+ |
+class ReaderModePrefs { |
+ public: |
+ ReaderModePrefs(Profile* profile); |
+ static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); |
+ void OnChangeHighContrast(bool new_value); |
+ bool GetHighContrastPref(); |
+ private: |
robliao
2014/06/17 23:08:15
Add one linebreak above private:
smaslo
2014/06/18 16:57:15
Done.
|
+ Profile* profile_; |
+}; |
+ |
+} // namespace dom_distiller |
+ |
+#endif // COMPONENTS_DOM_DISTILLER_CORE_READER_MODE_SETTINGS_H_ |