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

Unified Diff: components/dom_distiller/core/theme_list.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/theme_list.h
diff --git a/components/cronet/android/org_chromium_net_UrlRequest_priority_list.h b/components/dom_distiller/core/theme_list.h
similarity index 50%
copy from components/cronet/android/org_chromium_net_UrlRequest_priority_list.h
copy to components/dom_distiller/core/theme_list.h
index 5f310951b3dc466262175ad3e8d32035bc7fede9..45174984e6e7ebd432b0bd9b8cd8a1563d223c04 100644
--- a/components/cronet/android/org_chromium_net_UrlRequest_priority_list.h
+++ b/components/dom_distiller/core/theme_list.h
@@ -4,11 +4,11 @@
// This file intentionally does not have header guards, it's included
// inside a macro to generate enum values.
-#ifndef DEFINE_REQUEST_PRIORITY
-#error "DEFINE_REQUEST_PRIORITY should be defined before including this file"
+
+#ifndef DEFINE_THEME
+#error "DEFINE_THEME should be defined before including this file"
#endif
-DEFINE_REQUEST_PRIORITY(IDLE, 0)
-DEFINE_REQUEST_PRIORITY(LOWEST, 1)
-DEFINE_REQUEST_PRIORITY(LOW, 2)
-DEFINE_REQUEST_PRIORITY(MEDIUM, 3)
-DEFINE_REQUEST_PRIORITY(HIGHEST, 4)
+
nyquist 2014/07/08 01:02:35 Could you add a comment here that explains what th
sunangel 2014/07/08 20:41:00 Done.
+DEFINE_THEME(kLight, LIGHT, 0)
+DEFINE_THEME(kDark, DARK, 1)
+DEFINE_THEME(kSepia, SEPIA, 2)

Powered by Google App Engine
This is Rietveld 408576698