Lines Matching refs:chrome
18 var id = chrome.contextMenus.create({"title": title, "contexts":[context],
25 var parent = chrome.contextMenus.create({"title": "Test parent item"});
26 var child1 = chrome.contextMenus.create(
28 var child2 = chrome.contextMenus.create(
39 var radio1 = chrome.contextMenus.create({"title": "Radio 1", "type": "radio",
41 var radio2 = chrome.contextMenus.create({"title": "Radio 2", "type": "radio",
54 var checkbox1 = chrome.contextMenus.create(
56 var checkbox2 = chrome.contextMenus.create(
65 chrome.contextMenus.create({"title": "Oops", "parentId":999}, function() {
66 if (chrome.extension.lastError) {
67 console.log("Got expected error: " + chrome.extension.lastError.message);