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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file intentionally does not have header guards, it's included 5 // This file intentionally does not have header guards, it's included
6 // inside a macro to generate enum values. 6 // inside a macro to generate enum values.
7 #ifndef DEFINE_REQUEST_PRIORITY 7
8 #error "DEFINE_REQUEST_PRIORITY should be defined before including this file" 8 #ifndef DEFINE_THEME
9 #error "DEFINE_THEME should be defined before including this file"
9 #endif 10 #endif
10 DEFINE_REQUEST_PRIORITY(IDLE, 0) 11
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.
11 DEFINE_REQUEST_PRIORITY(LOWEST, 1) 12 DEFINE_THEME(kLight, LIGHT, 0)
12 DEFINE_REQUEST_PRIORITY(LOW, 2) 13 DEFINE_THEME(kDark, DARK, 1)
13 DEFINE_REQUEST_PRIORITY(MEDIUM, 3) 14 DEFINE_THEME(kSepia, SEPIA, 2)
14 DEFINE_REQUEST_PRIORITY(HIGHEST, 4)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698