Searched refs:commandName (Results 1 - 25 of 37) sorted by relevance

12

/macosx-10.10/WebCore-7600.1.25/platform/
H A DKeypressCommand.h38 explicit KeypressCommand(const String& commandName) : commandName(commandName) { ASSERT(isASCIILower(commandName[0U])); } argument
39 KeypressCommand(const String& commandName, const String& text) : commandName(commandName), text(text) { ASSERT(commandName == "insertText:"); } argument
41 String commandName; // Actually, a selector name - it may have a trailing colon, and a name that can be different from an editor command name. member in struct:WebCore::KeypressCommand
/macosx-10.10/WebInspectorUI-7600.1.17/UserInterface/Protocol/
H A DInspectorBackend.js53 var [domainName, commandName] = qualifiedName.split(".");
296 this[command.commandName] = command;
331 var [domainName, commandName] = qualifiedName.split(".");
333 this._commandName = commandName;
338 InspectorBackend.Command.create = function(backend, commandName, callSignature, replySignature)
340 var instance = new InspectorBackend.Command(backend, commandName, callSignature, replySignature);
362 get commandName()
/macosx-10.10/WebKit2-7600.1.25/WebProcess/InjectedBundle/API/c/
H A DWKBundlePagePrivate.h39 WK_EXPORT bool WKBundlePageIsEditingCommandEnabled(WKBundlePageRef page, WKStringRef commandName);
44 WK_EXPORT void WKBundlePageExecuteEditingCommand(WKBundlePageRef page, WKStringRef commandName, WKStringRef argument);
/macosx-10.10/WebKit2-7600.1.25/PluginProcess/
H A DPluginControllerProxy.cpp526 void PluginControllerProxy::handleEditingCommand(const String& commandName, const String& argument, bool& handled) argument
528 handled = m_plugin->handleEditingCommand(commandName, argument);
531 void PluginControllerProxy::isEditingCommandEnabled(const String& commandName, bool& enabled) argument
533 enabled = m_plugin->isEditingCommandEnabled(commandName);
/macosx-10.10/WebKit2-7600.1.25/WebProcess/Plugins/
H A DPluginProxy.h108 virtual bool handleEditingCommand(const String& commandName, const String& argument) override;
109 virtual bool isEditingCommandEnabled(const String& commandName) override;
H A DPluginProxy.cpp435 bool PluginProxy::handleEditingCommand(const String& commandName, const String& argument) argument
441 if (!m_connection->connection()->sendSync(Messages::PluginControllerProxy::HandleEditingCommand(commandName, argument), Messages::PluginControllerProxy::HandleEditingCommand::Reply(handled), m_pluginInstanceID))
447 bool PluginProxy::isEditingCommandEnabled(const String& commandName) argument
453 if (!m_connection->connection()->sendSync(Messages::PluginControllerProxy::IsEditingCommandEnabled(commandName), Messages::PluginControllerProxy::IsEditingCommandEnabled::Reply(enabled), m_pluginInstanceID))
H A DPluginView.h101 bool handleEditingCommand(const String& commandName, const String& argument);
102 bool isEditingCommandEnabled(const String& commandName);
H A DPlugin.h202 virtual bool handleEditingCommand(const String& commandName, const String& argument) = 0;
/macosx-10.10/WebCore-7600.1.25/replay/
H A DSerializationMethods.cpp229 ENCODE_TYPE_WITH_KEY(encodedValue, String, commandName, command.commandName);
237 DECODE_TYPE_WITH_KEY(encodedValue, String, commandName);
240 decodedValue = textWasDecoded ? KeypressCommand(commandName, text) : KeypressCommand(commandName);
/macosx-10.10/WebKit2-7600.1.25/UIProcess/API/mac/
H A DWKViewInternal.h76 - (void)_setUserInterfaceItemState:(NSString *)commandName enabled:(BOOL)isEnabled state:(int)newState;
H A DWKView.mm841 String commandName = commandNameForSelector([item action]);
842 if (!Editor::commandIsSupportedFromMenuOrKeyBinding(commandName))
846 ValidationMap::AddResult addResult = _data->_validationMap.add(commandName, ValidationVector());
852 _data->_page->validateCommand(commandName, [self](const String& commandName, bool isEnabled, int32_t state, CallbackBase::Error error) {
857 [self _setUserInterfaceItemState:commandName enabled:isEnabled state:state];
1415 _data->_page->registerKeypressCommandName(command.commandName);
1468 _data->_page->registerKeypressCommandName(command.commandName);
1872 _data->_page->registerKeypressCommandName(command.commandName);
1926 _data->_page->registerKeypressCommandName(command.commandName);
[all...]
/macosx-10.10/WebCore-7600.1.25/editing/
H A DEditor.h219 Command command(const String& commandName); // Command source is CommandFromMenuOrKeyBinding.
220 Command command(const String& commandName, EditorCommandSource);
221 static bool commandIsSupportedFromMenuOrKeyBinding(const String& commandName); // Works without a frame.
H A DEditorCommand.cpp1694 static const EditorInternalCommand* internalCommand(const String& commandName) argument
1697 return commandName.isEmpty() ? 0 : commandMap.get(commandName);
1700 Editor::Command Editor::command(const String& commandName) argument
1702 return Command(internalCommand(commandName), CommandFromMenuOrKeyBinding, &m_frame);
1705 Editor::Command Editor::command(const String& commandName, EditorCommandSource source) argument
1707 return Command(internalCommand(commandName), source, &m_frame);
1710 bool Editor::commandIsSupportedFromMenuOrKeyBinding(const String& commandName) argument
1712 return internalCommand(commandName);
/macosx-10.10/WebKit2-7600.1.25/WebProcess/WebPage/mac/
H A DWebPageMac.mm176 if (commands[i].commandName == "insertText:") {
189 Editor::Command command = frame.editor().command(commandNameForSelectorName(commands[i].commandName));
194 bool performedNonEditingBehavior = event->keyEvent()->type() == PlatformEvent::RawKeyDown && performNonEditingBehaviorForSelector(commands[i].commandName, event);
199 WebProcess::shared().parentProcessConnection()->sendSync(Messages::WebPageProxy::ExecuteSavedCommandBySelector(commands[i].commandName),
220 if (platformEvent->type() != PlatformEvent::Char && platformEvent->windowsVirtualKeyCode() == VK_ESCAPE && commands.size() == 1 && commandNameForSelectorName(commands[0].commandName) == "cancelOperation")
231 if (frame->editor().command(commandNameForSelectorName(command.commandName)).isTextInsertion())
/macosx-10.10/tcl-105/tcl_ext/tclx/tclx/generic/
H A DtclXutil.c815 char *commandName;
819 commandName = Tcl_GetStringFromObj (commandNameObj, &commandLength);
823 commandName,
799 char *commandName; local
/macosx-10.10/tcl-105/tcl_ext/tclae/tclae/library/
H A Doserrors.tcl75 set error::OSErr(-1708) {AppleEvent -1708 {<reference> doesn't understand the <commandName> message.}}
88 set error::OSErr(-1721) {AppleEvent -1721 {<expression> doesn't match the parameters <parameterNames> for <commandName>.}}
/macosx-10.10/tcl-105/tcl_ext/tktreectrl/tktreectrl/generic/
H A DtkTreeNotify.c440 static CONST char *commandName[] = { "bind", "configure", "detailnames", local
455 if (Tcl_GetIndexFromObj(interp, objv[2], commandName, "command", 0,
/macosx-10.10/DiskArbitration-268/diskarbitrationd/
H A DDAFileSystem.c781 CFStringRef commandName = NULL; local
798 commandName = CFDictionaryGetValue( personality, CFSTR( kFSRepairExecutableKey ) );
799 if ( commandName == NULL ) { status = ENOTSUP; goto DAFileSystemRepairErr; }
801 command = ___CFBundleCopyResourceURLInDirectory( filesystem->_id, commandName );
/macosx-10.10/WebKit2-7600.1.25/Shared/mac/
H A DWebCoreArgumentCodersMac.mm320 encoder << keypressCommand.commandName << keypressCommand.text;
325 if (!decoder.decode(keypressCommand.commandName))
/macosx-10.10/WebKit2-7600.1.25/WebProcess/Plugins/PDF/
H A DPDFPlugin.mm1500 bool PDFPlugin::handleEditingCommand(const String& commandName, const String& argument)
1502 if (commandName == "copy")
1504 else if (commandName == "selectAll")
1506 else if (commandName == "takeFindStringFromSelection") {
1515 bool PDFPlugin::isEditingCommandEnabled(const String& commandName)
1517 if (commandName == "copy" || commandName == "takeFindStringFromSelection")
1520 if (commandName == "selectAll")
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/ftpd/
H A Dftpd.tcl891 foreach commandName $commandList {
892 if {[info commands ::ftpd::command::$commandName] == ""} {
893 puts -nonewline $sock [format " %-7s" "${commandName}*"]
895 puts -nonewline $sock [format " %-7s" $commandName]
/macosx-10.10/tcl-105/tcl_ext/thread/thread/generic/
H A DtclXkeylist.c165 const char *commandName; local
169 commandName = Tcl_GetStringFromObj (commandNameObj, &commandLength);
174 commandName,
/macosx-10.10/WebCore-7600.1.25/dom/
H A DDocument.cpp4270 static Editor::Command command(Document* document, const String& commandName, bool userInterface = false) argument
4278 return frame->editor().command(commandName,
4282 bool Document::execCommand(const String& commandName, bool userInterface, const String& value) argument
4284 return command(this, commandName, userInterface).execute(value);
4287 bool Document::queryCommandEnabled(const String& commandName) argument
4289 return command(this, commandName).isEnabled();
4292 bool Document::queryCommandIndeterm(const String& commandName) argument
4294 return command(this, commandName).state() == MixedTriState;
4297 bool Document::queryCommandState(const String& commandName) argument
4299 return command(this, commandName)
4302 queryCommandSupported(const String& commandName) argument
4307 queryCommandValue(const String& commandName) argument
[all...]
/macosx-10.10/WebKit2-7600.1.25/WebProcess/WebPage/
H A DWebPage.cpp856 void WebPage::executeEditingCommand(const String& commandName, const String& argument) argument
861 pluginView->handleEditingCommand(commandName, argument);
865 frame.editor().command(commandName).execute(argument);
868 bool WebPage::isEditingCommandEnabled(const String& commandName) argument
873 return pluginView->isEditingCommandEnabled(commandName);
875 Editor::Command command = frame.editor().command(commandName);
2013 void WebPage::validateCommand(const String& commandName, uint64_t callbackID) argument
2019 isEnabled = pluginView->isEditingCommandEnabled(commandName);
2021 Editor::Command command = frame.editor().command(commandName);
2026 send(Messages::WebPageProxy::ValidateCommandCallback(commandName, isEnable
2029 executeEditCommand(const String& commandName) argument
[all...]
/macosx-10.10/WebKit2-7600.1.25/UIProcess/ios/
H A DWebPageProxyIOS.mm401 void WebPageProxy::executeEditCommand(const String& commandName, std::function<void (CallbackBase::Error)> callbackFunction)
409 m_process->send(Messages::WebPage::ExecuteEditCommandWithCallback(commandName, callbackID), m_pageID);

Completed in 306 milliseconds

12