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

Side by Side Diff: content/public/common/top_controls_state_list.h

Issue 617103007: Revert of Revert of Use the new java_cpp_enum rule in content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
OLDNEW
(Empty)
1 // Copyright (c) 2013 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 #ifndef CONTENT_PUBLIC_COMMON_TOP_CONTROLS_STATE_LIST_H_
6 #define CONTENT_PUBLIC_COMMON_TOP_CONTROLS_STATE_LIST_H_
7
8 #ifndef DEFINE_TOP_CONTROLS_STATE
9 #error "DEFINE_TOP_CONTROLS_STATE should be defined before including this file"
10 #endif
11
12 // These values are defined with macros so that a Java class can be generated
13 // for them.
14 DEFINE_TOP_CONTROLS_STATE(SHOWN, 1)
15 DEFINE_TOP_CONTROLS_STATE(HIDDEN, 2)
16 DEFINE_TOP_CONTROLS_STATE(BOTH, 3)
17
18 #endif // CONTENT_PUBLIC_COMMON_TOP_CONTROLS_STATE_LIST_H_
19
OLDNEW
« no previous file with comments | « content/public/common/top_controls_state.h ('k') | content/renderer/render_view_impl_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698