Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(367)

Unified Diff: components/dom_distiller/core/distilled_page_prefs.h

Issue 340403004: Java wrapper for DistilledPagePrefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: stylistic changes, rename ThemeTestPref, remove unnecessary files Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/dom_distiller/core/distilled_page_prefs.h
diff --git a/components/dom_distiller/core/distilled_page_prefs.h b/components/dom_distiller/core/distilled_page_prefs.h
index 60b1b3db9eb22a2859cc9f81e2893a7a5e781a9a..ebcb0eabdedc3500060fd61cfd5042551de0bb91 100644
--- a/components/dom_distiller/core/distilled_page_prefs.h
+++ b/components/dom_distiller/core/distilled_page_prefs.h
@@ -22,9 +22,9 @@ class DistilledPagePrefs {
public:
// Possible themes for distilled page.
enum Theme {
- kLight,
- kDark,
- kSepia
+#define DEFINE_THEME(name, unused, value) name = value,
+#include "components/dom_distiller/core/theme_list.h"
+#undef DEFINE_THEME
};
class Observer {

Powered by Google App Engine
This is Rietveld 408576698