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

Unified 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, 3 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/screen_orientation_values_list.h
diff --git a/content/public/common/screen_orientation_values_list.h b/content/public/common/screen_orientation_values_list.h
deleted file mode 100644
index 46ef678c9c28e09e37908faa7920d5a34e0f7600..0000000000000000000000000000000000000000
--- a/content/public/common/screen_orientation_values_list.h
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_PUBLIC_COMMON_SCREEN_ORIENTATION_VALUES_LIST_H_
-#define CONTENT_PUBLIC_COMMON_SCREEN_ORIENTATION_VALUES_LIST_H_
-
-#ifndef DEFINE_SCREEN_ORIENTATION_VALUE
-#error "DEFINE_SCREEN_ORIENTATION_VALUE should be defined before including this"
-#endif
-
-// These values are defined with macros so that a Java class can be generated
-// for them.
-DEFINE_SCREEN_ORIENTATION_VALUE(DEFAULT, 0)
-DEFINE_SCREEN_ORIENTATION_VALUE(PORTRAIT_PRIMARY, 1)
-DEFINE_SCREEN_ORIENTATION_VALUE(PORTRAIT_SECONDARY, 2)
-DEFINE_SCREEN_ORIENTATION_VALUE(LANDSCAPE_PRIMARY, 3)
-DEFINE_SCREEN_ORIENTATION_VALUE(LANDSCAPE_SECONDARY, 4)
-DEFINE_SCREEN_ORIENTATION_VALUE(ANY, 5)
-DEFINE_SCREEN_ORIENTATION_VALUE(LANDSCAPE, 6)
-DEFINE_SCREEN_ORIENTATION_VALUE(PORTRAIT, 7)
-DEFINE_SCREEN_ORIENTATION_VALUE(NATURAL, 8)
-
-#endif // CONTENT_PUBLIC_COMMON_SCREEN_ORIENTATION_VALUES_LIST_H_
« 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