| Index: chrome/test/data/extensions/platform_apps/context_menu/test.js
 | 
| diff --git a/chrome/test/data/extensions/platform_apps/context_menu/test.js b/chrome/test/data/extensions/platform_apps/context_menu/test.js
 | 
| index 09af18a9b224336a18251540774f2f12ee780ecb..e05e6898238f851ce9fc71522f4fd91981a9bfdd 100644
 | 
| --- a/chrome/test/data/extensions/platform_apps/context_menu/test.js
 | 
| +++ b/chrome/test/data/extensions/platform_apps/context_menu/test.js
 | 
| @@ -1,15 +1,16 @@
 | 
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved.
 | 
| +// 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.
 | 
|  
 | 
| -function onclick(info) {
 | 
| -}
 | 
| -
 | 
| -window.onload = function() {
 | 
| -  chrome.contextMenus.create({"title":"Extension Item 1",
 | 
| -                              "onclick": onclick}, function() {
 | 
| -    if (!chrome.extension.lastError) {
 | 
| -      chrome.test.sendMessage("created item");
 | 
| -    }
 | 
| -  });
 | 
| -};
 | 
| +chrome.experimental.app.onLaunched.addListener(function() {
 | 
| +  chrome.contextMenus.create({
 | 
| +        title: 'Extension Item 1',
 | 
| +        onclick: function() {}
 | 
| +      },
 | 
| +      function() {
 | 
| +        chrome.windows.create({
 | 
| +            url: 'main.html',
 | 
| +            type: 'shell'
 | 
| +        });
 | 
| +      });
 | 
| +});
 | 
| 
 |