<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[180439] trunk/Tools</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/180439">180439</a></dd>
<dt>Author</dt> <dd>timothy_horton@apple.com</dd>
<dt>Date</dt> <dd>2015-02-20 12:02:39 -0800 (Fri, 20 Feb 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>[WebEditingTester] Add a custom protocol for loading canned content
https://bugs.webkit.org/show_bug.cgi?id=141830

Reviewed by Enrica Casucci.

Add a canned:// protocol handler, which can be used to emulate behaviors
in WebKit client apps (like Mail) that use custom protocol handlers,
which can have important effects on editing (mostly, the URLs are only
valid inside of the client application, but not when copied/dragged out).

For now, we only support two canned files:

canned://dice is a PNG of dice (stolen from LayoutTests/)
canned://text is the string &quot;canned text&quot; served as text/html

In the future we could support things like very large (generated) files,
progressive loading, etc. to further simulate conditions in other apps.

* WebEditingTester/AppDelegate.m:
(-[WebEditingAppDelegate applicationDidFinishLaunching:]):
Register the protocol with CFNetwork, and the scheme with WebKit2.

* WebEditingTester/Canned Content/dice.png: Added.
* WebEditingTester/CannedContent.h: Added.
* WebEditingTester/CannedContent.m: Added.
(-[CannedContent initWithRequest:cachedResponse:client:]):
(+[CannedContent canonicalRequestForRequest:]):
(+[CannedContent canInitWithRequest:]):
We only want to handle canned:// URLs.

(-[CannedContent startLoading]):
For now, immediately load the two files we know about.
Otherwise, immediately fail the load.

(-[CannedContent stopLoading]):
* WebEditingTester/WebEditingTester.xcodeproj/project.pbxproj:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkToolsChangeLog">trunk/Tools/ChangeLog</a></li>
<li><a href="#trunkToolsWebEditingTesterAppDelegatem">trunk/Tools/WebEditingTester/AppDelegate.m</a></li>
<li><a href="#trunkToolsWebEditingTesterWebEditingTesterxcodeprojprojectpbxproj">trunk/Tools/WebEditingTester/WebEditingTester.xcodeproj/project.pbxproj</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li>trunk/Tools/WebEditingTester/Canned Content/</li>
<li><a href="#trunkToolsWebEditingTesterCannedContentdicepng">trunk/Tools/WebEditingTester/Canned Content/dice.png</a></li>
<li><a href="#trunkToolsWebEditingTesterCannedContenth">trunk/Tools/WebEditingTester/CannedContent.h</a></li>
<li><a href="#trunkToolsWebEditingTesterCannedContentm">trunk/Tools/WebEditingTester/CannedContent.m</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkToolsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Tools/ChangeLog (180438 => 180439)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/ChangeLog        2015-02-20 19:59:35 UTC (rev 180438)
+++ trunk/Tools/ChangeLog        2015-02-20 20:02:39 UTC (rev 180439)
</span><span class="lines">@@ -1,5 +1,44 @@
</span><span class="cx"> 2015-02-20  Timothy Horton  &lt;timothy_horton@apple.com&gt;
</span><span class="cx"> 
</span><ins>+        [WebEditingTester] Add a custom protocol for loading canned content
+        https://bugs.webkit.org/show_bug.cgi?id=141830
+
+        Reviewed by Enrica Casucci.
+
+        Add a canned:// protocol handler, which can be used to emulate behaviors
+        in WebKit client apps (like Mail) that use custom protocol handlers,
+        which can have important effects on editing (mostly, the URLs are only
+        valid inside of the client application, but not when copied/dragged out).
+
+        For now, we only support two canned files:
+
+            canned://dice is a PNG of dice (stolen from LayoutTests/)
+            canned://text is the string &quot;canned text&quot; served as text/html
+
+        In the future we could support things like very large (generated) files,
+        progressive loading, etc. to further simulate conditions in other apps.
+
+        * WebEditingTester/AppDelegate.m:
+        (-[WebEditingAppDelegate applicationDidFinishLaunching:]):
+        Register the protocol with CFNetwork, and the scheme with WebKit2.
+
+        * WebEditingTester/Canned Content/dice.png: Added.
+        * WebEditingTester/CannedContent.h: Added.
+        * WebEditingTester/CannedContent.m: Added.
+        (-[CannedContent initWithRequest:cachedResponse:client:]):
+        (+[CannedContent canonicalRequestForRequest:]):
+        (+[CannedContent canInitWithRequest:]):
+        We only want to handle canned:// URLs.
+
+        (-[CannedContent startLoading]):
+        For now, immediately load the two files we know about.
+        Otherwise, immediately fail the load.
+
+        (-[CannedContent stopLoading]):
+        * WebEditingTester/WebEditingTester.xcodeproj/project.pbxproj:
+
+2015-02-20  Timothy Horton  &lt;timothy_horton@apple.com&gt;
+
</ins><span class="cx">         [WebEditingTester] Implement an open panel
</span><span class="cx">         https://bugs.webkit.org/show_bug.cgi?id=141829
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkToolsWebEditingTesterAppDelegatem"></a>
<div class="modfile"><h4>Modified: trunk/Tools/WebEditingTester/AppDelegate.m (180438 => 180439)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WebEditingTester/AppDelegate.m        2015-02-20 19:59:35 UTC (rev 180438)
+++ trunk/Tools/WebEditingTester/AppDelegate.m        2015-02-20 20:02:39 UTC (rev 180439)
</span><span class="lines">@@ -25,9 +25,11 @@
</span><span class="cx"> 
</span><span class="cx"> #import &quot;AppDelegate.h&quot;
</span><span class="cx"> 
</span><ins>+#import &quot;CannedContent.h&quot;
</ins><span class="cx"> #import &quot;EditingOperations.h&quot;
</span><span class="cx"> #import &quot;WK1WebDocumentController.h&quot;
</span><span class="cx"> #import &quot;WK2WebDocumentController.h&quot;
</span><ins>+#import &lt;WebKit/WKBrowsingContextController.h&gt;
</ins><span class="cx"> 
</span><span class="cx"> static NSString * const UseWebKit2ByDefaultPreferenceKey = @&quot;UseWebKit2ByDefault&quot;;
</span><span class="cx"> 
</span><span class="lines">@@ -46,6 +48,9 @@
</span><span class="cx"> 
</span><span class="cx"> - (void)applicationDidFinishLaunching:(NSNotification *)aNotification
</span><span class="cx"> {
</span><ins>+    [NSURLProtocol registerClass:[CannedContent class]];
+    [WKBrowsingContextController registerSchemeForCustomProtocol:@&quot;canned&quot;];
+
</ins><span class="cx">     [self newEditor:self];
</span><span class="cx">     [self _updateNewWindowKeyEquivalents];
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkToolsWebEditingTesterCannedContentdicepng"></a>
<div class="binary"><h4>Added: trunk/Tools/WebEditingTester/Canned Content/dice.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Property changes on: trunk/Tools/WebEditingTester/Canned Content/dice.png
</span><span class="cx">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<a id="trunkToolsWebEditingTesterCannedContenth"></a>
<div class="addfile"><h4>Added: trunk/Tools/WebEditingTester/CannedContent.h (0 => 180439)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WebEditingTester/CannedContent.h                                (rev 0)
+++ trunk/Tools/WebEditingTester/CannedContent.h        2015-02-20 20:02:39 UTC (rev 180439)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+/*
+ * Copyright (C) 2015 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import &lt;Foundation/Foundation.h&gt;
+
+@interface CannedContent : NSURLProtocol
+
+@end
</ins></span></pre></div>
<a id="trunkToolsWebEditingTesterCannedContentm"></a>
<div class="addfile"><h4>Added: trunk/Tools/WebEditingTester/CannedContent.m (0 => 180439)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WebEditingTester/CannedContent.m                                (rev 0)
+++ trunk/Tools/WebEditingTester/CannedContent.m        2015-02-20 20:02:39 UTC (rev 180439)
</span><span class="lines">@@ -0,0 +1,76 @@
</span><ins>+/*
+ * Copyright (C) 2015 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import &quot;CannedContent.h&quot;
+
+@implementation CannedContent
+
+- (instancetype)initWithRequest:(NSURLRequest *)request cachedResponse:(NSCachedURLResponse *)cachedResponse client:(id&lt;NSURLProtocolClient&gt;)client
+{
+    if (!(self = [super initWithRequest:request cachedResponse:cachedResponse client:client]))
+        return nil;
+
+    return self;
+}
+
++ (NSURLRequest *)canonicalRequestForRequest:(NSURLRequest *)request
+{
+    return request;
+}
+
++ (BOOL)canInitWithRequest:(NSURLRequest *)request
+{
+    return [request.URL.scheme isEqualToString:@&quot;canned&quot;];
+}
+
+- (void)startLoading
+{
+    NSData *data = nil;
+    NSString *MIMEType = nil;
+
+    if ([self.request.URL.host isEqualToString:@&quot;dice&quot;]) {
+        data = [NSData dataWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@&quot;dice&quot; ofType:@&quot;png&quot;]];
+        MIMEType = @&quot;image/png&quot;;
+    } else if ([self.request.URL.host isEqualToString:@&quot;text&quot;]) {
+        data = [@&quot;canned text&quot; dataUsingEncoding:NSUTF8StringEncoding];
+        MIMEType = @&quot;text/html&quot;;
+    }
+
+    if (!data) {
+        [self.client URLProtocol:self didFailWithError:[NSError errorWithDomain:@&quot;WebEditingTester&quot; code:1 userInfo:nil]];
+        return;
+    }
+
+    [self.client URLProtocol:self didReceiveResponse:[[NSURLResponse alloc] initWithURL:self.request.URL MIMEType:MIMEType expectedContentLength:data.length textEncodingName:nil] cacheStoragePolicy:NSURLCacheStorageNotAllowed];
+    [self.client URLProtocol:self didLoadData:data];
+    [self.client URLProtocolDidFinishLoading:self];
+}
+
+- (void)stopLoading
+{
+
+}
+
+@end
</ins></span></pre></div>
<a id="trunkToolsWebEditingTesterWebEditingTesterxcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Tools/WebEditingTester/WebEditingTester.xcodeproj/project.pbxproj (180438 => 180439)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WebEditingTester/WebEditingTester.xcodeproj/project.pbxproj        2015-02-20 19:59:35 UTC (rev 180438)
+++ trunk/Tools/WebEditingTester/WebEditingTester.xcodeproj/project.pbxproj        2015-02-20 20:02:39 UTC (rev 180439)
</span><span class="lines">@@ -8,6 +8,8 @@
</span><span class="cx"> 
</span><span class="cx"> /* Begin PBXBuildFile section */
</span><span class="cx">                 2D4FFA111A97079D0006360B /* EditingOperations.m in Sources */ = {isa = PBXBuildFile; fileRef = 2D4FFA101A97079D0006360B /* EditingOperations.m */; };
</span><ins>+                2D6B05BF1A972E8C00613256 /* CannedContent.m in Sources */ = {isa = PBXBuildFile; fileRef = 2D6B05BE1A972E8C00613256 /* CannedContent.m */; };
+                2D6B05C21A97365300613256 /* dice.png in Resources */ = {isa = PBXBuildFile; fileRef = 2D6B05C11A97365300613256 /* dice.png */; };
</ins><span class="cx">                 C53E7D0D1A9546E600818F19 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = C53E7D0B1A9546E600818F19 /* MainMenu.xib */; };
</span><span class="cx">                 C53E7D0E1A9546E600818F19 /* WebDocument.xib in Resources */ = {isa = PBXBuildFile; fileRef = C53E7D0C1A9546E600818F19 /* WebDocument.xib */; };
</span><span class="cx">                 C558CDB31A92D6900059A907 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = C558CDB21A92D6900059A907 /* AppDelegate.m */; };
</span><span class="lines">@@ -22,6 +24,9 @@
</span><span class="cx"> /* Begin PBXFileReference section */
</span><span class="cx">                 2D4FFA0F1A97079D0006360B /* EditingOperations.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EditingOperations.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 2D4FFA101A97079D0006360B /* EditingOperations.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = EditingOperations.m; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><ins>+                2D6B05BD1A972E8C00613256 /* CannedContent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CannedContent.h; sourceTree = &quot;&lt;group&gt;&quot;; };
+                2D6B05BE1A972E8C00613256 /* CannedContent.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CannedContent.m; sourceTree = &quot;&lt;group&gt;&quot;; };
+                2D6B05C11A97365300613256 /* dice.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = dice.png; sourceTree = &quot;&lt;group&gt;&quot;; };
</ins><span class="cx">                 C53E7D0B1A9546E600818F19 /* MainMenu.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MainMenu.xib; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 C53E7D0C1A9546E600818F19 /* WebDocument.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = WebDocument.xib; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 C558CDAC1A92D6900059A907 /* WebEditingTester.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = WebEditingTester.app; sourceTree = BUILT_PRODUCTS_DIR; };
</span><span class="lines">@@ -52,11 +57,20 @@
</span><span class="cx"> /* End PBXFrameworksBuildPhase section */
</span><span class="cx"> 
</span><span class="cx"> /* Begin PBXGroup section */
</span><ins>+                2D6B05C01A9734D700613256 /* Canned Content */ = {
+                        isa = PBXGroup;
+                        children = (
+                                2D6B05C11A97365300613256 /* dice.png */,
+                        );
+                        path = &quot;Canned Content&quot;;
+                        sourceTree = &quot;&lt;group&gt;&quot;;
+                };
</ins><span class="cx">                 C558CDA31A92D6900059A907 = {
</span><span class="cx">                         isa = PBXGroup;
</span><span class="cx">                         children = (
</span><span class="cx">                                 C558CDAE1A92D6900059A907 /* WebEditingTester */,
</span><span class="cx">                                 C59F9B9A1A93C9030041A959 /* Resources */,
</span><ins>+                                2D6B05C01A9734D700613256 /* Canned Content */,
</ins><span class="cx">                                 C558CDAF1A92D6900059A907 /* Supporting Files */,
</span><span class="cx">                                 C558CDD51A93C8830059A907 /* Frameworks */,
</span><span class="cx">                                 C558CDAD1A92D6900059A907 /* Products */,
</span><span class="lines">@@ -84,6 +98,8 @@
</span><span class="cx">                                 C558CDB71A92D6900059A907 /* WebDocumentController.m */,
</span><span class="cx">                                 2D4FFA0F1A97079D0006360B /* EditingOperations.h */,
</span><span class="cx">                                 2D4FFA101A97079D0006360B /* EditingOperations.m */,
</span><ins>+                                2D6B05BD1A972E8C00613256 /* CannedContent.h */,
+                                2D6B05BE1A972E8C00613256 /* CannedContent.m */,
</ins><span class="cx">                         );
</span><span class="cx">                         name = WebEditingTester;
</span><span class="cx">                         sourceTree = &quot;&lt;group&gt;&quot;;
</span><span class="lines">@@ -174,6 +190,7 @@
</span><span class="cx">                         files = (
</span><span class="cx">                                 C53E7D0E1A9546E600818F19 /* WebDocument.xib in Resources */,
</span><span class="cx">                                 C53E7D0D1A9546E600818F19 /* MainMenu.xib in Resources */,
</span><ins>+                                2D6B05C21A97365300613256 /* dice.png in Resources */,
</ins><span class="cx">                         );
</span><span class="cx">                         runOnlyForDeploymentPostprocessing = 0;
</span><span class="cx">                 };
</span><span class="lines">@@ -184,6 +201,7 @@
</span><span class="cx">                         isa = PBXSourcesBuildPhase;
</span><span class="cx">                         buildActionMask = 2147483647;
</span><span class="cx">                         files = (
</span><ins>+                                2D6B05BF1A972E8C00613256 /* CannedContent.m in Sources */,
</ins><span class="cx">                                 C558CDB81A92D6900059A907 /* WebDocumentController.m in Sources */,
</span><span class="cx">                                 C59F9BA01A93CB630041A959 /* WK2WebDocumentController.m in Sources */,
</span><span class="cx">                                 2D4FFA111A97079D0006360B /* EditingOperations.m in Sources */,
</span></span></pre>
</div>
</div>

</body>
</html>