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

Unified Diff: chrome/test/data/extensions/platform_apps/context_menu/test.js

Issue 10832349: Platform app context menu items should not be grouped into a submenu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix conflicts 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
« no previous file with comments | « chrome/browser/tab_contents/render_view_context_menu.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c3280a02b873831a8480028c265dd9a7db86242d..3deca7854836b5506532fde74bc9d8d737d6b1bf 100644
--- a/chrome/test/data/extensions/platform_apps/context_menu/test.js
+++ b/chrome/test/data/extensions/platform_apps/context_menu/test.js
@@ -3,11 +3,11 @@
// found in the LICENSE file.
chrome.app.runtime.onLaunched.addListener(function() {
- chrome.contextMenus.create({
- id: 'id1',
- title: 'Extension Item 1',
- },
- function() {
- chrome.app.window.create('main.html', {}, function() {});
- });
+ chrome.contextMenus.create({title: 'Extension Item 1',
+ id: 'id1'}, function() {
+ chrome.contextMenus.create({title: 'Extension Item 2',
+ id: 'id2'}, function() {
+ chrome.app.window.create('main.html', {}, function() {});
+ });
+ });
});
« no previous file with comments | « chrome/browser/tab_contents/render_view_context_menu.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698