Index: content/public/common/screen_orientation_values.h |
diff --git a/content/public/common/screen_orientation_values.h b/content/public/common/screen_orientation_values.h |
index fe421a2b79332f46664c4cf71c6fd5108e510b7a..422344d9c1d972426bafbd33d3ee13dccd463d8c 100644 |
--- a/content/public/common/screen_orientation_values.h |
+++ b/content/public/common/screen_orientation_values.h |
@@ -7,10 +7,18 @@ |
namespace content { |
+// A Java counterpart will be generated for this enum. |
+// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.content_public.common |
enum ScreenOrientationValues { |
-#define DEFINE_SCREEN_ORIENTATION_VALUE(name, value) name = value, |
-#include "content/public/common/screen_orientation_values_list.h" |
-#undef DEFINE_SCREEN_ORIENTATION_VALUE |
+ SCREEN_ORIENTATION_VALUES_DEFAULT, |
+ SCREEN_ORIENTATION_VALUES_PORTRAIT_PRIMARY, |
+ SCREEN_ORIENTATION_VALUES_PORTRAIT_SECONDARY, |
+ SCREEN_ORIENTATION_VALUES_LANDSCAPE_PRIMARY, |
+ SCREEN_ORIENTATION_VALUES_LANDSCAPE_SECONDARY, |
+ SCREEN_ORIENTATION_VALUES_ANY, |
+ SCREEN_ORIENTATION_VALUES_LANDSCAPE, |
+ SCREEN_ORIENTATION_VALUES_PORTRAIT, |
+ SCREEN_ORIENTATION_VALUES_NATURAL, |
}; |
} // namespace content |