| OLD | NEW |
| 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 #ifndef CONTENT_PUBLIC_COMMON_SCREEN_ORIENTATION_VALUES_H_ | 5 #ifndef CONTENT_PUBLIC_COMMON_SCREEN_ORIENTATION_VALUES_H_ |
| 6 #define CONTENT_PUBLIC_COMMON_SCREEN_ORIENTATION_VALUES_H_ | 6 #define CONTENT_PUBLIC_COMMON_SCREEN_ORIENTATION_VALUES_H_ |
| 7 | 7 |
| 8 namespace content { | 8 namespace content { |
| 9 | 9 |
| 10 // A Java counterpart will be generated for this enum. | |
| 11 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.content_public.common | |
| 12 enum ScreenOrientationValues { | 10 enum ScreenOrientationValues { |
| 13 SCREEN_ORIENTATION_VALUES_DEFAULT, | 11 #define DEFINE_SCREEN_ORIENTATION_VALUE(name, value) name = value, |
| 14 SCREEN_ORIENTATION_VALUES_PORTRAIT_PRIMARY, | 12 #include "content/public/common/screen_orientation_values_list.h" |
| 15 SCREEN_ORIENTATION_VALUES_PORTRAIT_SECONDARY, | 13 #undef DEFINE_SCREEN_ORIENTATION_VALUE |
| 16 SCREEN_ORIENTATION_VALUES_LANDSCAPE_PRIMARY, | |
| 17 SCREEN_ORIENTATION_VALUES_LANDSCAPE_SECONDARY, | |
| 18 SCREEN_ORIENTATION_VALUES_ANY, | |
| 19 SCREEN_ORIENTATION_VALUES_LANDSCAPE, | |
| 20 SCREEN_ORIENTATION_VALUES_PORTRAIT, | |
| 21 SCREEN_ORIENTATION_VALUES_NATURAL, | |
| 22 }; | 14 }; |
| 23 | 15 |
| 24 } // namespace content | 16 } // namespace content |
| 25 | 17 |
| 26 #endif // CONTENT_PUBLIC_COMMON_SCREEN_ORIENTATION_VALUES_H_ | 18 #endif // CONTENT_PUBLIC_COMMON_SCREEN_ORIENTATION_VALUES_H_ |
| OLD | NEW |