command 19 LayoutTests/http/tests/appcache/resources/fail-on-update-2.php $command = $_GET['command']; command 26 LayoutTests/http/tests/appcache/resources/fail-on-update-2.php if ($command == "reset") { command 28 LayoutTests/http/tests/appcache/resources/fail-on-update-2.php } else if ($command == "delete") { command 19 LayoutTests/http/tests/appcache/resources/fail-on-update.php $command = $_GET['command']; command 26 LayoutTests/http/tests/appcache/resources/fail-on-update.php if ($command == "reset") { command 28 LayoutTests/http/tests/appcache/resources/fail-on-update.php } else if ($command == "delete") { command 27 LayoutTests/http/tests/appcache/resources/modified-manifest.php if ("step" == $_GET['command']) command 28 LayoutTests/http/tests/appcache/resources/versioned-manifest.php if ("step" == $_GET['command']) command 23 LayoutTests/http/tests/inspector/appcache/resources/versioned-manifest.php if ("step" == $_GET['command']) command 159 LayoutTests/http/tests/resources/network-simulator.php $command = $_GET['command']; command 160 LayoutTests/http/tests/resources/network-simulator.php if ($command) { command 161 LayoutTests/http/tests/resources/network-simulator.php if ($command == "connect") command 163 LayoutTests/http/tests/resources/network-simulator.php else if ($command == "disconnect") command 165 LayoutTests/http/tests/resources/network-simulator.php else if ($command == "increase-resource-count") command 167 LayoutTests/http/tests/resources/network-simulator.php else if ($command == "reset-resource-count") command 169 LayoutTests/http/tests/resources/network-simulator.php else if ($command == "get-resource-count") command 171 LayoutTests/http/tests/resources/network-simulator.php else if ($command == "start-resource-request-log") command 173 LayoutTests/http/tests/resources/network-simulator.php else if ($command == "clear-resource-request-log") command 175 LayoutTests/http/tests/resources/network-simulator.php else if ($command == "get-resource-request-log") command 177 LayoutTests/http/tests/resources/network-simulator.php else if ($command == "log-resource-request") command 180 LayoutTests/http/tests/resources/network-simulator.php echo "Unknown command: " . $command . "\n"; command 29 LayoutTests/http/tests/resources/tripmine.php $command = $_GET['command']; command 30 LayoutTests/http/tests/resources/tripmine.php if ($command) { command 31 LayoutTests/http/tests/resources/tripmine.php if ($command == "status") command 28 LayoutTests/http/tests/xmlhttprequest/resources/remember-bad-password/count-failures.php $command = $_GET['command']; command 29 LayoutTests/http/tests/xmlhttprequest/resources/remember-bad-password/count-failures.php if ($command) { command 30 LayoutTests/http/tests/xmlhttprequest/resources/remember-bad-password/count-failures.php if ($command == "status") command 32 LayoutTests/http/tests/xmlhttprequest/resources/remember-bad-password/count-failures.php else if ($command == "reset") command 4198 Source/core/dom/Document.cpp return frame->editor().command(commandName, userInterface ? CommandFromDOMWithUserInterface : CommandFromDOM); command 4219 Source/core/dom/Document.cpp return command(this, commandName, userInterface).execute(value); command 4224 Source/core/dom/Document.cpp return command(this, commandName).isEnabled(); command 4229 Source/core/dom/Document.cpp return command(this, commandName).state() == MixedTriState; command 4234 Source/core/dom/Document.cpp return command(this, commandName).state() == TrueTriState; command 4239 Source/core/dom/Document.cpp return command(this, commandName).isSupported(); command 4244 Source/core/dom/Document.cpp return command(this, commandName).value(); command 806 Source/core/dom/Document.h bool execCommand(const String& command, bool userInterface = false, const String& value = String()); command 807 Source/core/dom/Document.h bool queryCommandEnabled(const String& command); command 808 Source/core/dom/Document.h bool queryCommandIndeterm(const String& command); command 809 Source/core/dom/Document.h bool queryCommandState(const String& command); command 810 Source/core/dom/Document.h bool queryCommandSupported(const String& command); command 811 Source/core/dom/Document.h String queryCommandValue(const String& command); command 139 Source/core/editing/CompositeEditCommand.cpp void EditCommandComposition::append(SimpleEditCommand* command) command 141 Source/core/editing/CompositeEditCommand.cpp m_commands.append(command); command 205 Source/core/editing/CompositeEditCommand.cpp CompositeEditCommand* command = this; command 206 Source/core/editing/CompositeEditCommand.cpp while (command && command->parent()) command 207 Source/core/editing/CompositeEditCommand.cpp command = command->parent(); command 208 Source/core/editing/CompositeEditCommand.cpp if (!command->m_composition) command 209 Source/core/editing/CompositeEditCommand.cpp command->m_composition = EditCommandComposition::create(&document(), startingSelection(), endingSelection(), editingAction()); command 210 Source/core/editing/CompositeEditCommand.cpp return command->m_composition.get(); command 232 Source/core/editing/CompositeEditCommand.cpp RefPtr<EditCommand> command = prpCommand; command 233 Source/core/editing/CompositeEditCommand.cpp command->setParent(this); command 234 Source/core/editing/CompositeEditCommand.cpp command->doApply(); command 235 Source/core/editing/CompositeEditCommand.cpp if (command->isSimpleEditCommand()) { command 236 Source/core/editing/CompositeEditCommand.cpp command->setParent(0); command 237 Source/core/editing/CompositeEditCommand.cpp ensureComposition()->append(toSimpleEditCommand(command.get())); command 239 Source/core/editing/CompositeEditCommand.cpp m_commands.append(command.release()); command 242 Source/core/editing/CompositeEditCommand.cpp void CompositeEditCommand::applyCommandToComposite(PassRefPtr<CompositeEditCommand> command, const VisibleSelection& selection) command 244 Source/core/editing/CompositeEditCommand.cpp command->setParent(this); command 245 Source/core/editing/CompositeEditCommand.cpp if (selection != command->endingSelection()) { command 246 Source/core/editing/CompositeEditCommand.cpp command->setStartingSelection(selection); command 247 Source/core/editing/CompositeEditCommand.cpp command->setEndingSelection(selection); command 249 Source/core/editing/CompositeEditCommand.cpp command->doApply(); command 250 Source/core/editing/CompositeEditCommand.cpp m_commands.append(command); command 411 Source/core/editing/CompositeEditCommand.cpp RefPtr<ReplaceNodeWithSpanCommand> command = ReplaceNodeWithSpanCommand::create(node); command 412 Source/core/editing/CompositeEditCommand.cpp applyCommandToComposite(command); command 416 Source/core/editing/CompositeEditCommand.cpp ASSERT(command->spanElement()->inDocument()); command 417 Source/core/editing/CompositeEditCommand.cpp return command->spanElement(); command 76 Source/core/editing/CompositeEditCommand.h bool isFirstCommand(EditCommand* command) { return !m_commands.isEmpty() && m_commands.first() == command; } command 173 Source/core/editing/CompositeEditCommand.h DEFINE_TYPE_CASTS(CompositeEditCommand, EditCommand, command, command->isCompositeEditCommand(), command.isCompositeEditCommand()); command 66 Source/core/editing/EditCommand.cpp static inline EditCommandComposition* compositionIfPossible(EditCommand* command) command 68 Source/core/editing/EditCommand.cpp if (!command->isCompositeEditCommand()) command 70 Source/core/editing/EditCommand.cpp return toCompositeEditCommand(command)->composition(); command 75 Source/core/editing/EditCommand.cpp for (EditCommand* command = this; ; command = command->m_parent) { command 76 Source/core/editing/EditCommand.cpp if (EditCommandComposition* composition = compositionIfPossible(command)) { command 77 Source/core/editing/EditCommand.cpp ASSERT(command->isTopLevelCommand()); command 80 Source/core/editing/EditCommand.cpp command->m_startingSelection = selection; command 81 Source/core/editing/EditCommand.cpp if (!command->m_parent || command->m_parent->isFirstCommand(command)) command 93 Source/core/editing/EditCommand.cpp for (EditCommand* command = this; command; command = command->m_parent) { command 94 Source/core/editing/EditCommand.cpp if (EditCommandComposition* composition = compositionIfPossible(command)) { command 95 Source/core/editing/EditCommand.cpp ASSERT(command->isTopLevelCommand()); command 98 Source/core/editing/EditCommand.cpp command->m_endingSelection = selection; command 94 Source/core/editing/EditCommand.h DEFINE_TYPE_CASTS(SimpleEditCommand, EditCommand, command, command->isSimpleEditCommand(), command.isSimpleEditCommand()); command 157 Source/core/editing/Editor.h Command command(const String& commandName); // Command source is CommandFromMenuOrKeyBinding. command 158 Source/core/editing/Editor.h Command command(const String& commandName, EditorCommandSource); command 446 Source/core/editing/EditorCommand.cpp RefPtr<FormatBlockCommand> command = FormatBlockCommand::create(*frame.document(), qualifiedTagName); command 447 Source/core/editing/EditorCommand.cpp command->apply(); command 448 Source/core/editing/EditorCommand.cpp return command->didApply(); command 1433 Source/core/editing/EditorCommand.cpp EditorInternalCommand command; command 1633 Source/core/editing/EditorCommand.cpp const CommandEntry& command = commands[i]; command 1634 Source/core/editing/EditorCommand.cpp ASSERT(!commandMap.get(command.name)); command 1635 Source/core/editing/EditorCommand.cpp commandMap.set(command.name, &command.command); command 1637 Source/core/editing/EditorCommand.cpp ASSERT(!idSet.contains(command.command.idForUserMetrics)); command 1638 Source/core/editing/EditorCommand.cpp idSet.add(command.command.idForUserMetrics); command 1666 Source/core/editing/EditorCommand.cpp Editor::Command::Command(const EditorInternalCommand* command, EditorCommandSource source, PassRefPtr<LocalFrame> frame) command 1667 Source/core/editing/EditorCommand.cpp : m_command(command) command 1669 Source/core/editing/EditorCommand.cpp , m_frame(command ? frame : nullptr) command 1672 Source/core/editing/EditorCommand.cpp if (!command) command 45 Source/core/editing/EditorKeyBindings.cpp Command command = this->command(commandName); command 53 Source/core/editing/EditorKeyBindings.cpp if (command.isTextInsertion() || commandName.isEmpty()) command 55 Source/core/editing/EditorKeyBindings.cpp if (command.execute(evt)) { command 62 Source/core/editing/EditorKeyBindings.cpp if (command.execute(evt)) { command 43 Source/core/editing/TextInsertionBaseCommand.cpp void TextInsertionBaseCommand::applyTextInsertionCommand(LocalFrame* frame, PassRefPtr<TextInsertionBaseCommand> command, const VisibleSelection& selectionForInsertion, const VisibleSelection& endingSelection) command 47 Source/core/editing/TextInsertionBaseCommand.cpp command->setStartingSelection(selectionForInsertion); command 48 Source/core/editing/TextInsertionBaseCommand.cpp command->setEndingSelection(selectionForInsertion); command 50 Source/core/editing/TextInsertionBaseCommand.cpp command->apply(); command 52 Source/core/editing/TextInsertionBaseCommand.cpp command->setEndingSelection(endingSelection); command 341 Source/core/editing/TypingCommand.cpp RefPtr<InsertTextCommand> command = InsertTextCommand::create(document(), text, selectInsertedText, command 344 Source/core/editing/TypingCommand.cpp applyCommandToComposite(command, endingSelection()); command 81 Source/core/editing/TypingCommand.h static PassRefPtr<TypingCommand> create(Document& document, ETypingCommand command, const String& text = "", Options options = 0, TextGranularity granularity = CharacterGranularity) command 83 Source/core/editing/TypingCommand.h return adoptRef(new TypingCommand(document, command, text, options, granularity, TextCompositionNone)); command 86 Source/core/editing/TypingCommand.h static PassRefPtr<TypingCommand> create(Document& document, ETypingCommand command, const String& text, Options options, TextCompositionType compositionType) command 88 Source/core/editing/TypingCommand.h return adoptRef(new TypingCommand(document, command, text, options, CharacterGranularity, compositionType)); command 649 Source/core/inspector/InspectorOverlay.cpp RefPtr<JSONArray> command = JSONArray::create(); command 650 Source/core/inspector/InspectorOverlay.cpp command->pushString(method); command 651 Source/core/inspector/InspectorOverlay.cpp command->pushString(argument); command 652 Source/core/inspector/InspectorOverlay.cpp overlayPage()->mainFrame()->script().executeScriptInMainWorld("dispatch(" + command->toJSONString() + ")", ScriptController::ExecuteScriptWhenScriptsDisabled); command 657 Source/core/inspector/InspectorOverlay.cpp RefPtr<JSONArray> command = JSONArray::create(); command 658 Source/core/inspector/InspectorOverlay.cpp command->pushString(method); command 659 Source/core/inspector/InspectorOverlay.cpp command->pushValue(argument); command 660 Source/core/inspector/InspectorOverlay.cpp overlayPage()->mainFrame()->script().executeScriptInMainWorld("dispatch(" + command->toJSONString() + ")", ScriptController::ExecuteScriptWhenScriptsDisabled); command 1738 Source/core/page/EventHandler.cpp return m_frame->editor().command("PasteGlobalSelection").execute(); command 300 Source/core/svg/SVGPathParser.cpp SVGPathSegType command; command 301 Source/core/svg/SVGPathParser.cpp m_source->parseSVGSegmentType(command); command 305 Source/core/svg/SVGPathParser.cpp if (checkForInitialMoveTo && command != PathSegMoveToAbs && command != PathSegMoveToRel) command 312 Source/core/svg/SVGPathParser.cpp switch (command) { command 376 Source/core/svg/SVGPathParser.cpp m_lastCommand = command; command 381 Source/core/svg/SVGPathParser.cpp command = m_source->nextCommand(command); command 1121 Source/web/WebFrameImpl.cpp String command = name; command 1124 Source/web/WebFrameImpl.cpp command.replace(0, 1, command.substring(0, 1).upper()); command 1127 Source/web/WebFrameImpl.cpp if (command[command.length() - 1] == UChar(':')) command 1128 Source/web/WebFrameImpl.cpp command = command.substring(0, command.length() - 1); command 1138 Source/web/WebFrameImpl.cpp if (command == "DeleteToEndOfParagraph") { command 1141 Source/web/WebFrameImpl.cpp } else if (command == "Indent") { command 1143 Source/web/WebFrameImpl.cpp } else if (command == "Outdent") { command 1145 Source/web/WebFrameImpl.cpp } else if (command == "DeleteBackward") { command 1146 Source/web/WebFrameImpl.cpp result = frame()->editor().command(AtomicString("BackwardDelete")).execute(); command 1147 Source/web/WebFrameImpl.cpp } else if (command == "DeleteForward") { command 1148 Source/web/WebFrameImpl.cpp result = frame()->editor().command(AtomicString("ForwardDelete")).execute(); command 1149 Source/web/WebFrameImpl.cpp } else if (command == "AdvanceToNextMisspelling") { command 1152 Source/web/WebFrameImpl.cpp } else if (command == "ToggleSpellPanel") { command 1155 Source/web/WebFrameImpl.cpp result = frame()->editor().command(command).execute(); command 1181 Source/web/WebFrameImpl.cpp return frame()->editor().command(webName).execute(value); command 1187 Source/web/WebFrameImpl.cpp return frame()->editor().command(name).isEnabled();