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

Unified Diff: content/public/common/screen_orientation_values.h

Issue 196193002: Implement ScreenOrientationProvider for Chrome Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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
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
new file mode 100644
index 0000000000000000000000000000000000000000..fe421a2b79332f46664c4cf71c6fd5108e510b7a
--- /dev/null
+++ b/content/public/common/screen_orientation_values.h
@@ -0,0 +1,18 @@
+// 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_H_
+#define CONTENT_PUBLIC_COMMON_SCREEN_ORIENTATION_VALUES_H_
+
+namespace content {
+
+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
+};
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_COMMON_SCREEN_ORIENTATION_VALUES_H_
« no previous file with comments | « content/public/common/assert_matching_enums.cc ('k') | content/public/common/screen_orientation_values_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698