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

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

Issue 615893003: Use the new java_cpp_enum rule in content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix aosp 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 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 #ifndef CONTENT_PUBLIC_COMMON_SCREEN_ORIENTATION_VALUES_LIST_H_
6 #define CONTENT_PUBLIC_COMMON_SCREEN_ORIENTATION_VALUES_LIST_H_
7
8 #ifndef DEFINE_SCREEN_ORIENTATION_VALUE
9 #error "DEFINE_SCREEN_ORIENTATION_VALUE should be defined before including this"
10 #endif
11
12 // These values are defined with macros so that a Java class can be generated
13 // for them.
14 DEFINE_SCREEN_ORIENTATION_VALUE(DEFAULT, 0)
15 DEFINE_SCREEN_ORIENTATION_VALUE(PORTRAIT_PRIMARY, 1)
16 DEFINE_SCREEN_ORIENTATION_VALUE(PORTRAIT_SECONDARY, 2)
17 DEFINE_SCREEN_ORIENTATION_VALUE(LANDSCAPE_PRIMARY, 3)
18 DEFINE_SCREEN_ORIENTATION_VALUE(LANDSCAPE_SECONDARY, 4)
19 DEFINE_SCREEN_ORIENTATION_VALUE(ANY, 5)
20 DEFINE_SCREEN_ORIENTATION_VALUE(LANDSCAPE, 6)
21 DEFINE_SCREEN_ORIENTATION_VALUE(PORTRAIT, 7)
22 DEFINE_SCREEN_ORIENTATION_VALUE(NATURAL, 8)
23
24 #endif // CONTENT_PUBLIC_COMMON_SCREEN_ORIENTATION_VALUES_LIST_H_
OLDNEW
« no previous file with comments | « content/public/common/screen_orientation_values.h ('k') | content/public/common/speech_recognition_error.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698