Add new tool to test editable Webviews.
authorenrica@apple.com <enrica@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Feb 2015 18:41:24 +0000 (18:41 +0000)
committerenrica@apple.com <enrica@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Feb 2015 18:41:24 +0000 (18:41 +0000)
commit9155a4d1252afa9317b31858d3793ca5b5f66c9c
tree518030235401c2d8659f1ace30725081a97bf95a
parent0c846b95bacf3343b35792c47268946d17623f8c
Add new tool to test editable Webviews.
https://bugs.webkit.org/show_bug.cgi?id=141772

Reviewed by Tim Horton.

Adding WebEditingTester, a Cocoa application to
test WK1 and Wk2 views in editable mode.

* WebEditingTester: Added.
* WebEditingTester/AppDelegate.h: Added.
* WebEditingTester/AppDelegate.m: Added.
(-[WebEditingAppDelegate init]):
(defaultConfiguration):
(-[WebEditingAppDelegate applicationDidFinishLaunching:]):
(-[WebEditingAppDelegate applicationWillTerminate:]):
(-[WebEditingAppDelegate newEditor:]):
(-[WebEditingAppDelegate showOperations:]):
(-[WebEditingAppDelegate useWebKit2ByDefault]):
(-[WebEditingAppDelegate toggleUseWK2ByDefault:]):
(-[WebEditingAppDelegate validateMenuItem:]):
* WebEditingTester/Info.plist: Added.
* WebEditingTester/MainMenu.xib: Added.
* WebEditingTester/WK1WebDocumentController.h: Added.
* WebEditingTester/WK1WebDocumentController.m: Added.
(-[WK1WebDocumentController awakeFromNib]):
(-[WK1WebDocumentController loadContent]):
(-[WK1WebDocumentController dealloc]):
(-[WK1WebDocumentController pasteAsMarkup:]):
* WebEditingTester/WK2WebDocumentController.h: Added.
* WebEditingTester/WK2WebDocumentController.m: Added.
(-[WK2WebDocumentController initWithConfiguration:]):
(-[WK2WebDocumentController pasteAsMarkup:]):
(-[WK2WebDocumentController awakeFromNib]):
(-[WK2WebDocumentController dealloc]):
(-[WK2WebDocumentController loadContent]):
* WebEditingTester/WebDocument.xib: Added.
* WebEditingTester/WebDocumentController.h: Added.
* WebEditingTester/WebDocumentController.m: Added.
(-[WebDocumentController initWithWindow:]):
(-[WebDocumentController windowDidLoad]):
(-[WebDocumentController defaultEditingSource]):
(-[WebDocumentController applicationTerminating]):
(-[WebDocumentController loadContent]):
* WebEditingTester/WebEditingTester.xcodeproj: Added.
* WebEditingTester/WebEditingTester.xcodeproj/project.pbxproj: Added.
* WebEditingTester/main.m: Added.
(main):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@180348 268f45cc-cd09-0410-ab3c-d52691b4dbfc
14 files changed:
Tools/ChangeLog
Tools/WebEditingTester/AppDelegate.h [new file with mode: 0644]
Tools/WebEditingTester/AppDelegate.m [new file with mode: 0644]
Tools/WebEditingTester/Info.plist [new file with mode: 0644]
Tools/WebEditingTester/MainMenu.xib [new file with mode: 0644]
Tools/WebEditingTester/WK1WebDocumentController.h [new file with mode: 0644]
Tools/WebEditingTester/WK1WebDocumentController.m [new file with mode: 0644]
Tools/WebEditingTester/WK2WebDocumentController.h [new file with mode: 0644]
Tools/WebEditingTester/WK2WebDocumentController.m [new file with mode: 0644]
Tools/WebEditingTester/WebDocument.xib [new file with mode: 0644]
Tools/WebEditingTester/WebDocumentController.h [new file with mode: 0644]
Tools/WebEditingTester/WebDocumentController.m [new file with mode: 0644]
Tools/WebEditingTester/WebEditingTester.xcodeproj/project.pbxproj [new file with mode: 0644]
Tools/WebEditingTester/main.m [new file with mode: 0644]