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

Unified Diff: chrome/android/webapk/libs/common/src/org/chromium/webapk/lib/common/WebApkMetaDataKeys.java

Issue 2270873002: Put WebAPK Android Manifest keys in dedicated file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'master' into meta_data_class Created 4 years, 4 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: chrome/android/webapk/libs/common/src/org/chromium/webapk/lib/common/WebApkMetaDataKeys.java
diff --git a/chrome/android/webapk/libs/common/src/org/chromium/webapk/lib/common/WebApkMetaDataKeys.java b/chrome/android/webapk/libs/common/src/org/chromium/webapk/lib/common/WebApkMetaDataKeys.java
new file mode 100644
index 0000000000000000000000000000000000000000..300406dab2a2b054192d03abe1a169b4a9d582db
--- /dev/null
+++ b/chrome/android/webapk/libs/common/src/org/chromium/webapk/lib/common/WebApkMetaDataKeys.java
@@ -0,0 +1,22 @@
+// Copyright 2016 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.webapk.lib.common;
+
+/**
+ * <meta-data> keys for WebAPK Android Manifest.
+ */
+public final class WebApkMetaDataKeys {
+ public static final String RUNTIME_HOST = "org.chromium.webapk.shell_apk.runtimeHost";
+ public static final String START_URL = "org.chromium.webapk.shell_apk.startUrl";
+ public static final String NAME = "org.chromium.webapk.shell_apk.name";
+ public static final String SCOPE = "org.chromium.webapk.shell_apk.scope";
+ public static final String DISPLAY_MODE = "org.chromium.webapk.shell_apk.displayMode";
+ public static final String ORIENTATION = "org.chromium.webapk.shell_apk.orientation";
+ public static final String THEME_COLOR = "org.chromium.webapk.shell_apk.themeColor";
+ public static final String BACKGROUND_COLOR = "org.chromium.webapk.shell_apk.backgroundColor";
+ public static final String ICON_URL = "org.chromium.webapk.shell_apk.iconUrl";
+ public static final String ICON_MURMUR2_HASH = "org.chromium.webapk.shell_apk.iconMurmur2Hash";
+ public static final String WEB_MANIFEST_URL = "org.chromium.webapk.shell_apk.webManifestUrl";
+}

Powered by Google App Engine
This is Rietveld 408576698