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

Unified Diff: chrome/test/webdriver/test/app_shell_extension/bg.js

Issue 10854026: Added webdriver support for App v2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added a comment. Created 8 years, 4 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/webdriver/test/app_shell_extension/bg.js
diff --git a/chrome/test/webdriver/test/app_shell_extension/bg.js b/chrome/test/webdriver/test/app_shell_extension/bg.js
new file mode 100644
index 0000000000000000000000000000000000000000..aaeae4447fa4759b3ced774e444d99bf5190e6e1
--- /dev/null
+++ b/chrome/test/webdriver/test/app_shell_extension/bg.js
@@ -0,0 +1,13 @@
+// Copyright (c) 2012 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.experimental.app.onLaunched.addListener(function(data) {
+ chrome.app.window.create('view_checks.html', {
+ frame: 'chrome',
+ width: 1024,
+ height: 768,
+ minWidth: 1024,
+ minHeight: 768
+ });
+});

Powered by Google App Engine
This is Rietveld 408576698