358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
|
358
359
360
361
362
363
364
365
366
367
368
369
370
371
|
-
-
-
-
-
|
sendCommandToTab(xTab.id, xInfo.menuItemId);
break;
case "grammar_checker_iframe":
sendCommandToTab(xTab.id, xInfo.menuItemId, xInfo.frameId);
break;
case "grammar_checker_selection":
sendCommandToTab(xTab.id, xInfo.menuItemId, xInfo.selectionText);
oWorkerHandler.xGCEWorker.postMessage({
sCommand: "parseAndSpellcheck",
oParam: {sText: xInfo.selectionText, sCountry: "FR", bDebug: false, bContext: false},
oInfo: {iReturnPort: xTab.id}
});
break;
// tools
case "conjugueur_window":
openConjugueurWindow();
break;
case "conjugueur_tab":
openConjugueurTab();
|