Home | History | Annotate | Download | only in WebView

Lines Matching refs:commands

2508 // These commands are forwarded to the Editor object in WebCore.
2509 // Ideally we'd do this for all editing commands; more of the code
2510 // should be moved from here to there, and more commands should be
5461 // In this case, the state is up to date, and we don't need to execute any more saved commands to return a result
5470 const Vector<KeypressCommand>& commands = parameters->event->keypressCommands();
5472 for (size_t i = 0; i < commands.size(); ++i) {
5473 if (commands[i].commandName == "insertText:")
5474 [self insertText:commands[i].text];
5475 else if (commands[i].commandName == "noop:")
5478 [self doCommandBySelector:NSSelectorFromString(commands[i].commandName)];
5488 ASSERT(!savingCommands || event->keypressCommands().isEmpty()); // Save commands once for each event.
5512 const Vector<KeypressCommand>& commands = event->keypressCommands();
5525 // Are there commands that could just cause text insertion if executed via Editor?
5530 for (size_t i = 0; i < commands.size(); ++i) {
5531 if ([self coreCommandBySelector:NSSelectorFromString(commands[i].commandName)].isTextInsertion())
5534 // If there are no text insertion commands, default keydown handler is the right time to execute the commands.
5542 // IM-like actions are handled immediately (so parameters.eventInterpretationHadSideEffects is true), but there are saved commands that
5552 // If we have already executed all commands, don't do it again.