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

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

Issue 571643003: Remove app_shell chrome.shell API and ShellAppWindow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (remove-shell) rebase 2 Created 6 years, 3 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 | « extensions/shell/renderer/shell_dispatcher_delegate.cc ('k') | tools/gritsettings/resource_ids » ('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/extensions/test/data/platform_app/background.js b/extensions/test/data/platform_app/background.js
index f8f9e9f353527530ae2583820e5cc4aea67fb79e..dccb52cbc8aedb6b5b5a4231b923b5726a40aa21 100644
--- a/extensions/test/data/platform_app/background.js
+++ b/extensions/test/data/platform_app/background.js
@@ -2,12 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Stub for app_shell.
-var createWindow =
- chrome.shell ? chrome.shell.createWindow : chrome.app.window.create;
-
chrome.app.runtime.onLaunched.addListener(function() {
- createWindow('hello.html', {
+ chrome.app.window.create('hello.html', {
'innerBounds': {
'width': 400,
'height': 300
« no previous file with comments | « extensions/shell/renderer/shell_dispatcher_delegate.cc ('k') | tools/gritsettings/resource_ids » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698