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

Unified Diff: chrome/test/data/extensions/platform_apps/app_view/shim/skeleton/main.js

Issue 354483004: Implement <appview> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@app_view_skeleton
Patch Set: Added tests Created 6 years, 6 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/test/data/extensions/platform_apps/app_view/shim/skeleton/main.js
diff --git a/chrome/test/data/extensions/platform_apps/ephemeral_apps/filesystem_retain_entries/main.js b/chrome/test/data/extensions/platform_apps/app_view/shim/skeleton/main.js
similarity index 62%
copy from chrome/test/data/extensions/platform_apps/ephemeral_apps/filesystem_retain_entries/main.js
copy to chrome/test/data/extensions/platform_apps/app_view/shim/skeleton/main.js
index f9e810e42ff1bd622db77616104cfe0089f1abc7..a9c0d2c95ddb169a348ddbe1ddcdb0761dad0895 100644
--- a/chrome/test/data/extensions/platform_apps/ephemeral_apps/filesystem_retain_entries/main.js
+++ b/chrome/test/data/extensions/platform_apps/app_view/shim/skeleton/main.js
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-chrome.app.runtime.onLaunched.addListener(function() {
- chrome.app.window.create('index.html', {});
+chrome.app.runtime.onAppEmbeddingRequest.addListener(function(request) {
+ request.allow('main.html');
});
+

Powered by Google App Engine
This is Rietveld 408576698