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

Unified Diff: chrome/test/data/extensions/api_test/management/test/launchType.js

Issue 938603002: Disable bookmark apps on non-ChromeOS platforms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback Created 5 years, 10 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 | « chrome/renderer/web_apps.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/management/test/launchType.js
diff --git a/chrome/test/data/extensions/api_test/management/test/launchType.js b/chrome/test/data/extensions/api_test/management/test/launchType.js
index b2d40f3ce6a13c06556fe24596f3fd4d637b9e8c..c34a64ea0f4b4f936226db5665bbeda069c86e58 100644
--- a/chrome/test/data/extensions/api_test/management/test/launchType.js
+++ b/chrome/test/data/extensions/api_test/management/test/launchType.js
@@ -32,6 +32,11 @@ function getAvailableLaunchTypes(app) {
types.push("OPEN_AS_REGULAR_TAB");
types.push("OPEN_AS_WINDOW");
+ if (navigator.userAgent.indexOf("CrOS") == -1) {
+ types.push("OPEN_AS_PINNED_TAB");
+ types.push("OPEN_FULL_SCREEN");
+ }
+
return types;
}
« no previous file with comments | « chrome/renderer/web_apps.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698