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

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: spacing, fixed theme_list 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
(Empty)
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
3 // found in the LICENSE file.
4
5 // This file intentionally does not have header guards, it's included
6 // inside a macro to generate enum values.
7
8 #ifndef DEFINE_THEME
9 #error "DEFINE_THEME should be defined before including this file"
10 #endif
11 // First argument represents native enum, second argument represents Java enum,
nyquist 2014/07/11 00:19:02 This comment should be updated.
sunangel 2014/07/11 15:47:48 Done.
12 // third argument represents value corresponding to the names in the enum
13 DEFINE_THEME(LIGHT, 0)
nyquist 2014/07/11 00:19:02 Please update components/dom_distiller/core/distil
sunangel 2014/07/11 15:47:48 Done.
14 DEFINE_THEME(DARK, 1)
15 DEFINE_THEME(SEPIA, 2)
nyquist 2014/07/11 00:19:02 I think this is missing THEME_COUNT
sunangel 2014/07/11 15:47:48 Done.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698