<!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>[181007] 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/181007">181007</a></dd>
<dt>Author</dt> <dd>timothy_horton@apple.com</dd>
<dt>Date</dt> <dd>2015-03-04 11:27:39 -0800 (Wed, 04 Mar 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>[WebEditingTester] Add support for the find and replace bar
https://bugs.webkit.org/show_bug.cgi?id=142247

Reviewed by Enrica Casucci.

While it's not hooked up yet in WKWebView, adding support for the
find bar to WebEditingTester will help us implement that functionality.

* WebEditingTester/AppDelegate.h:
* WebEditingTester/AppDelegate.m:
(-[WebEditingAppDelegate performTextFinderAction:]):
* WebEditingTester/MainMenu.xib:
Receive performTextFinderAction: and forward it to the frontmost WebDocumentController.

* WebEditingTester/WK2WebDocumentController.m:
(-[WK2WebDocumentController awakeFromNib]):
(-[WK2WebDocumentController performTextFinderAction:]):
(-[WK2WebDocumentController findBarView]):
(-[WK2WebDocumentController setFindBarView:]):
(-[WK2WebDocumentController isFindBarVisible]):
(-[WK2WebDocumentController setFindBarVisible:]):
(-[WK2WebDocumentController findBarViewDidChangeHeight]):
(-[WK2WebDocumentController layout]):
Implement performTextFinderAction: for WebKit2, and have a NSTextFinder
pointing at the WKWebView (currently nothing will work, but the bar will
show up). Install and uninstall the bar as needed.

* WebEditingTester/WebDocument.xib:
Don't use a full-size content view. There's no need, and it makes find
bar layout harder.

* WebEditingTester/WebDocumentController.h:
* WebEditingTester/WebDocumentController.m:
(-[WebDocumentController performTextFinderAction:]):</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkToolsChangeLog">trunk/Tools/ChangeLog</a></li>
<li><a href="#trunkToolsWebEditingTesterAppDelegateh">trunk/Tools/WebEditingTester/AppDelegate.h</a></li>
<li><a href="#trunkToolsWebEditingTesterAppDelegatem">trunk/Tools/WebEditingTester/AppDelegate.m</a></li>
<li><a href="#trunkToolsWebEditingTesterMainMenuxib">trunk/Tools/WebEditingTester/MainMenu.xib</a></li>
<li><a href="#trunkToolsWebEditingTesterWK2WebDocumentControllerm">trunk/Tools/WebEditingTester/WK2WebDocumentController.m</a></li>
<li><a href="#trunkToolsWebEditingTesterWebDocumentxib">trunk/Tools/WebEditingTester/WebDocument.xib</a></li>
<li><a href="#trunkToolsWebEditingTesterWebDocumentControllerh">trunk/Tools/WebEditingTester/WebDocumentController.h</a></li>
<li><a href="#trunkToolsWebEditingTesterWebDocumentControllerm">trunk/Tools/WebEditingTester/WebDocumentController.m</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkToolsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Tools/ChangeLog (181006 => 181007)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/ChangeLog        2015-03-04 19:26:22 UTC (rev 181006)
+++ trunk/Tools/ChangeLog        2015-03-04 19:27:39 UTC (rev 181007)
</span><span class="lines">@@ -1,3 +1,40 @@
</span><ins>+2015-03-04  Timothy Horton  &lt;timothy_horton@apple.com&gt;
+
+        [WebEditingTester] Add support for the find and replace bar
+        https://bugs.webkit.org/show_bug.cgi?id=142247
+
+        Reviewed by Enrica Casucci.
+
+        While it's not hooked up yet in WKWebView, adding support for the
+        find bar to WebEditingTester will help us implement that functionality.
+
+        * WebEditingTester/AppDelegate.h:
+        * WebEditingTester/AppDelegate.m:
+        (-[WebEditingAppDelegate performTextFinderAction:]):
+        * WebEditingTester/MainMenu.xib:
+        Receive performTextFinderAction: and forward it to the frontmost WebDocumentController.
+
+        * WebEditingTester/WK2WebDocumentController.m:
+        (-[WK2WebDocumentController awakeFromNib]):
+        (-[WK2WebDocumentController performTextFinderAction:]):
+        (-[WK2WebDocumentController findBarView]):
+        (-[WK2WebDocumentController setFindBarView:]):
+        (-[WK2WebDocumentController isFindBarVisible]):
+        (-[WK2WebDocumentController setFindBarVisible:]):
+        (-[WK2WebDocumentController findBarViewDidChangeHeight]):
+        (-[WK2WebDocumentController layout]):
+        Implement performTextFinderAction: for WebKit2, and have a NSTextFinder
+        pointing at the WKWebView (currently nothing will work, but the bar will
+        show up). Install and uninstall the bar as needed.
+
+        * WebEditingTester/WebDocument.xib:
+        Don't use a full-size content view. There's no need, and it makes find
+        bar layout harder.
+
+        * WebEditingTester/WebDocumentController.h:
+        * WebEditingTester/WebDocumentController.m:
+        (-[WebDocumentController performTextFinderAction:]):
+
</ins><span class="cx"> 2015-03-03  Sam Weinig  &lt;sam@webkit.org&gt;
</span><span class="cx"> 
</span><span class="cx">         [Content Extensions] Split parsing and compiling of content extensions into their own files
</span></span></pre></div>
<a id="trunkToolsWebEditingTesterAppDelegateh"></a>
<div class="modfile"><h4>Modified: trunk/Tools/WebEditingTester/AppDelegate.h (181006 => 181007)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WebEditingTester/AppDelegate.h        2015-03-04 19:26:22 UTC (rev 181006)
+++ trunk/Tools/WebEditingTester/AppDelegate.h        2015-03-04 19:27:39 UTC (rev 181007)
</span><span class="lines">@@ -36,5 +36,7 @@
</span><span class="cx"> - (IBAction)showOperations:(id)sender;
</span><span class="cx"> - (IBAction)toggleUseWebKit2ByDefault:(id)sender;
</span><span class="cx"> 
</span><ins>+- (IBAction)performTextFinderAction:(id)sender;
+
</ins><span class="cx"> @end
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkToolsWebEditingTesterAppDelegatem"></a>
<div class="modfile"><h4>Modified: trunk/Tools/WebEditingTester/AppDelegate.m (181006 => 181007)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WebEditingTester/AppDelegate.m        2015-03-04 19:26:22 UTC (rev 181006)
+++ trunk/Tools/WebEditingTester/AppDelegate.m        2015-03-04 19:27:39 UTC (rev 181007)
</span><span class="lines">@@ -210,4 +210,12 @@
</span><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+- (void)performTextFinderAction:(id)sender
+{
+    id keyWindowDelegate = [NSApplication sharedApplication].keyWindow.delegate;
+    if (![keyWindowDelegate isKindOfClass:[WebDocumentController class]])
+        return;
+    [(WebDocumentController *)keyWindowDelegate performTextFinderAction:sender];
+}
+
</ins><span class="cx"> @end
</span></span></pre></div>
<a id="trunkToolsWebEditingTesterMainMenuxib"></a>
<div class="modfile"><h4>Modified: trunk/Tools/WebEditingTester/MainMenu.xib (181006 => 181007)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WebEditingTester/MainMenu.xib        2015-03-04 19:26:22 UTC (rev 181006)
+++ trunk/Tools/WebEditingTester/MainMenu.xib        2015-03-04 19:27:39 UTC (rev 181007)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;
</span><del>-&lt;document type=&quot;com.apple.InterfaceBuilder3.Cocoa.XIB&quot; version=&quot;3.0&quot; toolsVersion=&quot;8034&quot; systemVersion=&quot;14D87&quot; targetRuntime=&quot;MacOSX.Cocoa&quot; propertyAccessControl=&quot;none&quot; useAutolayout=&quot;YES&quot; customObjectInstantitationMethod=&quot;direct&quot;&gt;
</del><ins>+&lt;document type=&quot;com.apple.InterfaceBuilder3.Cocoa.XIB&quot; version=&quot;3.0&quot; toolsVersion=&quot;8014.3&quot; systemVersion=&quot;14D83&quot; targetRuntime=&quot;MacOSX.Cocoa&quot; propertyAccessControl=&quot;none&quot; useAutolayout=&quot;YES&quot; customObjectInstantitationMethod=&quot;direct&quot;&gt;
</ins><span class="cx">     &lt;dependencies&gt;
</span><del>-        &lt;plugIn identifier=&quot;com.apple.InterfaceBuilder.CocoaPlugin&quot; version=&quot;8034&quot;/&gt;
</del><ins>+        &lt;plugIn identifier=&quot;com.apple.InterfaceBuilder.CocoaPlugin&quot; version=&quot;8014.3&quot;/&gt;
</ins><span class="cx">     &lt;/dependencies&gt;
</span><span class="cx">     &lt;objects&gt;
</span><span class="cx">         &lt;customObject id=&quot;-2&quot; userLabel=&quot;File's Owner&quot; customClass=&quot;NSApplication&quot;&gt;
</span><span class="lines">@@ -183,28 +183,28 @@
</span><span class="cx">                                     &lt;items&gt;
</span><span class="cx">                                         &lt;menuItem title=&quot;Find…&quot; tag=&quot;1&quot; keyEquivalent=&quot;f&quot; id=&quot;Xz5-n4-O0W&quot;&gt;
</span><span class="cx">                                             &lt;connections&gt;
</span><del>-                                                &lt;action selector=&quot;performFindPanelAction:&quot; target=&quot;-1&quot; id=&quot;cD7-Qs-BN4&quot;/&gt;
</del><ins>+                                                &lt;action selector=&quot;performTextFinderAction:&quot; target=&quot;Voe-Tx-rLC&quot; id=&quot;KVS-KQ-3q9&quot;/&gt;
</ins><span class="cx">                                             &lt;/connections&gt;
</span><span class="cx">                                         &lt;/menuItem&gt;
</span><span class="cx">                                         &lt;menuItem title=&quot;Find and Replace…&quot; tag=&quot;12&quot; keyEquivalent=&quot;f&quot; id=&quot;YEy-JH-Tfz&quot;&gt;
</span><span class="cx">                                             &lt;modifierMask key=&quot;keyEquivalentModifierMask&quot; option=&quot;YES&quot; command=&quot;YES&quot;/&gt;
</span><span class="cx">                                             &lt;connections&gt;
</span><del>-                                                &lt;action selector=&quot;performFindPanelAction:&quot; target=&quot;-1&quot; id=&quot;WD3-Gg-5AJ&quot;/&gt;
</del><ins>+                                                &lt;action selector=&quot;performTextFinderAction:&quot; target=&quot;Voe-Tx-rLC&quot; id=&quot;Tm2-fN-dsI&quot;/&gt;
</ins><span class="cx">                                             &lt;/connections&gt;
</span><span class="cx">                                         &lt;/menuItem&gt;
</span><span class="cx">                                         &lt;menuItem title=&quot;Find Next&quot; tag=&quot;2&quot; keyEquivalent=&quot;g&quot; id=&quot;q09-fT-Sye&quot;&gt;
</span><span class="cx">                                             &lt;connections&gt;
</span><del>-                                                &lt;action selector=&quot;performFindPanelAction:&quot; target=&quot;-1&quot; id=&quot;NDo-RZ-v9R&quot;/&gt;
</del><ins>+                                                &lt;action selector=&quot;performTextFinderAction:&quot; target=&quot;Voe-Tx-rLC&quot; id=&quot;iEF-Pu-h9y&quot;/&gt;
</ins><span class="cx">                                             &lt;/connections&gt;
</span><span class="cx">                                         &lt;/menuItem&gt;
</span><span class="cx">                                         &lt;menuItem title=&quot;Find Previous&quot; tag=&quot;3&quot; keyEquivalent=&quot;G&quot; id=&quot;OwM-mh-QMV&quot;&gt;
</span><span class="cx">                                             &lt;connections&gt;
</span><del>-                                                &lt;action selector=&quot;performFindPanelAction:&quot; target=&quot;-1&quot; id=&quot;HOh-sY-3ay&quot;/&gt;
</del><ins>+                                                &lt;action selector=&quot;performTextFinderAction:&quot; target=&quot;Voe-Tx-rLC&quot; id=&quot;kVG-Ls-YyZ&quot;/&gt;
</ins><span class="cx">                                             &lt;/connections&gt;
</span><span class="cx">                                         &lt;/menuItem&gt;
</span><span class="cx">                                         &lt;menuItem title=&quot;Use Selection for Find&quot; tag=&quot;7&quot; keyEquivalent=&quot;e&quot; id=&quot;buJ-ug-pKt&quot;&gt;
</span><span class="cx">                                             &lt;connections&gt;
</span><del>-                                                &lt;action selector=&quot;performFindPanelAction:&quot; target=&quot;-1&quot; id=&quot;U76-nv-p5D&quot;/&gt;
</del><ins>+                                                &lt;action selector=&quot;performTextFinderAction:&quot; target=&quot;Voe-Tx-rLC&quot; id=&quot;Kcf-K3-qYC&quot;/&gt;
</ins><span class="cx">                                             &lt;/connections&gt;
</span><span class="cx">                                         &lt;/menuItem&gt;
</span><span class="cx">                                         &lt;menuItem title=&quot;Jump to Selection&quot; keyEquivalent=&quot;j&quot; id=&quot;S0p-oC-mLd&quot;&gt;
</span><span class="lines">@@ -685,7 +685,7 @@
</span><span class="cx">             &lt;windowStyleMask key=&quot;styleMask&quot; titled=&quot;YES&quot; closable=&quot;YES&quot; miniaturizable=&quot;YES&quot; utility=&quot;YES&quot; nonactivatingPanel=&quot;YES&quot;/&gt;
</span><span class="cx">             &lt;windowPositionMask key=&quot;initialPositionMask&quot; leftStrut=&quot;YES&quot; rightStrut=&quot;YES&quot; topStrut=&quot;YES&quot; bottomStrut=&quot;YES&quot;/&gt;
</span><span class="cx">             &lt;rect key=&quot;contentRect&quot; x=&quot;272&quot; y=&quot;172&quot; width=&quot;565&quot; height=&quot;366&quot;/&gt;
</span><del>-            &lt;rect key=&quot;screenRect&quot; x=&quot;0.0&quot; y=&quot;0.0&quot; width=&quot;2560&quot; height=&quot;1417&quot;/&gt;
</del><ins>+            &lt;rect key=&quot;screenRect&quot; x=&quot;0.0&quot; y=&quot;0.0&quot; width=&quot;1920&quot; height=&quot;1177&quot;/&gt;
</ins><span class="cx">             &lt;view key=&quot;contentView&quot; id=&quot;64n-CD-rIB&quot;&gt;
</span><span class="cx">                 &lt;rect key=&quot;frame&quot; x=&quot;0.0&quot; y=&quot;0.0&quot; width=&quot;565&quot; height=&quot;366&quot;/&gt;
</span><span class="cx">                 &lt;autoresizingMask key=&quot;autoresizingMask&quot;/&gt;
</span></span></pre></div>
<a id="trunkToolsWebEditingTesterWK2WebDocumentControllerm"></a>
<div class="modfile"><h4>Modified: trunk/Tools/WebEditingTester/WK2WebDocumentController.m (181006 => 181007)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WebEditingTester/WK2WebDocumentController.m        2015-03-04 19:26:22 UTC (rev 181006)
+++ trunk/Tools/WebEditingTester/WK2WebDocumentController.m        2015-03-04 19:27:39 UTC (rev 181007)
</span><span class="lines">@@ -34,11 +34,15 @@
</span><span class="cx"> #import &lt;WebKit/WKWebViewPrivate.h&gt;
</span><span class="cx"> #import &lt;WebKit/_WKWebsiteDataStore.h&gt;
</span><span class="cx"> 
</span><del>-@interface WK2WebDocumentController () &lt;WKUIDelegate&gt;
</del><ins>+@interface WK2WebDocumentController () &lt;WKUIDelegate, NSTextFinderBarContainer&gt;
</ins><span class="cx"> @property (nonatomic, strong) WKWebView *webView;
</span><span class="cx"> @end
</span><span class="cx"> 
</span><del>-@implementation WK2WebDocumentController
</del><ins>+@implementation WK2WebDocumentController {
+    NSTextFinder *_textFinder;
+    NSView *_textFindBarView;
+    BOOL _findBarVisible;
+}
</ins><span class="cx"> 
</span><span class="cx"> static WKWebViewConfiguration *defaultConfiguration()
</span><span class="cx"> {
</span><span class="lines">@@ -67,6 +71,10 @@
</span><span class="cx">     
</span><span class="cx">     [containerView addSubview:_webView];
</span><span class="cx">     self.window.title = @&quot;WebEditor [WK2]&quot;;
</span><ins>+
+    _textFinder = [[NSTextFinder alloc] init];
+    _textFinder.client = (id&lt;NSTextFinderClient&gt;)_webView;
+    _textFinder.findBarContainer = self;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> - (void)loadHTMLString:(NSString *)content
</span><span class="lines">@@ -74,4 +82,57 @@
</span><span class="cx">     [_webView loadHTMLString:content baseURL:nil];
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+- (void)performTextFinderAction:(id)sender
+{
+    [_textFinder performAction:[sender tag]];
+}
+
+- (NSView *)findBarView
+{
+    return _textFindBarView;
+}
+
+- (void)setFindBarView:(NSView *)findBarView
+{
+    if (_textFindBarView)
+        [_textFindBarView removeFromSuperview];
+    _textFindBarView = findBarView;
+    _findBarVisible = YES;
+    [containerView addSubview:_textFindBarView];
+    [self layout];
+}
+
+- (BOOL)isFindBarVisible
+{
+    return _findBarVisible;
+}
+
+- (void)setFindBarVisible:(BOOL)findBarVisible
+{
+    _findBarVisible = findBarVisible;
+    if (findBarVisible)
+        [containerView addSubview:_textFindBarView];
+    else
+        [_textFindBarView removeFromSuperview];
+
+    [self layout];
+}
+
+- (void)findBarViewDidChangeHeight
+{
+    [self layout];
+}
+
+- (void)layout
+{
+    CGRect containerBounds = [containerView bounds];
+
+    if (!_findBarVisible) {
+        _webView.frame = containerBounds;
+    } else {
+        _textFindBarView.frame = CGRectMake(containerBounds.origin.x, containerBounds.origin.y + containerBounds.size.height - _textFindBarView.frame.size.height, containerBounds.size.width, _textFindBarView.frame.size.height);
+        _webView.frame = CGRectMake(containerBounds.origin.x, containerBounds.origin.y, containerBounds.size.width, containerBounds.size.height - _textFindBarView.frame.size.height);
+    }
+}
+
</ins><span class="cx"> @end
</span></span></pre></div>
<a id="trunkToolsWebEditingTesterWebDocumentxib"></a>
<div class="modfile"><h4>Modified: trunk/Tools/WebEditingTester/WebDocument.xib (181006 => 181007)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WebEditingTester/WebDocument.xib        2015-03-04 19:26:22 UTC (rev 181006)
+++ trunk/Tools/WebEditingTester/WebDocument.xib        2015-03-04 19:27:39 UTC (rev 181007)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;
</span><del>-&lt;document type=&quot;com.apple.InterfaceBuilder3.Cocoa.XIB&quot; version=&quot;3.0&quot; toolsVersion=&quot;7504.2&quot; systemVersion=&quot;14D77&quot; targetRuntime=&quot;MacOSX.Cocoa&quot; propertyAccessControl=&quot;none&quot; useAutolayout=&quot;YES&quot; customObjectInstantitationMethod=&quot;direct&quot;&gt;
</del><ins>+&lt;document type=&quot;com.apple.InterfaceBuilder3.Cocoa.XIB&quot; version=&quot;3.0&quot; toolsVersion=&quot;8014.3&quot; systemVersion=&quot;14D83&quot; targetRuntime=&quot;MacOSX.Cocoa&quot; propertyAccessControl=&quot;none&quot; useAutolayout=&quot;YES&quot; customObjectInstantitationMethod=&quot;direct&quot;&gt;
</ins><span class="cx">     &lt;dependencies&gt;
</span><del>-        &lt;plugIn identifier=&quot;com.apple.InterfaceBuilder.CocoaPlugin&quot; version=&quot;7504.2&quot;/&gt;
</del><ins>+        &lt;plugIn identifier=&quot;com.apple.InterfaceBuilder.CocoaPlugin&quot; version=&quot;8014.3&quot;/&gt;
</ins><span class="cx">     &lt;/dependencies&gt;
</span><span class="cx">     &lt;objects&gt;
</span><span class="cx">         &lt;customObject id=&quot;-2&quot; userLabel=&quot;File's Owner&quot; customClass=&quot;WebDocumentController&quot;&gt;
</span><span class="lines">@@ -13,10 +13,10 @@
</span><span class="cx">         &lt;customObject id=&quot;-1&quot; userLabel=&quot;First Responder&quot; customClass=&quot;FirstResponder&quot;/&gt;
</span><span class="cx">         &lt;customObject id=&quot;-3&quot; userLabel=&quot;Application&quot; customClass=&quot;NSObject&quot;/&gt;
</span><span class="cx">         &lt;window title=&quot;Window&quot; allowsToolTipsWhenApplicationIsInactive=&quot;NO&quot; autorecalculatesKeyViewLoop=&quot;NO&quot; frameAutosaveName=&quot;Main Window&quot; animationBehavior=&quot;default&quot; id=&quot;xOd-HO-29H&quot; userLabel=&quot;Window&quot;&gt;
</span><del>-            &lt;windowStyleMask key=&quot;styleMask&quot; titled=&quot;YES&quot; closable=&quot;YES&quot; miniaturizable=&quot;YES&quot; resizable=&quot;YES&quot; fullSizeContentView=&quot;YES&quot;/&gt;
</del><ins>+            &lt;windowStyleMask key=&quot;styleMask&quot; titled=&quot;YES&quot; closable=&quot;YES&quot; miniaturizable=&quot;YES&quot; resizable=&quot;YES&quot;/&gt;
</ins><span class="cx">             &lt;windowPositionMask key=&quot;initialPositionMask&quot; leftStrut=&quot;YES&quot; rightStrut=&quot;YES&quot; topStrut=&quot;YES&quot; bottomStrut=&quot;YES&quot;/&gt;
</span><span class="cx">             &lt;rect key=&quot;contentRect&quot; x=&quot;115&quot; y=&quot;862&quot; width=&quot;507&quot; height=&quot;413&quot;/&gt;
</span><del>-            &lt;rect key=&quot;screenRect&quot; x=&quot;0.0&quot; y=&quot;0.0&quot; width=&quot;2560&quot; height=&quot;1417&quot;/&gt;
</del><ins>+            &lt;rect key=&quot;screenRect&quot; x=&quot;0.0&quot; y=&quot;0.0&quot; width=&quot;1920&quot; height=&quot;1177&quot;/&gt;
</ins><span class="cx">             &lt;value key=&quot;minSize&quot; type=&quot;size&quot; width=&quot;94&quot; height=&quot;86&quot;/&gt;
</span><span class="cx">             &lt;view key=&quot;contentView&quot; id=&quot;gIp-Ho-8D9&quot;&gt;
</span><span class="cx">                 &lt;rect key=&quot;frame&quot; x=&quot;0.0&quot; y=&quot;0.0&quot; width=&quot;507&quot; height=&quot;413&quot;/&gt;
</span><span class="lines">@@ -36,6 +36,7 @@
</span><span class="cx">             &lt;connections&gt;
</span><span class="cx">                 &lt;outlet property=&quot;delegate&quot; destination=&quot;-2&quot; id=&quot;0bl-1N-x8E&quot;/&gt;
</span><span class="cx">             &lt;/connections&gt;
</span><ins>+            &lt;point key=&quot;canvasLocation&quot; x=&quot;409.5&quot; y=&quot;297.5&quot;/&gt;
</ins><span class="cx">         &lt;/window&gt;
</span><span class="cx">     &lt;/objects&gt;
</span><span class="cx"> &lt;/document&gt;
</span></span></pre></div>
<a id="trunkToolsWebEditingTesterWebDocumentControllerh"></a>
<div class="modfile"><h4>Modified: trunk/Tools/WebEditingTester/WebDocumentController.h (181006 => 181007)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WebEditingTester/WebDocumentController.h        2015-03-04 19:26:22 UTC (rev 181006)
+++ trunk/Tools/WebEditingTester/WebDocumentController.h        2015-03-04 19:27:39 UTC (rev 181007)
</span><span class="lines">@@ -38,5 +38,7 @@
</span><span class="cx"> 
</span><span class="cx"> - (void)loadHTMLString:(NSString *)content;
</span><span class="cx"> 
</span><ins>+- (void)performTextFinderAction:(id)sender;
+
</ins><span class="cx"> @end
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkToolsWebEditingTesterWebDocumentControllerm"></a>
<div class="modfile"><h4>Modified: trunk/Tools/WebEditingTester/WebDocumentController.m (181006 => 181007)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WebEditingTester/WebDocumentController.m        2015-03-04 19:26:22 UTC (rev 181006)
+++ trunk/Tools/WebEditingTester/WebDocumentController.m        2015-03-04 19:27:39 UTC (rev 181007)
</span><span class="lines">@@ -51,4 +51,8 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+- (void)performTextFinderAction:(id)sender
+{
+}
+
</ins><span class="cx"> @end
</span></span></pre>
</div>
</div>

</body>
</html>