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

Side by Side Diff: chrome/test/data/extensions/platform_apps/context_menu/test.js

Issue 8834008: Hide default context menu for platform apps. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Moved code out of Browser Created 9 years 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 function onclick(info) {
6 }
7
8 window.onload = function() {
9 chrome.contextMenus.create({"title":"Extension Item 1",
10 "onclick": onclick}, function() {
11 if (!chrome.extension.lastError) {
12 chrome.test.sendMessage("created item");
13 }
14 });
15 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698