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

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: Fixed formatting Created 6 years, 5 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/api_test/image_writer_private/write_from_file/background.js b/chrome/test/data/extensions/platform_apps/app_view/shim/skeleton/main.js
similarity index 63%
copy from chrome/test/data/extensions/api_test/image_writer_private/write_from_file/background.js
copy to chrome/test/data/extensions/platform_apps/app_view/shim/skeleton/main.js
index 44edeac767614539433a40ef0497254cca60f790..3b58b2f02ceac4df645d9081241f9ea38a187c82 100644
--- a/chrome/test/data/extensions/api_test/image_writer_private/write_from_file/background.js
+++ b/chrome/test/data/extensions/platform_apps/app_view/shim/skeleton/main.js
@@ -2,7 +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('test.html');
+chrome.app.runtime.onEmbedRequested.addListener(function(request) {
+ request.allow('main.html');
});

Powered by Google App Engine
This is Rietveld 408576698