H A D | EditorCommand.cpp | 52 #include "core/frame/FrameHost.h" 53 #include "core/frame/FrameView.h" 54 #include "core/frame/LocalFrame.h" 55 #include "core/frame/Settings.h" 95 static LocalFrame* targetFrame(LocalFrame& frame, Event* event) argument 98 return &frame; 101 return &frame; 102 return node->document().frame(); 105 static bool applyCommandToFrame(LocalFrame& frame, EditorCommandSource source, EditAction action, StylePropertySet* style) argument 110 frame 121 executeApplyStyle(LocalFrame& frame, EditorCommandSource source, EditAction action, CSSPropertyID propertyID, const String& propertyValue) argument 128 executeApplyStyle(LocalFrame& frame, EditorCommandSource source, EditAction action, CSSPropertyID propertyID, CSSValueID propertyValue) argument 138 executeToggleStyleInList(LocalFrame& frame, EditorCommandSource source, EditAction action, CSSPropertyID propertyID, CSSValue* value) argument 162 executeToggleStyle(LocalFrame& frame, EditorCommandSource source, EditAction action, CSSPropertyID propertyID, const char* offValue, const char* onValue) argument 178 executeApplyParagraphStyle(LocalFrame& frame, EditorCommandSource source, EditAction action, CSSPropertyID propertyID, const String& propertyValue) argument 196 executeInsertFragment(LocalFrame& frame, PassRefPtrWillBeRawPtr<DocumentFragment> fragment) argument 203 executeInsertElement(LocalFrame& frame, PassRefPtrWillBeRawPtr<HTMLElement> content) argument 214 expandSelectionToGranularity(LocalFrame& frame, TextGranularity granularity) argument 243 stateStyle(LocalFrame& frame, CSSPropertyID propertyID, const char* desiredValue) argument 250 valueStyle(LocalFrame& frame, CSSPropertyID propertyID) argument 257 stateTextWritingDirection(LocalFrame& frame, WritingDirection direction) argument 266 verticalScrollDistance(LocalFrame& frame) argument 294 executeBackColor(LocalFrame& frame, Event*, EditorCommandSource source, const String& value) argument 299 executeCopy(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 305 executeCreateLink(LocalFrame& frame, Event*, EditorCommandSource, const String& value) argument 315 executeCut(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 321 executeDefaultParagraphSeparator(LocalFrame& frame, Event*, EditorCommandSource, const String& value) argument 331 executeDelete(LocalFrame& frame, Event*, EditorCommandSource source, const String&) argument 351 executeDeleteBackward(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 357 executeDeleteBackwardByDecomposingPreviousCharacter(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 364 executeDeleteForward(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 370 executeDeleteToBeginningOfLine(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 376 executeDeleteToBeginningOfParagraph(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 382 executeDeleteToEndOfLine(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 390 executeDeleteToEndOfParagraph(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 398 executeDeleteToMark(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 412 executeDeleteWordBackward(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 418 executeDeleteWordForward(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 424 executeFindString(LocalFrame& frame, Event*, EditorCommandSource, const String& value) argument 429 executeFontName(LocalFrame& frame, Event*, EditorCommandSource source, const String& value) argument 434 executeFontSize(LocalFrame& frame, Event*, EditorCommandSource source, const String& value) argument 442 executeFontSizeDelta(LocalFrame& frame, Event*, EditorCommandSource source, const String& value) argument 447 executeForeColor(LocalFrame& frame, Event*, EditorCommandSource source, const String& value) argument 452 executeFormatBlock(LocalFrame& frame, Event*, EditorCommandSource, const String& value) argument 469 executeForwardDelete(LocalFrame& frame, Event*, EditorCommandSource source, const String&) argument 488 executeIgnoreSpelling(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 494 executeIndent(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 501 executeInsertBacktab(LocalFrame& frame, Event* event, EditorCommandSource, const String&) argument 506 executeInsertHorizontalRule(LocalFrame& frame, Event*, EditorCommandSource, const String& value) argument 515 executeInsertHTML(LocalFrame& frame, Event*, EditorCommandSource, const String& value) argument 521 executeInsertImage(LocalFrame& frame, Event*, EditorCommandSource, const String& value) argument 530 executeInsertLineBreak(LocalFrame& frame, Event* event, EditorCommandSource source, const String&) argument 548 executeInsertNewline(LocalFrame& frame, Event* event, EditorCommandSource, const String&) argument 554 executeInsertNewlineInQuotedContent(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 561 executeInsertOrderedList(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 568 executeInsertParagraph(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 575 executeInsertTab(LocalFrame& frame, Event* event, EditorCommandSource, const String&) argument 580 executeInsertText(LocalFrame& frame, Event*, EditorCommandSource, const String& value) argument 587 executeInsertUnorderedList(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 594 executeJustifyCenter(LocalFrame& frame, Event*, EditorCommandSource source, const String&) argument 599 executeJustifyFull(LocalFrame& frame, Event*, EditorCommandSource source, const String&) argument 604 executeJustifyLeft(LocalFrame& frame, Event*, EditorCommandSource source, const String&) argument 609 executeJustifyRight(LocalFrame& frame, Event*, EditorCommandSource source, const String&) argument 614 executeMakeTextWritingDirectionLeftToRight(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 623 executeMakeTextWritingDirectionNatural(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 631 executeMakeTextWritingDirectionRightToLeft(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 640 executeMoveBackward(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 646 executeMoveBackwardAndModifySelection(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 652 executeMoveDown(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 657 executeMoveDownAndModifySelection(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 663 executeMoveForward(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 669 executeMoveForwardAndModifySelection(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 675 executeMoveLeft(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 680 executeMoveLeftAndModifySelection(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 686 executeMovePageDown(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 695 executeMovePageDownAndModifySelection(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 704 executeMovePageUp(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 713 executeMovePageUpAndModifySelection(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 722 executeMoveRight(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 727 executeMoveRightAndModifySelection(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 733 executeMoveToBeginningOfDocument(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 739 executeMoveToBeginningOfDocumentAndModifySelection(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 745 executeMoveToBeginningOfLine(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 751 executeMoveToBeginningOfLineAndModifySelection(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 757 executeMoveToBeginningOfParagraph(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 763 executeMoveToBeginningOfParagraphAndModifySelection(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 769 executeMoveToBeginningOfSentence(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 775 executeMoveToBeginningOfSentenceAndModifySelection(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 781 executeMoveToEndOfDocument(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 787 executeMoveToEndOfDocumentAndModifySelection(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 793 executeMoveToEndOfSentence(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 799 executeMoveToEndOfSentenceAndModifySelection(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 805 executeMoveToEndOfLine(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 811 executeMoveToEndOfLineAndModifySelection(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 817 executeMoveToEndOfParagraph(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 823 executeMoveToEndOfParagraphAndModifySelection(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 829 executeMoveParagraphBackward(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 835 executeMoveParagraphBackwardAndModifySelection(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 841 executeMoveParagraphForward(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 847 executeMoveParagraphForwardAndModifySelection(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 853 executeMoveUp(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 858 executeMoveUpAndModifySelection(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 864 executeMoveWordBackward(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 870 executeMoveWordBackwardAndModifySelection(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 876 executeMoveWordForward(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 882 executeMoveWordForwardAndModifySelection(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 888 executeMoveWordLeft(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 894 executeMoveWordLeftAndModifySelection(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 900 executeMoveWordRight(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 906 executeMoveWordRightAndModifySelection(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 912 executeMoveToLeftEndOfLine(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 918 executeMoveToLeftEndOfLineAndModifySelection(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 924 executeMoveToRightEndOfLine(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 930 executeMoveToRightEndOfLineAndModifySelection(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 936 executeOutdent(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 943 executeToggleOverwrite(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 949 executePaste(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 955 executePasteGlobalSelection(LocalFrame& frame, Event*, EditorCommandSource source, const String&) argument 968 executePasteAndMatchStyle(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 974 executePrint(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 983 executeRedo(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 989 executeRemoveFormat(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 995 executeScrollPageBackward(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 1000 executeScrollPageForward(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 1005 executeScrollLineUp(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 1010 executeScrollLineDown(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 1015 executeScrollToBeginningOfDocument(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 1020 executeScrollToEndOfDocument(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 1025 executeSelectAll(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 1031 executeSelectLine(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 1036 executeSelectParagraph(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 1041 executeSelectSentence(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 1046 executeSelectToMark(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 1056 executeSelectWord(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 1061 executeSetMark(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 1067 executeStrikethrough(LocalFrame& frame, Event*, EditorCommandSource source, const String&) argument 1073 executeStyleWithCSS(LocalFrame& frame, Event*, EditorCommandSource, const String& value) argument 1079 executeUseCSS(LocalFrame& frame, Event*, EditorCommandSource, const String& value) argument 1085 executeSubscript(LocalFrame& frame, Event*, EditorCommandSource source, const String&) argument 1090 executeSuperscript(LocalFrame& frame, Event*, EditorCommandSource source, const String&) argument 1095 executeSwapWithMark(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 1106 executeToggleBold(LocalFrame& frame, Event*, EditorCommandSource source, const String&) argument 1111 executeToggleItalic(LocalFrame& frame, Event*, EditorCommandSource source, const String&) argument 1116 executeTranspose(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 1122 executeUnderline(LocalFrame& frame, Event*, EditorCommandSource source, const String&) argument 1128 executeUndo(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 1134 executeUnlink(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 1141 executeUnscript(LocalFrame& frame, Event*, EditorCommandSource source, const String&) argument 1146 executeUnselect(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 1152 executeYank(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 1159 executeYankAndSelect(LocalFrame& frame, Event*, EditorCommandSource, const String&) argument 1178 supportedCopyCut(LocalFrame* frame) argument 1188 supportedPaste(LocalFrame* frame) argument 1205 enabledVisibleSelection(LocalFrame& frame, Event* event, EditorCommandSource) argument 1212 caretBrowsingEnabled(LocalFrame& frame) argument 1219 enabledVisibleSelectionOrCaretBrowsing(LocalFrame& frame, Event* event, EditorCommandSource) argument 1225 enabledVisibleSelectionAndMark(LocalFrame& frame, Event* event, EditorCommandSource) argument 1232 enableCaretInEditableText(LocalFrame& frame, Event* event, EditorCommandSource) argument 1238 enabledCopy(LocalFrame& frame, Event*, EditorCommandSource) argument 1243 enabledCut(LocalFrame& frame, Event*, EditorCommandSource) argument 1248 enabledInEditableText(LocalFrame& frame, Event* event, EditorCommandSource) argument 1253 enabledDelete(LocalFrame& frame, Event* event, EditorCommandSource source) argument 1268 enabledInEditableTextOrCaretBrowsing(LocalFrame& frame, Event* event, EditorCommandSource) argument 1274 enabledInRichlyEditableText(LocalFrame& frame, Event*, EditorCommandSource) argument 1279 enabledPaste(LocalFrame& frame, Event*, EditorCommandSource) argument 1284 enabledRangeInEditableText(LocalFrame& frame, Event*, EditorCommandSource) argument 1289 enabledRangeInRichlyEditableText(LocalFrame& frame, Event*, EditorCommandSource) argument 1294 enabledRedo(LocalFrame& frame, Event*, EditorCommandSource) argument 1299 enabledUndo(LocalFrame& frame, Event*, EditorCommandSource) argument 1311 stateBold(LocalFrame& frame, Event*) argument 1316 stateItalic(LocalFrame& frame, Event*) argument 1321 stateOrderedList(LocalFrame& frame, Event*) argument 1326 stateStrikethrough(LocalFrame& frame, Event*) argument 1331 stateStyleWithCSS(LocalFrame& frame, Event*) argument 1336 stateSubscript(LocalFrame& frame, Event*) argument 1341 stateSuperscript(LocalFrame& frame, Event*) argument 1346 stateTextWritingDirectionLeftToRight(LocalFrame& frame, Event*) argument 1351 stateTextWritingDirectionNatural(LocalFrame& frame, Event*) argument 1356 stateTextWritingDirectionRightToLeft(LocalFrame& frame, Event*) argument 1361 stateUnderline(LocalFrame& frame, Event*) argument 1366 stateUnorderedList(LocalFrame& frame, Event*) argument 1371 stateJustifyCenter(LocalFrame& frame, Event*) argument 1376 stateJustifyFull(LocalFrame& frame, Event*) argument 1381 stateJustifyLeft(LocalFrame& frame, Event*) argument 1386 stateJustifyRight(LocalFrame& frame, Event*) argument 1398 valueBackColor(LocalFrame& frame, Event*) argument 1403 valueDefaultParagraphSeparator(LocalFrame& frame, Event*) argument 1416 valueFontName(LocalFrame& frame, Event*) argument 1421 valueFontSize(LocalFrame& frame, Event*) argument 1426 valueFontSizeDelta(LocalFrame& frame, Event*) argument 1431 valueForeColor(LocalFrame& frame, Event*) argument 1436 valueFormatBlock(LocalFrame& frame, Event*) argument 1726 Command(const EditorInternalCommand* command, EditorCommandSource source, PassRefPtrWillBeRawPtr<LocalFrame> frame) argument [all...] |