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

Unified Diff: content/public/android/java/src/org/chromium/content_public/common/ScreenOrientationConstants.java

Issue 579883002: Use Manifest's orientation when creating a shortcut and as default orientation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@use_display_in_shortcuthelper
Patch Set: review comments 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
Index: content/public/android/java/src/org/chromium/content_public/common/ScreenOrientationConstants.java
diff --git a/content/public/android/java/src/org/chromium/content_public/common/ScreenOrientationConstants.java b/content/public/android/java/src/org/chromium/content_public/common/ScreenOrientationConstants.java
new file mode 100644
index 0000000000000000000000000000000000000000..ae8a278edea5fa9ff71edb7d56b89e0620c751f0
--- /dev/null
+++ b/content/public/android/java/src/org/chromium/content_public/common/ScreenOrientationConstants.java
@@ -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.
+
+package org.chromium.content_public.common;
+
+/**
+ * ScreenOrientationConstants contains a set of constants related to the
+ * screen orientation feature.
+ */
+public class ScreenOrientationConstants {
+ // Intent's bundle's key for the default orientation field.
+ public static final String EXTRA_ORIENTATION =
+ "org.chromium.content_public.common.orientation";
+
+ private ScreenOrientationConstants() {
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698