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

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: 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
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 60%
copy from chrome/test/data/chromeos/demo_app/js/background.js
copy to extensions/test/data/platform_app/background.js
index 0ecb137cda94a67fd11a0469b9304221f0e1ae11..40dda9818ec1dc33a9217f2c3739d969f8d309ac 100644
--- a/chrome/test/data/chromeos/demo_app/js/background.js
+++ b/extensions/test/data/platform_app/background.js
@@ -1,7 +1,12 @@
// 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'});
+ console.info('runtime onLaunched');
James Cook 2014/04/08 16:03:49 Does the test need to log?
Yoyo Zhou 2014/04/08 21:55:21 Not here.
+ chrome.app.window.create('hello.html', {
+ 'bounds': {
+ 'width': 400,
+ 'height': 300
+ }
+ });
});

Powered by Google App Engine
This is Rietveld 408576698