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

Unified Diff: extensions/test/data/platform_app/background.js

Issue 224723022: Add the first app_shell_browsertest test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: temp dep Created 6 years, 8 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 | « apps/test/apps_tests_main.cc ('k') | extensions/test/data/platform_app/hello.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/test/data/platform_app/background.js
diff --git a/chrome/test/data/chromeos/demo_app/js/background.js b/extensions/test/data/platform_app/background.js
similarity index 66%
copy from chrome/test/data/chromeos/demo_app/js/background.js
copy to extensions/test/data/platform_app/background.js
index 0ecb137cda94a67fd11a0469b9304221f0e1ae11..9820db775d97d78046c77841671dc45b2203f926 100644
--- a/chrome/test/data/chromeos/demo_app/js/background.js
+++ b/extensions/test/data/platform_app/background.js
@@ -1,7 +1,11 @@
// 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.
-
chrome.app.runtime.onLaunched.addListener(function() {
- chrome.app.window.create('html/main.html', {'state': 'fullscreen'});
+ chrome.app.window.create('hello.html', {
+ 'bounds': {
+ 'width': 400,
+ 'height': 300
+ }
+ });
});
« no previous file with comments | « apps/test/apps_tests_main.cc ('k') | extensions/test/data/platform_app/hello.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698