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

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: namespaces to classes, native init, enum 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..0f4d425ffcd0df3ccb79bb4ec8c1d05d793b266b 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(x, y, z) x = z,
nyquist 2014/07/08 01:02:33 rename x to name and z to value. rename y to unuse
sunangel 2014/07/08 20:40:58 Done.
+ #include "components/dom_distiller/core/theme_list.h"
+ #undef DEFINE_THEME
};
class Observer {

Powered by Google App Engine
This is Rietveld 408576698