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.
5 #ifndef CONTENT_PUBLIC_COMMON_SCREEN_ORIENTATION_VALUES_LIST_H_
6 #define CONTENT_PUBLIC_COMMON_SCREEN_ORIENTATION_VALUES_LIST_H_
8 #ifndef DEFINE_SCREEN_ORIENTATION_VALUE
9 #error "DEFINE_SCREEN_ORIENTATION_VALUE should be defined before including this"
12 // These values are defined with macros so that a Java class can be generated
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)
23 #endif // CONTENT_PUBLIC_COMMON_SCREEN_ORIENTATION_VALUES_LIST_H_