Changeset 80295 in webkit
- Timestamp:
- Mar 3, 2011 4:11:17 PM (13 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r80294 r80295 1 2011-03-03 Jeff Miller <jeffm@apple.com> 2 3 Reviewed by Anders Carlsson. 4 5 WebKit2: Add WKViewRef API for executing edit commands 6 https://bugs.webkit.org/show_bug.cgi?id=49829 7 8 Added WKViewExecuteCommand() and documented some of the WebCore EditorCommand strings. 9 10 * UIProcess/API/C/win/WKView.cpp: 11 (WKViewExecuteCommand): Added. 12 * UIProcess/API/C/win/WKView.h: Added WKViewExecuteCommand() and comment block with WebCore EditorCommand strings. 13 1 14 2011-03-03 Jessie Berlin <jberlin@apple.com> 2 15 -
trunk/Source/WebKit2/UIProcess/API/C/win/WKView.cpp
r77054 r80295 82 82 return toImpl(viewRef)->getFindIndicatorCallback(context); 83 83 } 84 85 void WKViewExecuteCommand(WKViewRef viewRef, WKStringRef command) 86 { 87 toImpl(viewRef)->page()->executeEditCommand(toImpl(command)->string()); 88 } -
trunk/Source/WebKit2/UIProcess/API/C/win/WKView.h
r77054 r80295 51 51 WK_EXPORT WKViewFindIndicatorCallback WKViewGetFindIndicatorCallback(WKViewRef view, void** context); 52 52 53 /* 54 Valid command name strings include: 55 56 "Cut" 57 "Copy" 58 "Paste" 59 "SelectAll" 60 "Undo" 61 "Redo" 62 */ 63 64 WK_EXPORT void WKViewExecuteCommand(WKViewRef view, WKStringRef command); 65 53 66 #ifdef __cplusplus 54 67 }
Note: See TracChangeset
for help on using the changeset viewer.