<!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>[195308] trunk/Source</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/195308">195308</a></dd>
<dt>Author</dt> <dd>commit-queue@webkit.org</dd>
<dt>Date</dt> <dd>2016-01-19 12:56:21 -0800 (Tue, 19 Jan 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>Unreviewed, rolling out <a href="http://trac.webkit.org/projects/webkit/changeset/195300">r195300</a>.
https://bugs.webkit.org/show_bug.cgi?id=153244

enrica wants more time to fix Windows (Requested by thorton on
#webkit).

Reverted changeset:

&quot;Add support for DataDetectors in WK (iOS).&quot;
https://bugs.webkit.org/show_bug.cgi?id=152989
http://trac.webkit.org/changeset/195300</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceJavaScriptCoreChangeLog">trunk/Source/JavaScriptCore/ChangeLog</a></li>
<li><a href="#trunkSourceJavaScriptCoreConfigurationsFeatureDefinesxcconfig">trunk/Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig</a></li>
<li><a href="#trunkSourceWTFChangeLog">trunk/Source/WTF/ChangeLog</a></li>
<li><a href="#trunkSourceWTFwtfFeatureDefinesh">trunk/Source/WTF/wtf/FeatureDefines.h</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreConfigurationsFeatureDefinesxcconfig">trunk/Source/WebCore/Configurations/FeatureDefines.xcconfig</a></li>
<li><a href="#trunkSourceWebCoreConfigurationsWebCorexcconfig">trunk/Source/WebCore/Configurations/WebCore.xcconfig</a></li>
<li><a href="#trunkSourceWebCoreWebCorexcodeprojprojectpbxproj">trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj</a></li>
<li><a href="#trunkSourceWebCoreloaderFrameLoadercpp">trunk/Source/WebCore/loader/FrameLoader.cpp</a></li>
<li><a href="#trunkSourceWebCorepageSettingsh">trunk/Source/WebCore/page/Settings.h</a></li>
<li><a href="#trunkSourceWebCorepageSettingsin">trunk/Source/WebCore/page/Settings.in</a></li>
<li><a href="#trunkSourceWebCoreplatformspimacDataDetectorsSPIh">trunk/Source/WebCore/platform/spi/mac/DataDetectorsSPI.h</a></li>
<li><a href="#trunkSourceWebKitmacChangeLog">trunk/Source/WebKit/mac/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitmacConfigurationsFeatureDefinesxcconfig">trunk/Source/WebKit/mac/Configurations/FeatureDefines.xcconfig</a></li>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2ConfigurationsFeatureDefinesxcconfig">trunk/Source/WebKit2/Configurations/FeatureDefines.xcconfig</a></li>
<li><a href="#trunkSourceWebKit2SharedWebPreferencesDefinitionsh">trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKWebViewmm">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKWebViewConfigurationh">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKWebViewConfigurationmm">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.mm</a></li>
<li><a href="#trunkSourceWebKit2WebKit2xcodeprojprojectpbxproj">trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebPageWebPagecpp">trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebPageWebPageh">trunk/Source/WebKit2/WebProcess/WebPage/WebPage.h</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreeditingmacDataDetectionh">trunk/Source/WebCore/editing/mac/DataDetection.h</a></li>
<li><a href="#trunkSourceWebCoreeditingmacDataDetectionmm">trunk/Source/WebCore/editing/mac/DataDetection.mm</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreeditingcocoaDataDetectionh">trunk/Source/WebCore/editing/cocoa/DataDetection.h</a></li>
<li><a href="#trunkSourceWebCoreeditingcocoaDataDetectionmm">trunk/Source/WebCore/editing/cocoa/DataDetection.mm</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebPageCocoaWebPageCocoamm">trunk/Source/WebKit2/WebProcess/WebPage/Cocoa/WebPageCocoa.mm</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceJavaScriptCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/ChangeLog (195307 => 195308)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/ChangeLog        2016-01-19 20:55:34 UTC (rev 195307)
+++ trunk/Source/JavaScriptCore/ChangeLog        2016-01-19 20:56:21 UTC (rev 195308)
</span><span class="lines">@@ -1,3 +1,17 @@
</span><ins>+2016-01-19  Commit Queue  &lt;commit-queue@webkit.org&gt;
+
+        Unreviewed, rolling out r195300.
+        https://bugs.webkit.org/show_bug.cgi?id=153244
+
+        enrica wants more time to fix Windows (Requested by thorton on
+        #webkit).
+
+        Reverted changeset:
+
+        &quot;Add support for DataDetectors in WK (iOS).&quot;
+        https://bugs.webkit.org/show_bug.cgi?id=152989
+        http://trac.webkit.org/changeset/195300
+
</ins><span class="cx"> 2016-01-19  Filip Pizlo  &lt;fpizlo@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Reconsider B3's constant motion policy
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreConfigurationsFeatureDefinesxcconfig"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig (195307 => 195308)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig        2016-01-19 20:55:34 UTC (rev 195307)
+++ trunk/Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig        2016-01-19 20:56:21 UTC (rev 195308)
</span><span class="lines">@@ -111,7 +111,6 @@
</span><span class="cx"> ENABLE_MAC_GESTURE_EVENTS_macosx_WITH_INTERNAL_SDK_YES = ENABLE_MAC_GESTURE_EVENTS;
</span><span class="cx"> 
</span><span class="cx"> ENABLE_IOS_TEXT_AUTOSIZING[sdk=iphone*] = ENABLE_IOS_TEXT_AUTOSIZING;
</span><del>-ENABLE_DATA_DETECTION = ENABLE_DATA_DETECTION;
</del><span class="cx"> 
</span><span class="cx"> ENABLE_IOS_TOUCH_EVENTS[sdk=iphone*] = $(ENABLE_IOS_TOUCH_EVENTS_ios_WITH_INTERNAL_SDK_$(USE_INTERNAL_SDK));
</span><span class="cx"> ENABLE_IOS_TOUCH_EVENTS_ios_WITH_INTERNAL_SDK_YES = ENABLE_IOS_TOUCH_EVENTS;
</span></span></pre></div>
<a id="trunkSourceWTFChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/ChangeLog (195307 => 195308)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/ChangeLog        2016-01-19 20:55:34 UTC (rev 195307)
+++ trunk/Source/WTF/ChangeLog        2016-01-19 20:56:21 UTC (rev 195308)
</span><span class="lines">@@ -1,3 +1,17 @@
</span><ins>+2016-01-19  Commit Queue  &lt;commit-queue@webkit.org&gt;
+
+        Unreviewed, rolling out r195300.
+        https://bugs.webkit.org/show_bug.cgi?id=153244
+
+        enrica wants more time to fix Windows (Requested by thorton on
+        #webkit).
+
+        Reverted changeset:
+
+        &quot;Add support for DataDetectors in WK (iOS).&quot;
+        https://bugs.webkit.org/show_bug.cgi?id=152989
+        http://trac.webkit.org/changeset/195300
+
</ins><span class="cx"> 2016-01-19  Chris Dumez  &lt;cdumez@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Unreviewed, rolling out r195141.
</span></span></pre></div>
<a id="trunkSourceWTFwtfFeatureDefinesh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/wtf/FeatureDefines.h (195307 => 195308)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/wtf/FeatureDefines.h        2016-01-19 20:55:34 UTC (rev 195307)
+++ trunk/Source/WTF/wtf/FeatureDefines.h        2016-01-19 20:56:21 UTC (rev 195308)
</span><span class="lines">@@ -272,14 +272,6 @@
</span><span class="cx"> 
</span><span class="cx"> #endif /* PLATFORM(MAC) */
</span><span class="cx"> 
</span><del>-#if PLATFORM(COCOA)
-
-#if !defined(ENABLE_DATA_DETECTION)
-#define ENABLE_DATA_DETECTION 1
-#endif
-
-#endif /* PLATFORM(COCOA) */
-
</del><span class="cx"> /* --------- Apple Windows port --------- */
</span><span class="cx"> #if PLATFORM(WIN) &amp;&amp; !PLATFORM(WIN_CAIRO)
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (195307 => 195308)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-01-19 20:55:34 UTC (rev 195307)
+++ trunk/Source/WebCore/ChangeLog        2016-01-19 20:56:21 UTC (rev 195308)
</span><span class="lines">@@ -1,3 +1,17 @@
</span><ins>+2016-01-19  Commit Queue  &lt;commit-queue@webkit.org&gt;
+
+        Unreviewed, rolling out r195300.
+        https://bugs.webkit.org/show_bug.cgi?id=153244
+
+        enrica wants more time to fix Windows (Requested by thorton on
+        #webkit).
+
+        Reverted changeset:
+
+        &quot;Add support for DataDetectors in WK (iOS).&quot;
+        https://bugs.webkit.org/show_bug.cgi?id=152989
+        http://trac.webkit.org/changeset/195300
+
</ins><span class="cx"> 2016-01-19  Zalan Bujtas  &lt;zalan@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         outline-offset does not work for inlines.
</span></span></pre></div>
<a id="trunkSourceWebCoreConfigurationsFeatureDefinesxcconfig"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Configurations/FeatureDefines.xcconfig (195307 => 195308)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Configurations/FeatureDefines.xcconfig        2016-01-19 20:55:34 UTC (rev 195307)
+++ trunk/Source/WebCore/Configurations/FeatureDefines.xcconfig        2016-01-19 20:56:21 UTC (rev 195308)
</span><span class="lines">@@ -111,7 +111,6 @@
</span><span class="cx"> ENABLE_MAC_GESTURE_EVENTS_macosx_WITH_INTERNAL_SDK_YES = ENABLE_MAC_GESTURE_EVENTS;
</span><span class="cx"> 
</span><span class="cx"> ENABLE_IOS_TEXT_AUTOSIZING[sdk=iphone*] = ENABLE_IOS_TEXT_AUTOSIZING;
</span><del>-ENABLE_DATA_DETECTION = ENABLE_DATA_DETECTION;
</del><span class="cx"> 
</span><span class="cx"> ENABLE_IOS_TOUCH_EVENTS[sdk=iphone*] = $(ENABLE_IOS_TOUCH_EVENTS_ios_WITH_INTERNAL_SDK_$(USE_INTERNAL_SDK));
</span><span class="cx"> ENABLE_IOS_TOUCH_EVENTS_ios_WITH_INTERNAL_SDK_YES = ENABLE_IOS_TOUCH_EVENTS;
</span></span></pre></div>
<a id="trunkSourceWebCoreConfigurationsWebCorexcconfig"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Configurations/WebCore.xcconfig (195307 => 195308)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Configurations/WebCore.xcconfig        2016-01-19 20:55:34 UTC (rev 195307)
+++ trunk/Source/WebCore/Configurations/WebCore.xcconfig        2016-01-19 20:56:21 UTC (rev 195308)
</span><span class="lines">@@ -50,7 +50,7 @@
</span><span class="cx"> UNEXPORTED_SYMBOLS_FILE = Configurations/WebCore.unexp;
</span><span class="cx"> OTHER_LDFLAGS = $(inherited) $(OTHER_LDFLAGS_PLATFORM);
</span><span class="cx"> OTHER_LDFLAGS_BASE = -lsqlite3 -lobjc -lANGLE;
</span><del>-OTHER_LDFLAGS_BASE_ios = $(OTHER_LDFLAGS_BASE) -framework CFNetwork -framework CoreGraphics -framework CoreText -framework Foundation -framework GraphicsServices -framework ImageIO -framework OpenGLES -lMobileGestalt -framework DataDetectorsCore;
</del><ins>+OTHER_LDFLAGS_BASE_ios = $(OTHER_LDFLAGS_BASE) -framework CFNetwork -framework CoreGraphics -framework CoreText -framework Foundation -framework GraphicsServices -framework ImageIO -framework OpenGLES -lMobileGestalt;
</ins><span class="cx"> OTHER_LDFLAGS_PLATFORM[sdk=iphoneos*] = $(OTHER_LDFLAGS_BASE_ios) -framework IOSurface;
</span><span class="cx"> OTHER_LDFLAGS_PLATFORM[sdk=iphonesimulator*] = $(OTHER_LDFLAGS_BASE_ios);
</span><span class="cx"> OTHER_LDFLAGS_PLATFORM[sdk=macosx*] = $(OTHER_LDFLAGS_BASE) -sub_library libobjc -umbrella WebKit -allowable_client WebCoreTestSupport -allowable_client WebKit2 -allowable_client WebKitLegacy -framework ApplicationServices -framework AudioUnit -framework Carbon -framework Cocoa -framework DataDetectorsCore -framework IOSurface -framework OpenGL;
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorexcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (195307 => 195308)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2016-01-19 20:55:34 UTC (rev 195307)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2016-01-19 20:56:21 UTC (rev 195308)
</span><span class="lines">@@ -1137,6 +1137,8 @@
</span><span class="cx">                 2D5002FC1B56D7990020AAF7 /* PathUtilities.h in Headers */ = {isa = PBXBuildFile; fileRef = 2D5002FA1B56D7990020AAF7 /* PathUtilities.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 2D5036681BCDDDC400E20BB3 /* GestureEvents.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2D5036671BCDDDC400E20BB3 /* GestureEvents.cpp */; };
</span><span class="cx">                 2D5646B01B8F8493003C4994 /* DictionaryPopupInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 2D5646AF1B8F8493003C4994 /* DictionaryPopupInfo.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><ins>+                2D58D8551A15F65F00A5F726 /* DataDetection.h in Headers */ = {isa = PBXBuildFile; fileRef = 2D58D8531A15F65F00A5F726 /* DataDetection.h */; settings = {ATTRIBUTES = (Private, ); }; };
+                2D58D8561A15F65F00A5F726 /* DataDetection.mm in Sources */ = {isa = PBXBuildFile; fileRef = 2D58D8541A15F65F00A5F726 /* DataDetection.mm */; };
</ins><span class="cx">                 2D59F1BF1A0044C6001F3D29 /* DataDetectorsSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = 2D59F1BE1A0044C6001F3D29 /* DataDetectorsSPI.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 2D5A592F152525230036EE51 /* ImageOrientation.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A8748D7412CC3F89001FBA41 /* ImageOrientation.cpp */; };
</span><span class="cx">                 2D5A5931152525D00036EE51 /* ImageOrientation.h in Headers */ = {isa = PBXBuildFile; fileRef = A8748D6612CC3763001FBA41 /* ImageOrientation.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="lines">@@ -5880,8 +5882,6 @@
</span><span class="cx">                 C50D0E830FF4272900AC2644 /* StorageNamespace.h in Headers */ = {isa = PBXBuildFile; fileRef = C50D0E810FF4272900AC2644 /* StorageNamespace.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 C5137CF211A58378004ADB99 /* JSDOMStringList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C5137CF011A58378004ADB99 /* JSDOMStringList.cpp */; };
</span><span class="cx">                 C5137CF311A58378004ADB99 /* JSDOMStringList.h in Headers */ = {isa = PBXBuildFile; fileRef = C5137CF111A58378004ADB99 /* JSDOMStringList.h */; };
</span><del>-                C5227DF11C3C6DF100F5ED54 /* DataDetection.h in Headers */ = {isa = PBXBuildFile; fileRef = C5227DEF1C3C6DD700F5ED54 /* DataDetection.h */; settings = {ATTRIBUTES = (Private, ); }; };
-                C5227DF21C3C6DF900F5ED54 /* DataDetection.mm in Sources */ = {isa = PBXBuildFile; fileRef = C5227DF01C3C6DD700F5ED54 /* DataDetection.mm */; };
</del><span class="cx">                 C5278B0C17F212EA003A2998 /* PlatformPasteboardIOS.mm in Sources */ = {isa = PBXBuildFile; fileRef = C5278B0B17F212EA003A2998 /* PlatformPasteboardIOS.mm */; };
</span><span class="cx">                 C544274B11A57E7A0063A749 /* DOMStringList.h in Headers */ = {isa = PBXBuildFile; fileRef = C544274911A57E7A0063A749 /* DOMStringList.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 C55610F111A704EB00B82D27 /* DOMStringList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C55610F011A704EB00B82D27 /* DOMStringList.cpp */; };
</span><span class="lines">@@ -8514,6 +8514,8 @@
</span><span class="cx">                 2D5002FA1B56D7990020AAF7 /* PathUtilities.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PathUtilities.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 2D5036671BCDDDC400E20BB3 /* GestureEvents.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = GestureEvents.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 2D5646AF1B8F8493003C4994 /* DictionaryPopupInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DictionaryPopupInfo.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><ins>+                2D58D8531A15F65F00A5F726 /* DataDetection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DataDetection.h; sourceTree = &quot;&lt;group&gt;&quot;; };
+                2D58D8541A15F65F00A5F726 /* DataDetection.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = DataDetection.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</ins><span class="cx">                 2D59F1BE1A0044C6001F3D29 /* DataDetectorsSPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DataDetectorsSPI.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 2D5BC42516F882BE007048D0 /* SecurityPolicyViolationEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SecurityPolicyViolationEvent.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 2D5BC42616F882BE007048D0 /* SecurityPolicyViolationEvent.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = SecurityPolicyViolationEvent.idl; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -13711,8 +13713,6 @@
</span><span class="cx">                 C50D0E810FF4272900AC2644 /* StorageNamespace.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StorageNamespace.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 C5137CF011A58378004ADB99 /* JSDOMStringList.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSDOMStringList.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 C5137CF111A58378004ADB99 /* JSDOMStringList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSDOMStringList.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                C5227DEF1C3C6DD700F5ED54 /* DataDetection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DataDetection.h; sourceTree = &quot;&lt;group&gt;&quot;; };
-                C5227DF01C3C6DD700F5ED54 /* DataDetection.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = DataDetection.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 C5278B0B17F212EA003A2998 /* PlatformPasteboardIOS.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = PlatformPasteboardIOS.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 C544274911A57E7A0063A749 /* DOMStringList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMStringList.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 C544274A11A57E7A0063A749 /* DOMStringList.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = DOMStringList.idl; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -17885,8 +17885,6 @@
</span><span class="cx">                 7C3E510718DF8F1200C112F7 /* cocoa */ = {
</span><span class="cx">                         isa = PBXGroup;
</span><span class="cx">                         children = (
</span><del>-                                C5227DEF1C3C6DD700F5ED54 /* DataDetection.h */,
-                                C5227DF01C3C6DD700F5ED54 /* DataDetection.mm */,
</del><span class="cx">                                 9B55EEEA1B3F3FEF005342BC /* EditorCocoa.h */,
</span><span class="cx">                                 9B55EEE81B3E8898005342BC /* EditorCocoa.mm */,
</span><span class="cx">                                 7C3E510818DF8F3500C112F7 /* HTMLConverter.h */,
</span><span class="lines">@@ -23193,6 +23191,8 @@
</span><span class="cx">                         children = (
</span><span class="cx">                                 CE7B2DAF1586ABAD0098B3FA /* AlternativeTextUIController.h */,
</span><span class="cx">                                 CE7B2DB01586ABAD0098B3FA /* AlternativeTextUIController.mm */,
</span><ins>+                                2D58D8531A15F65F00A5F726 /* DataDetection.h */,
+                                2D58D8541A15F65F00A5F726 /* DataDetection.mm */,
</ins><span class="cx">                                 937FF3D41A1012D6008EBA31 /* DictionaryLookup.h */,
</span><span class="cx">                                 937FF3D61A10131B008EBA31 /* DictionaryLookup.mm */,
</span><span class="cx">                                 ED501DC50B249F2900AE18D9 /* EditorMac.mm */,
</span><span class="lines">@@ -25068,6 +25068,7 @@
</span><span class="cx">                                 97BC6A301505F081001B74AC /* DatabaseThread.h in Headers */,
</span><span class="cx">                                 97BC6A321505F081001B74AC /* DatabaseTracker.h in Headers */,
</span><span class="cx">                                 BE23480D18A9871400E4B6E8 /* DataCue.h in Headers */,
</span><ins>+                                2D58D8551A15F65F00A5F726 /* DataDetection.h in Headers */,
</ins><span class="cx">                                 935E2B4E1AFF06CA00976F9F /* DataDetectorsCoreSPI.h in Headers */,
</span><span class="cx">                                 2D59F1BF1A0044C6001F3D29 /* DataDetectorsSPI.h in Headers */,
</span><span class="cx">                                 BC22746F0E83664500E7F975 /* DataRef.h in Headers */,
</span><span class="lines">@@ -26039,7 +26040,6 @@
</span><span class="cx">                                 B27535750B053814002CE64F /* IntSize.h in Headers */,
</span><span class="cx">                                 B27535760B053814002CE64F /* IntSizeHash.h in Headers */,
</span><span class="cx">                                 CE12524D1A1A77DE00864480 /* IOPMLibSPI.h in Headers */,
</span><del>-                                C5227DF11C3C6DF100F5ED54 /* DataDetection.h in Headers */,
</del><span class="cx">                                 44DEF6431A6FF92700D45EEC /* IOReturnSPI.h in Headers */,
</span><span class="cx">                                 2D0B4AAB18DA1CCD00434DE1 /* IOSurface.h in Headers */,
</span><span class="cx">                                 1C21E57D183ED1FF001C289D /* IOSurfacePool.h in Headers */,
</span><span class="lines">@@ -28747,7 +28747,6 @@
</span><span class="cx">                                 85031B3F0A44EFC700F992E0 /* ClipboardEvent.cpp in Sources */,
</span><span class="cx">                                 580371611A66F00A00BAF519 /* ClipRect.cpp in Sources */,
</span><span class="cx">                                 CDEA76351460B71A008B31F1 /* Clock.cpp in Sources */,
</span><del>-                                C5227DF21C3C6DF900F5ED54 /* DataDetection.mm in Sources */,
</del><span class="cx">                                 CDEA76341460B56F008B31F1 /* ClockGeneric.cpp in Sources */,
</span><span class="cx">                                 9BD8A95A18BEFC7600987E9A /* CollectionIndexCache.cpp in Sources */,
</span><span class="cx">                                 B27535660B053814002CE64F /* Color.cpp in Sources */,
</span><span class="lines">@@ -28927,6 +28926,7 @@
</span><span class="cx">                                 97BC6A2F1505F081001B74AC /* DatabaseThread.cpp in Sources */,
</span><span class="cx">                                 97BC6A311505F081001B74AC /* DatabaseTracker.cpp in Sources */,
</span><span class="cx">                                 BE23480C18A9870B00E4B6E8 /* DataCue.cpp in Sources */,
</span><ins>+                                2D58D8561A15F65F00A5F726 /* DataDetection.mm in Sources */,
</ins><span class="cx">                                 BC64641D11D7F416006455B0 /* DatasetDOMStringMap.cpp in Sources */,
</span><span class="cx">                                 A784941B0B5FE507001E237A /* DataTransfer.cpp in Sources */,
</span><span class="cx">                                 93F19AFF08245E59001E9ABC /* DataTransferMac.mm in Sources */,
</span></span></pre></div>
<a id="trunkSourceWebCoreeditingcocoaDataDetectionh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/editing/cocoa/DataDetection.h (195307 => 195308)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/editing/cocoa/DataDetection.h        2016-01-19 20:55:34 UTC (rev 195307)
+++ trunk/Source/WebCore/editing/cocoa/DataDetection.h        2016-01-19 20:56:21 UTC (rev 195308)
</span><span class="lines">@@ -1,59 +0,0 @@
</span><del>-/*
- * Copyright (C) 2014 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.
- */
-
-#ifndef DataDetection_h
-#define DataDetection_h
-
-#import &lt;wtf/RefPtr.h&gt;
-#import &lt;wtf/RetainPtr.h&gt;
-
-OBJC_CLASS DDActionContext;
-
-namespace WebCore {
-
-class FloatRect;
-class HitTestResult;
-class Range;
-
-enum DataDetectorTypes {
-    DataDetectorTypeNone = 0,
-    DataDetectorTypePhoneNumber = 1 &lt;&lt; 0,
-    DataDetectorTypeLink = 1 &lt;&lt; 1,
-    DataDetectorTypeAddress = 1 &lt;&lt; 2,
-    DataDetectorTypeCalendarEvent = 1 &lt;&lt; 3,
-    DataDetectorTypeAll = ULONG_MAX
-};
-
-class DataDetection {
-public:
-#if PLATFORM(MAC)
-    WEBCORE_EXPORT static RetainPtr&lt;DDActionContext&gt; detectItemAroundHitTestResult(const HitTestResult&amp;, FloatRect&amp; detectedDataBoundingBox, RefPtr&lt;Range&gt;&amp; detectedDataRange);
-#endif
-    WEBCORE_EXPORT static void detectContentInRange(RefPtr&lt;Range&gt;&amp; contextRange, DataDetectorTypes);
-};
-
-} // namespace WebCore
-
-#endif // DataDetection_h
</del></span></pre></div>
<a id="trunkSourceWebCoreeditingcocoaDataDetectionmm"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/editing/cocoa/DataDetection.mm (195307 => 195308)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/editing/cocoa/DataDetection.mm        2016-01-19 20:55:34 UTC (rev 195307)
+++ trunk/Source/WebCore/editing/cocoa/DataDetection.mm        2016-01-19 20:56:21 UTC (rev 195308)
</span><span class="lines">@@ -1,146 +0,0 @@
</span><del>-/*
- * Copyright (C) 2014 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. ``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
- * 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;config.h&quot;
-#import &quot;DataDetection.h&quot;
-
-#import &quot;Attr.h&quot;
-#import &quot;CSSStyleDeclaration.h&quot;
-#import &quot;DataDetectorsSPI.h&quot;
-#import &quot;FrameView.h&quot;
-#import &quot;HTMLAnchorElement.h&quot;
-#import &quot;HTMLTextFormControlElement.h&quot;
-#import &quot;HitTestResult.h&quot;
-#import &quot;Node.h&quot;
-#import &quot;NodeList.h&quot;
-#import &quot;NodeTraversal.h&quot;
-#import &quot;Range.h&quot;
-#import &quot;RenderObject.h&quot;
-#import &quot;Text.h&quot;
-#import &quot;TextIterator.h&quot;
-#import &quot;VisiblePosition.h&quot;
-#import &quot;VisibleUnits.h&quot;
-#import &quot;htmlediting.h&quot;
-
-namespace WebCore {
-
-#if PLATFORM(MAC)
-
-static RetainPtr&lt;DDActionContext&gt; detectItemAtPositionWithRange(VisiblePosition position, RefPtr&lt;Range&gt; contextRange, FloatRect&amp; detectedDataBoundingBox, RefPtr&lt;Range&gt;&amp; detectedDataRange)
-{
-    String fullPlainTextString = plainText(contextRange.get());
-    int hitLocation = TextIterator::rangeLength(makeRange(contextRange-&gt;startPosition(), position).get());
-
-    RetainPtr&lt;DDScannerRef&gt; scanner = adoptCF(DDScannerCreate(DDScannerTypeStandard, 0, nullptr));
-    RetainPtr&lt;DDScanQueryRef&gt; scanQuery = adoptCF(DDScanQueryCreateFromString(kCFAllocatorDefault, fullPlainTextString.createCFString().get(), CFRangeMake(0, fullPlainTextString.length())));
-
-    if (!DDScannerScanQuery(scanner.get(), scanQuery.get()))
-        return nullptr;
-
-    RetainPtr&lt;CFArrayRef&gt; results = adoptCF(DDScannerCopyResultsWithOptions(scanner.get(), DDScannerCopyResultsOptionsNoOverlap));
-
-    // Find the DDResultRef that intersects the hitTestResult's VisiblePosition.
-    DDResultRef mainResult = nullptr;
-    RefPtr&lt;Range&gt; mainResultRange;
-    CFIndex resultCount = CFArrayGetCount(results.get());
-    for (CFIndex i = 0; i &lt; resultCount; i++) {
-        DDResultRef result = (DDResultRef)CFArrayGetValueAtIndex(results.get(), i);
-        CFRange resultRangeInContext = DDResultGetRange(result);
-        if (hitLocation &gt;= resultRangeInContext.location &amp;&amp; (hitLocation - resultRangeInContext.location) &lt; resultRangeInContext.length) {
-            mainResult = result;
-            mainResultRange = TextIterator::subrange(contextRange.get(), resultRangeInContext.location, resultRangeInContext.length);
-            break;
-        }
-    }
-
-    if (!mainResult)
-        return nullptr;
-
-    RetainPtr&lt;DDActionContext&gt; actionContext = adoptNS([allocDDActionContextInstance() init]);
-    [actionContext setAllResults:@[ (id)mainResult ]];
-    [actionContext setMainResult:mainResult];
-
-    Vector&lt;FloatQuad&gt; quads;
-    mainResultRange-&gt;absoluteTextQuads(quads);
-    detectedDataBoundingBox = FloatRect();
-    FrameView* frameView = mainResultRange-&gt;ownerDocument().view();
-    for (const auto&amp; quad : quads)
-        detectedDataBoundingBox.unite(frameView-&gt;contentsToWindow(quad.enclosingBoundingBox()));
-    
-    detectedDataRange = mainResultRange;
-    
-    return actionContext;
-}
-
-RetainPtr&lt;DDActionContext&gt; DataDetection::detectItemAroundHitTestResult(const HitTestResult&amp; hitTestResult, FloatRect&amp; detectedDataBoundingBox, RefPtr&lt;Range&gt;&amp; detectedDataRange)
-{
-    if (!DataDetectorsLibrary())
-        return nullptr;
-
-    Node* node = hitTestResult.innerNonSharedNode();
-    if (!node)
-        return nullptr;
-    auto renderer = node-&gt;renderer();
-    if (!renderer)
-        return nullptr;
-
-    VisiblePosition position;
-    RefPtr&lt;Range&gt; contextRange;
-
-    if (!is&lt;HTMLTextFormControlElement&gt;(*node)) {
-        position = renderer-&gt;positionForPoint(hitTestResult.localPoint(), nullptr);
-        if (position.isNull())
-            position = firstPositionInOrBeforeNode(node);
-
-        contextRange = rangeExpandedAroundPositionByCharacters(position, 250);
-        if (!contextRange)
-            return nullptr;
-    } else {
-        Frame* frame = node-&gt;document().frame();
-        if (!frame)
-            return nullptr;
-
-        IntPoint framePoint = hitTestResult.roundedPointInInnerNodeFrame();
-        if (!frame-&gt;rangeForPoint(framePoint))
-            return nullptr;
-
-        VisiblePosition position = frame-&gt;visiblePositionForPoint(framePoint);
-        if (position.isNull())
-            return nullptr;
-
-        contextRange = enclosingTextUnitOfGranularity(position, LineGranularity, DirectionForward);
-        if (!contextRange)
-            return nullptr;
-    }
-
-    return detectItemAtPositionWithRange(position, contextRange, detectedDataBoundingBox, detectedDataRange);
-}
-#endif // PLATFORM(MAC)
-
-void DataDetection::detectContentInRange(RefPtr&lt;Range&gt;&amp;, DataDetectorTypes)
-{
-}
-
-} // namespace WebCore
</del></span></pre></div>
<a id="trunkSourceWebCoreeditingmacDataDetectionhfromrev195307trunkSourceWebCoreeditingcocoaDataDetectionh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/editing/mac/DataDetection.h (from rev 195307, trunk/Source/WebCore/editing/cocoa/DataDetection.h) (0 => 195308)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/editing/mac/DataDetection.h                                (rev 0)
+++ trunk/Source/WebCore/editing/mac/DataDetection.h        2016-01-19 20:56:21 UTC (rev 195308)
</span><span class="lines">@@ -0,0 +1,51 @@
</span><ins>+/*
+ * Copyright (C) 2014 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.
+ */
+
+#ifndef DataDetection_h
+#define DataDetection_h
+
+#if PLATFORM(MAC)
+
+#import &lt;wtf/RefPtr.h&gt;
+#import &lt;wtf/RetainPtr.h&gt;
+
+OBJC_CLASS DDActionContext;
+
+namespace WebCore {
+
+class FloatRect;
+class HitTestResult;
+class Range;
+
+class DataDetection {
+public:
+    WEBCORE_EXPORT static RetainPtr&lt;DDActionContext&gt; detectItemAroundHitTestResult(const HitTestResult&amp;, FloatRect&amp; detectedDataBoundingBox, RefPtr&lt;Range&gt;&amp; detectedDataRange);
+};
+
+} // namespace WebCore
+
+#endif // PLATFORM(MAC)
+
+#endif // DataDetection_h
</ins></span></pre></div>
<a id="trunkSourceWebCoreeditingmacDataDetectionmmfromrev195307trunkSourceWebCoreeditingcocoaDataDetectionmm"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/editing/mac/DataDetection.mm (from rev 195307, trunk/Source/WebCore/editing/cocoa/DataDetection.mm) (0 => 195308)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/editing/mac/DataDetection.mm                                (rev 0)
+++ trunk/Source/WebCore/editing/mac/DataDetection.mm        2016-01-19 20:56:21 UTC (rev 195308)
</span><span class="lines">@@ -0,0 +1,137 @@
</span><ins>+/*
+ * Copyright (C) 2014 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. ``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
+ * 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;config.h&quot;
+#import &quot;DataDetection.h&quot;
+
+#if PLATFORM(MAC)
+
+#import &quot;DataDetectorsSPI.h&quot;
+#import &quot;FrameView.h&quot;
+#import &quot;HTMLTextFormControlElement.h&quot;
+#import &quot;HitTestResult.h&quot;
+#import &quot;Node.h&quot;
+#import &quot;Range.h&quot;
+#import &quot;RenderObject.h&quot;
+#import &quot;TextIterator.h&quot;
+#import &quot;VisiblePosition.h&quot;
+#import &quot;VisibleUnits.h&quot;
+#import &quot;htmlediting.h&quot;
+
+namespace WebCore {
+
+static RetainPtr&lt;DDActionContext&gt; detectItemAtPositionWithRange(VisiblePosition position, RefPtr&lt;Range&gt; contextRange, FloatRect&amp; detectedDataBoundingBox, RefPtr&lt;Range&gt;&amp; detectedDataRange)
+{
+    String fullPlainTextString = plainText(contextRange.get());
+    int hitLocation = TextIterator::rangeLength(makeRange(contextRange-&gt;startPosition(), position).get());
+
+    RetainPtr&lt;DDScannerRef&gt; scanner = adoptCF(DDScannerCreate(DDScannerTypeStandard, 0, nullptr));
+    RetainPtr&lt;DDScanQueryRef&gt; scanQuery = adoptCF(DDScanQueryCreateFromString(kCFAllocatorDefault, fullPlainTextString.createCFString().get(), CFRangeMake(0, fullPlainTextString.length())));
+
+    if (!DDScannerScanQuery(scanner.get(), scanQuery.get()))
+        return nullptr;
+
+    RetainPtr&lt;CFArrayRef&gt; results = adoptCF(DDScannerCopyResultsWithOptions(scanner.get(), DDScannerCopyResultsOptionsNoOverlap));
+
+    // Find the DDResultRef that intersects the hitTestResult's VisiblePosition.
+    DDResultRef mainResult = nullptr;
+    RefPtr&lt;Range&gt; mainResultRange;
+    CFIndex resultCount = CFArrayGetCount(results.get());
+    for (CFIndex i = 0; i &lt; resultCount; i++) {
+        DDResultRef result = (DDResultRef)CFArrayGetValueAtIndex(results.get(), i);
+        CFRange resultRangeInContext = DDResultGetRange(result);
+        if (hitLocation &gt;= resultRangeInContext.location &amp;&amp; (hitLocation - resultRangeInContext.location) &lt; resultRangeInContext.length) {
+            mainResult = result;
+            mainResultRange = TextIterator::subrange(contextRange.get(), resultRangeInContext.location, resultRangeInContext.length);
+            break;
+        }
+    }
+
+    if (!mainResult)
+        return nullptr;
+
+    RetainPtr&lt;DDActionContext&gt; actionContext = adoptNS([allocDDActionContextInstance() init]);
+    [actionContext setAllResults:@[ (id)mainResult ]];
+    [actionContext setMainResult:mainResult];
+
+    Vector&lt;FloatQuad&gt; quads;
+    mainResultRange-&gt;absoluteTextQuads(quads);
+    detectedDataBoundingBox = FloatRect();
+    FrameView* frameView = mainResultRange-&gt;ownerDocument().view();
+    for (const auto&amp; quad : quads)
+        detectedDataBoundingBox.unite(frameView-&gt;contentsToWindow(quad.enclosingBoundingBox()));
+    
+    detectedDataRange = mainResultRange;
+    
+    return actionContext;
+}
+
+RetainPtr&lt;DDActionContext&gt; DataDetection::detectItemAroundHitTestResult(const HitTestResult&amp; hitTestResult, FloatRect&amp; detectedDataBoundingBox, RefPtr&lt;Range&gt;&amp; detectedDataRange)
+{
+    if (!DataDetectorsLibrary())
+        return nullptr;
+
+    Node* node = hitTestResult.innerNonSharedNode();
+    if (!node)
+        return nullptr;
+    auto renderer = node-&gt;renderer();
+    if (!renderer)
+        return nullptr;
+
+    VisiblePosition position;
+    RefPtr&lt;Range&gt; contextRange;
+
+    if (!is&lt;HTMLTextFormControlElement&gt;(*node)) {
+        position = renderer-&gt;positionForPoint(hitTestResult.localPoint(), nullptr);
+        if (position.isNull())
+            position = firstPositionInOrBeforeNode(node);
+
+        contextRange = rangeExpandedAroundPositionByCharacters(position, 250);
+        if (!contextRange)
+            return nullptr;
+    } else {
+        Frame* frame = node-&gt;document().frame();
+        if (!frame)
+            return nullptr;
+
+        IntPoint framePoint = hitTestResult.roundedPointInInnerNodeFrame();
+        if (!frame-&gt;rangeForPoint(framePoint))
+            return nullptr;
+
+        VisiblePosition position = frame-&gt;visiblePositionForPoint(framePoint);
+        if (position.isNull())
+            return nullptr;
+
+        contextRange = enclosingTextUnitOfGranularity(position, LineGranularity, DirectionForward);
+        if (!contextRange)
+            return nullptr;
+    }
+
+    return detectItemAtPositionWithRange(position, contextRange, detectedDataBoundingBox, detectedDataRange);
+}
+
+} // namespace WebCore
+
+#endif // PLATFORM(MAC)
</ins></span></pre></div>
<a id="trunkSourceWebCoreloaderFrameLoadercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/loader/FrameLoader.cpp (195307 => 195308)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/loader/FrameLoader.cpp        2016-01-19 20:55:34 UTC (rev 195307)
+++ trunk/Source/WebCore/loader/FrameLoader.cpp        2016-01-19 20:56:21 UTC (rev 195308)
</span><span class="lines">@@ -125,10 +125,6 @@
</span><span class="cx"> #include &quot;Archive.h&quot;
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-#if ENABLE(DATA_DETECTION)
-#include &quot;DataDetection.h&quot;
-#endif
-
</del><span class="cx"> #if PLATFORM(IOS)
</span><span class="cx"> #include &quot;DocumentType.h&quot;
</span><span class="cx"> #include &quot;MemoryPressureHandler.h&quot;
</span><span class="lines">@@ -2281,12 +2277,6 @@
</span><span class="cx">             } else {
</span><span class="cx">                 m_client.dispatchDidFinishLoad();
</span><span class="cx">                 loadingEvent = AXObjectCache::AXLoadingFinished;
</span><del>-#if ENABLE(DATA_DETECTION)
-                if (m_frame.settings().dataDetectorTypes() != DataDetectorTypeNone) {
-                    RefPtr&lt;Range&gt; documentRange = makeRange(firstPositionInNode(m_frame.document()-&gt;documentElement()), lastPositionInNode(m_frame.document()-&gt;documentElement()));
-                    DataDetection::detectContentInRange(documentRange, m_frame.settings().dataDetectorTypes());
-                }
-#endif
</del><span class="cx">             }
</span><span class="cx"> 
</span><span class="cx">             // Notify accessibility.
</span></span></pre></div>
<a id="trunkSourceWebCorepageSettingsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/Settings.h (195307 => 195308)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/Settings.h        2016-01-19 20:55:34 UTC (rev 195307)
+++ trunk/Source/WebCore/page/Settings.h        2016-01-19 20:56:21 UTC (rev 195308)
</span><span class="lines">@@ -42,10 +42,6 @@
</span><span class="cx"> #include &lt;wtf/text/AtomicString.h&gt;
</span><span class="cx"> #include &lt;wtf/text/AtomicStringHash.h&gt;
</span><span class="cx"> 
</span><del>-#if ENABLE(DATA_DETECTION)
-#include &quot;DataDetection.h&quot;
-#endif
-
</del><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><span class="cx"> class FontGenericFamilies;
</span></span></pre></div>
<a id="trunkSourceWebCorepageSettingsin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/Settings.in (195307 => 195308)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/Settings.in        2016-01-19 20:55:34 UTC (rev 195307)
+++ trunk/Source/WebCore/page/Settings.in        2016-01-19 20:56:21 UTC (rev 195308)
</span><span class="lines">@@ -228,7 +228,6 @@
</span><span class="cx"> temporaryTileCohortRetentionEnabled initial=true
</span><span class="cx"> 
</span><span class="cx"> useImageDocumentForSubframePDF initial=false
</span><del>-dataDetectorTypes type=DataDetectorTypes, initial=DataDetectorTypeNone, conditional=DATA_DETECTION
</del><span class="cx"> 
</span><span class="cx"> # Allow SourceBuffers to store up to 304MB each, enough for approximately five minutes
</span><span class="cx"> # of 1080p video and stereo audio.
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformspimacDataDetectorsSPIh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/spi/mac/DataDetectorsSPI.h (195307 => 195308)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/spi/mac/DataDetectorsSPI.h        2016-01-19 20:55:34 UTC (rev 195307)
+++ trunk/Source/WebCore/platform/spi/mac/DataDetectorsSPI.h        2016-01-19 20:56:21 UTC (rev 195308)
</span><span class="lines">@@ -25,12 +25,11 @@
</span><span class="cx"> 
</span><span class="cx"> #import &lt;wtf/Platform.h&gt;
</span><span class="cx"> 
</span><ins>+#if PLATFORM(MAC)
</ins><span class="cx"> 
</span><span class="cx"> #import &lt;WebCore/DataDetectorsCoreSPI.h&gt;
</span><span class="cx"> #import &lt;WebCore/SoftLinking.h&gt;
</span><span class="cx"> 
</span><del>-#if PLATFORM(MAC)
-
</del><span class="cx"> #if USE(APPLE_INTERNAL_SDK)
</span><span class="cx"> 
</span><span class="cx"> // Can't include DDAction.h because as of this writing it is a private header that includes a non-private header with an &quot;&quot; include.
</span></span></pre></div>
<a id="trunkSourceWebKitmacChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/ChangeLog (195307 => 195308)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/ChangeLog        2016-01-19 20:55:34 UTC (rev 195307)
+++ trunk/Source/WebKit/mac/ChangeLog        2016-01-19 20:56:21 UTC (rev 195308)
</span><span class="lines">@@ -1,3 +1,17 @@
</span><ins>+2016-01-19  Commit Queue  &lt;commit-queue@webkit.org&gt;
+
+        Unreviewed, rolling out r195300.
+        https://bugs.webkit.org/show_bug.cgi?id=153244
+
+        enrica wants more time to fix Windows (Requested by thorton on
+        #webkit).
+
+        Reverted changeset:
+
+        &quot;Add support for DataDetectors in WK (iOS).&quot;
+        https://bugs.webkit.org/show_bug.cgi?id=152989
+        http://trac.webkit.org/changeset/195300
+
</ins><span class="cx"> 2016-01-19  Enrica Casucci  &lt;enrica@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Add support for DataDetectors in WK (iOS).
</span></span></pre></div>
<a id="trunkSourceWebKitmacConfigurationsFeatureDefinesxcconfig"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/Configurations/FeatureDefines.xcconfig (195307 => 195308)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/Configurations/FeatureDefines.xcconfig        2016-01-19 20:55:34 UTC (rev 195307)
+++ trunk/Source/WebKit/mac/Configurations/FeatureDefines.xcconfig        2016-01-19 20:56:21 UTC (rev 195308)
</span><span class="lines">@@ -111,7 +111,6 @@
</span><span class="cx"> ENABLE_MAC_GESTURE_EVENTS_macosx_WITH_INTERNAL_SDK_YES = ENABLE_MAC_GESTURE_EVENTS;
</span><span class="cx"> 
</span><span class="cx"> ENABLE_IOS_TEXT_AUTOSIZING[sdk=iphone*] = ENABLE_IOS_TEXT_AUTOSIZING;
</span><del>-ENABLE_DATA_DETECTION = ENABLE_DATA_DETECTION;
</del><span class="cx"> 
</span><span class="cx"> ENABLE_IOS_TOUCH_EVENTS[sdk=iphone*] = $(ENABLE_IOS_TOUCH_EVENTS_ios_WITH_INTERNAL_SDK_$(USE_INTERNAL_SDK));
</span><span class="cx"> ENABLE_IOS_TOUCH_EVENTS_ios_WITH_INTERNAL_SDK_YES = ENABLE_IOS_TOUCH_EVENTS;
</span></span></pre></div>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (195307 => 195308)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2016-01-19 20:55:34 UTC (rev 195307)
+++ trunk/Source/WebKit2/ChangeLog        2016-01-19 20:56:21 UTC (rev 195308)
</span><span class="lines">@@ -1,3 +1,17 @@
</span><ins>+2016-01-19  Commit Queue  &lt;commit-queue@webkit.org&gt;
+
+        Unreviewed, rolling out r195300.
+        https://bugs.webkit.org/show_bug.cgi?id=153244
+
+        enrica wants more time to fix Windows (Requested by thorton on
+        #webkit).
+
+        Reverted changeset:
+
+        &quot;Add support for DataDetectors in WK (iOS).&quot;
+        https://bugs.webkit.org/show_bug.cgi?id=152989
+        http://trac.webkit.org/changeset/195300
+
</ins><span class="cx"> 2016-01-19  Enrica Casucci  &lt;enrica@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Add support for DataDetectors in WK (iOS).
</span></span></pre></div>
<a id="trunkSourceWebKit2ConfigurationsFeatureDefinesxcconfig"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Configurations/FeatureDefines.xcconfig (195307 => 195308)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Configurations/FeatureDefines.xcconfig        2016-01-19 20:55:34 UTC (rev 195307)
+++ trunk/Source/WebKit2/Configurations/FeatureDefines.xcconfig        2016-01-19 20:56:21 UTC (rev 195308)
</span><span class="lines">@@ -111,7 +111,6 @@
</span><span class="cx"> ENABLE_MAC_GESTURE_EVENTS_macosx_WITH_INTERNAL_SDK_YES = ENABLE_MAC_GESTURE_EVENTS;
</span><span class="cx"> 
</span><span class="cx"> ENABLE_IOS_TEXT_AUTOSIZING[sdk=iphone*] = ENABLE_IOS_TEXT_AUTOSIZING;
</span><del>-ENABLE_DATA_DETECTION = ENABLE_DATA_DETECTION;
</del><span class="cx"> 
</span><span class="cx"> ENABLE_IOS_TOUCH_EVENTS[sdk=iphone*] = $(ENABLE_IOS_TOUCH_EVENTS_ios_WITH_INTERNAL_SDK_$(USE_INTERNAL_SDK));
</span><span class="cx"> ENABLE_IOS_TOUCH_EVENTS_ios_WITH_INTERNAL_SDK_YES = ENABLE_IOS_TOUCH_EVENTS;
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedWebPreferencesDefinitionsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h (195307 => 195308)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h        2016-01-19 20:55:34 UTC (rev 195307)
+++ trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h        2016-01-19 20:56:21 UTC (rev 195308)
</span><span class="lines">@@ -239,7 +239,6 @@
</span><span class="cx">     macro(InspectorAttachmentSide, inspectorAttachmentSide, UInt32, uint32_t, 0) \
</span><span class="cx">     macro(StorageBlockingPolicy, storageBlockingPolicy, UInt32, uint32_t, WebCore::SecurityOrigin::BlockThirdPartyStorage) \
</span><span class="cx">     macro(JavaScriptRuntimeFlags, javaScriptRuntimeFlags, UInt32, uint32_t, 0) \
</span><del>-    macro(DataDetectorTypes, dataDetectorTypes, UInt32, uint32_t, 0) \
</del><span class="cx">     \
</span><span class="cx"> 
</span><span class="cx"> #define FOR_EACH_WEBKIT_DEBUG_BOOL_PREFERENCE(macro) \
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKWebViewmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm (195307 => 195308)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm        2016-01-19 20:55:34 UTC (rev 195307)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm        2016-01-19 20:56:21 UTC (rev 195308)
</span><span class="lines">@@ -383,9 +383,6 @@
</span><span class="cx">     pageConfiguration-&gt;preferenceValues().set(WebKit::WebPreferencesKey::invisibleAutoplayNotPermittedKey(), WebKit::WebPreferencesStore::Value(!![_configuration _invisibleAutoplayNotPermitted]));
</span><span class="cx">     pageConfiguration-&gt;preferenceValues().set(WebKit::WebPreferencesKey::mediaDataLoadsAutomaticallyKey(), WebKit::WebPreferencesStore::Value(!![_configuration _mediaDataLoadsAutomatically]));
</span><span class="cx"> #endif
</span><del>-#if ENABLE(DATA_DETECTION)
-    pageConfiguration-&gt;preferenceValues().set(WebKit::WebPreferencesKey::dataDetectorTypesKey(), WebKit::WebPreferencesStore::Value(static_cast&lt;uint32_t&gt;([_configuration dataDetectorTypes])));
-#endif
</del><span class="cx"> #if ENABLE(WIRELESS_PLAYBACK_TARGET)
</span><span class="cx">     pageConfiguration-&gt;preferenceValues().set(WebKit::WebPreferencesKey::allowsAirPlayForMediaPlaybackKey(), WebKit::WebPreferencesStore::Value(!![_configuration allowsAirPlayForMediaPlayback]));
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKWebViewConfigurationh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.h (195307 => 195308)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.h        2016-01-19 20:55:34 UTC (rev 195307)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.h        2016-01-19 20:56:21 UTC (rev 195308)
</span><span class="lines">@@ -51,25 +51,6 @@
</span><span class="cx"> } WK_ENUM_AVAILABLE_IOS(8_0);
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-/*! @enum WKDataDetectorTypes
- @abstract The type of detection desired.
- @constant WKDataDetectorTypeNone No detection is performed.
- @constant WKDataDetectorTypePhoneNumber Phone numbers are detected and turned into links.
- @constant WKDataDetectorTypeLink URLs in text are detected and turned into links.
- @constant WKDataDetectorTypeAddress Addresses are detected and turned into links.
- @constant WKDataDetectorTypeCalendarEvent Dates and times that are in the future are detected and turned into links.
- @constant WKDataDetectorTypeAll All of the above data types are turned into links when detected. Choosing this value will
- automatically include any new detection type that is added.
- */
-typedef NS_OPTIONS(NSUInteger, WKDataDetectorTypes) {
-    WKDataDetectorTypeNone = 0,
-    WKDataDetectorTypePhoneNumber = 1 &lt;&lt; 0,
-    WKDataDetectorTypeLink = 1 &lt;&lt; 1,
-    WKDataDetectorTypeAddress = 1 &lt;&lt; 2,
-    WKDataDetectorTypeCalendarEvent = 1 &lt;&lt; 3,
-    WKDataDetectorTypeAll = NSUIntegerMax
-} WK_ENUM_AVAILABLE(WK_MAC_TBA, WK_IOS_TBA);
-
</del><span class="cx"> /*! A WKWebViewConfiguration object is a collection of properties with
</span><span class="cx">  which to initialize a web view.
</span><span class="cx">  @helps Contains properties used to configure a @link WKWebView @/link.
</span><span class="lines">@@ -112,15 +93,6 @@
</span><span class="cx">  */
</span><span class="cx"> @property (nonatomic) BOOL allowsAirPlayForMediaPlayback WK_AVAILABLE(10_11, 9_0);
</span><span class="cx"> 
</span><del>-/*! @abstract An enum value indicating the type of data detection desired.
- @discussion The default value is WKDataDetectorTypeNone.
- An example of how this property may affect the content loaded in the WKWebView is that content like
- 'Visit apple.com on July 4th or call 1 800 555-5545' will be transformed to add links around 'apple.com', 'July 4th' and '1 800 555-5545'
- if the dataDetectorTypes property is set to WKDataDetectorTypePhoneNumber | WKDataDetectorTypeLink | WKDataDetectorTypeCalendarEvent.
-
- */
-@property (nonatomic) WKDataDetectorTypes dataDetectorTypes WK_AVAILABLE(WK_MAC_TBA, WK_IOS_TBA);
-
</del><span class="cx"> #if TARGET_OS_IPHONE
</span><span class="cx"> /*! @abstract A Boolean value indicating whether HTML5 videos play inline
</span><span class="cx">  (YES) or use the native full-screen controller (NO).
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKWebViewConfigurationmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.mm (195307 => 195308)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.mm        2016-01-19 20:55:34 UTC (rev 195307)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.mm        2016-01-19 20:56:21 UTC (rev 195308)
</span><span class="lines">@@ -198,9 +198,6 @@
</span><span class="cx">     configuration-&gt;_serviceControlsEnabled = self-&gt;_serviceControlsEnabled;
</span><span class="cx">     configuration-&gt;_imageControlsEnabled = self-&gt;_imageControlsEnabled;
</span><span class="cx"> #endif
</span><del>-#if ENABLE(DATA_DETECTION)
-    configuration-&gt;_dataDetectorTypes = self-&gt;_dataDetectorTypes;
-#endif
</del><span class="cx"> #if ENABLE(WIRELESS_TARGET_PLAYBACK)
</span><span class="cx">     configuration-&gt;_allowsAirPlayForMediaPlayback = self-&gt;_allowsAirPlayForMediaPlayback;
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebKit2WebKit2xcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj (195307 => 195308)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj        2016-01-19 20:55:34 UTC (rev 195307)
+++ trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj        2016-01-19 20:56:21 UTC (rev 195308)
</span><span class="lines">@@ -1689,7 +1689,6 @@
</span><span class="cx">                 C54256B818BEC18C00DE4179 /* WKFormPopover.h in Headers */ = {isa = PBXBuildFile; fileRef = C54256B218BEC18B00DE4179 /* WKFormPopover.h */; };
</span><span class="cx">                 C54256B918BEC18C00DE4179 /* WKFormPopover.mm in Sources */ = {isa = PBXBuildFile; fileRef = C54256B318BEC18B00DE4179 /* WKFormPopover.mm */; };
</span><span class="cx">                 C54256BA18BEC18C00DE4179 /* WKFormSelectControl.h in Headers */ = {isa = PBXBuildFile; fileRef = C54256B418BEC18C00DE4179 /* WKFormSelectControl.h */; };
</span><del>-                C554A3131C49C36400A388FE /* WebPageCocoa.mm in Sources */ = {isa = PBXBuildFile; fileRef = C554A3111C49BCCB00A388FE /* WebPageCocoa.mm */; };
</del><span class="cx">                 C55CB5B718C269CF00CA81E1 /* WKFormSelectPopover.mm in Sources */ = {isa = PBXBuildFile; fileRef = C57193BA18C149D0002D0F12 /* WKFormSelectPopover.mm */; };
</span><span class="cx">                 C55CB5B818C2A5D600CA81E1 /* WKFormSelectPicker.mm in Sources */ = {isa = PBXBuildFile; fileRef = C57193B918C149D0002D0F12 /* WKFormSelectPicker.mm */; };
</span><span class="cx">                 C57193BE18C14A44002D0F12 /* WKFormSelectControl.mm in Sources */ = {isa = PBXBuildFile; fileRef = C57193BD18C14A43002D0F12 /* WKFormSelectControl.mm */; };
</span><span class="lines">@@ -3933,7 +3932,6 @@
</span><span class="cx">                 C54256B218BEC18B00DE4179 /* WKFormPopover.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WKFormPopover.h; path = ios/forms/WKFormPopover.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 C54256B318BEC18B00DE4179 /* WKFormPopover.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = WKFormPopover.mm; path = ios/forms/WKFormPopover.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 C54256B418BEC18C00DE4179 /* WKFormSelectControl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WKFormSelectControl.h; path = ios/forms/WKFormSelectControl.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                C554A3111C49BCCB00A388FE /* WebPageCocoa.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebPageCocoa.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 C554FFA212E4E8EA002F22C0 /* WebDragClientMac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebDragClientMac.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 C57193B918C149D0002D0F12 /* WKFormSelectPicker.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = WKFormSelectPicker.mm; path = ios/forms/WKFormSelectPicker.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 C57193BA18C149D0002D0F12 /* WKFormSelectPopover.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = WKFormSelectPopover.mm; path = ios/forms/WKFormSelectPopover.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -5090,7 +5088,6 @@
</span><span class="cx">                         children = (
</span><span class="cx">                                 2D29ECCE192F2C2E00984B78 /* RemoteLayerTreeDisplayRefreshMonitor.h */,
</span><span class="cx">                                 2D29ECCF192F2C2E00984B78 /* RemoteLayerTreeDisplayRefreshMonitor.mm */,
</span><del>-                                C554A3111C49BCCB00A388FE /* WebPageCocoa.mm */,
</del><span class="cx">                         );
</span><span class="cx">                         path = Cocoa;
</span><span class="cx">                         sourceTree = &quot;&lt;group&gt;&quot;;
</span><span class="lines">@@ -9395,7 +9392,6 @@
</span><span class="cx">                                 2D8786231BDB58FF00D02ABB /* APIUserStyleSheet.cpp in Sources */,
</span><span class="cx">                                 C5E1AFEC16B21012006CC1F2 /* APIWebArchive.mm in Sources */,
</span><span class="cx">                                 C5E1AFEE16B21025006CC1F2 /* APIWebArchiveResource.mm in Sources */,
</span><del>-                                C554A3131C49C36400A388FE /* WebPageCocoa.mm in Sources */,
</del><span class="cx">                                 1A4832C71A9BC13C008B4DFE /* APIWebsiteDataRecord.cpp in Sources */,
</span><span class="cx">                                 1A3635A91A3144A300ED6197 /* APIWebsiteDataStore.cpp in Sources */,
</span><span class="cx">                                 1A3635AD1A3145E500ED6197 /* APIWebsiteDataStoreCocoa.mm in Sources */,
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebPageCocoaWebPageCocoamm"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit2/WebProcess/WebPage/Cocoa/WebPageCocoa.mm (195307 => 195308)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebPage/Cocoa/WebPageCocoa.mm        2016-01-19 20:55:34 UTC (rev 195307)
+++ trunk/Source/WebKit2/WebProcess/WebPage/Cocoa/WebPageCocoa.mm        2016-01-19 20:56:21 UTC (rev 195308)
</span><span class="lines">@@ -1,57 +0,0 @@
</span><del>-/*
- * Copyright (C) 2010, 2011, 2012, 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;config.h&quot;
-#import &quot;WebPage.h&quot;
-
-#import &quot;WKWebViewConfiguration.h&quot;
-
-using namespace WebCore;
-
-namespace WebKit {
-
-#if ENABLE(DATA_DETECTION)
-DataDetectorTypes WebPage::fromWKDataDetectorTypes(uint32_t types)
-{
-    if (static_cast&lt;WKDataDetectorTypes&gt;(types) == WKDataDetectorTypeNone)
-        return DataDetectorTypeNone;
-    if (static_cast&lt;WKDataDetectorTypes&gt;(types) == WKDataDetectorTypeAll)
-        return DataDetectorTypeAll;
-    
-    uint32_t value = DataDetectorTypeNone;
-    if (types &amp; WKDataDetectorTypePhoneNumber)
-        value |= DataDetectorTypePhoneNumber;
-    if (types &amp; WKDataDetectorTypeLink)
-        value |= DataDetectorTypeLink;
-    if (types &amp; WKDataDetectorTypeAddress)
-        value |= DataDetectorTypeAddress;
-    if (types &amp; WKDataDetectorTypeCalendarEvent)
-        value |= DataDetectorTypeCalendarEvent;
-    
-    return static_cast&lt;DataDetectorTypes&gt;(value);
-}
-#endif
-
-} // namespace WebKit
</del></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebPageWebPagecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp (195307 => 195308)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp        2016-01-19 20:55:34 UTC (rev 195307)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp        2016-01-19 20:56:21 UTC (rev 195308)
</span><span class="lines">@@ -219,10 +219,6 @@
</span><span class="cx"> #include &quot;CoordinatedLayerTreeHostMessages.h&quot;
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-#if ENABLE(DATA_DETECTION)
-#include &lt;WebCore/DataDetection.h&gt;
-#endif
-
</del><span class="cx"> #if ENABLE(VIDEO) &amp;&amp; USE(GSTREAMER)
</span><span class="cx"> #include &lt;WebCore/MediaPlayerRequestInstallMissingPluginsCallback.h&gt;
</span><span class="cx"> #endif
</span><span class="lines">@@ -2939,9 +2935,6 @@
</span><span class="cx">     settings.setUseImageDocumentForSubframePDF(true);
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-#if ENABLE(DATA_DETECTION)
-    settings.setDataDetectorTypes(fromWKDataDetectorTypes(store.getUInt32ValueForKey(WebPreferencesKey::dataDetectorTypesKey())));
-#endif
</del><span class="cx"> #if ENABLE(GAMEPAD)
</span><span class="cx">     RuntimeEnabledFeatures::sharedFeatures().setGamepadsEnabled(store.getBoolValueForKey(WebPreferencesKey::gamepadsEnabledKey()));
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebPageWebPageh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebPage.h (195307 => 195308)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebPage/WebPage.h        2016-01-19 20:55:34 UTC (rev 195307)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebPage.h        2016-01-19 20:56:21 UTC (rev 195308)
</span><span class="lines">@@ -91,10 +91,6 @@
</span><span class="cx"> #import &quot;WebPageMessages.h&quot;
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-#if ENABLE(DATA_DETECTION)
-#include &lt;WebCore/DataDetection.h&gt;
-#endif
-
</del><span class="cx"> #if ENABLE(IOS_TOUCH_EVENTS)
</span><span class="cx"> #include &lt;WebKitAdditions/PlatformTouchEventIOS.h&gt;
</span><span class="cx"> #elif ENABLE(TOUCH_EVENTS)
</span><span class="lines">@@ -1066,9 +1062,6 @@
</span><span class="cx">     void drawPDFDocument(CGContextRef, PDFDocument *, const PrintInfo&amp;, const WebCore::IntRect&amp;);
</span><span class="cx">     void drawPagesToPDFFromPDFDocument(CGContextRef, PDFDocument *, const PrintInfo&amp;, uint32_t first, uint32_t count);
</span><span class="cx"> #endif
</span><del>-#if ENABLE(DATA_DETECTION)
-    WebCore::DataDetectorTypes fromWKDataDetectorTypes(uint32_t types);
-#endif
</del><span class="cx"> 
</span><span class="cx">     void setMainFrameIsScrollable(bool);
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>