<!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>[208804] trunk/Source/WebCore</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/208804">208804</a></dd>
<dt>Author</dt> <dd>beidson@apple.com</dd>
<dt>Date</dt> <dd>2016-11-16 12:43:14 -0800 (Wed, 16 Nov 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>Re-indent some old headers.

Rubberstamped by Alex Christensen

No new tests (No behavior change).

(Also #pragma once a few of them)

* loader/DocumentLoader.h:
* loader/FrameLoaderClient.h:
* page/Frame.h:
* page/FrameTree.h:
* page/PageGroup.h:
* platform/Cursor.h:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreloaderDocumentLoaderh">trunk/Source/WebCore/loader/DocumentLoader.h</a></li>
<li><a href="#trunkSourceWebCoreloaderFrameLoaderClienth">trunk/Source/WebCore/loader/FrameLoaderClient.h</a></li>
<li><a href="#trunkSourceWebCorepageFrameh">trunk/Source/WebCore/page/Frame.h</a></li>
<li><a href="#trunkSourceWebCorepageFrameTreeh">trunk/Source/WebCore/page/FrameTree.h</a></li>
<li><a href="#trunkSourceWebCorepagePageGrouph">trunk/Source/WebCore/page/PageGroup.h</a></li>
<li><a href="#trunkSourceWebCoreplatformCursorh">trunk/Source/WebCore/platform/Cursor.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (208803 => 208804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-11-16 20:26:59 UTC (rev 208803)
+++ trunk/Source/WebCore/ChangeLog        2016-11-16 20:43:14 UTC (rev 208804)
</span><span class="lines">@@ -1,3 +1,20 @@
</span><ins>+2016-11-16  Brady Eidson  &lt;beidson@apple.com&gt;
+
+        Re-indent some old headers.
+
+        Rubberstamped by Alex Christensen 
+
+        No new tests (No behavior change).
+
+        (Also #pragma once a few of them)
+
+        * loader/DocumentLoader.h:
+        * loader/FrameLoaderClient.h:
+        * page/Frame.h:
+        * page/FrameTree.h:
+        * page/PageGroup.h:
+        * platform/Cursor.h:
+
</ins><span class="cx"> 2016-11-16  Darin Adler  &lt;darin@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         REGRESSION (r208672): Crash in com.apple.WebCore: WebCore::DatabaseContext::stopDatabases + 34
</span></span></pre></div>
<a id="trunkSourceWebCoreloaderDocumentLoaderh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/loader/DocumentLoader.h (208803 => 208804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/loader/DocumentLoader.h        2016-11-16 20:26:59 UTC (rev 208803)
+++ trunk/Source/WebCore/loader/DocumentLoader.h        2016-11-16 20:43:14 UTC (rev 208804)
</span><span class="lines">@@ -61,422 +61,422 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-    class ApplicationCacheHost;
-    class Archive;
-    class ArchiveResource;
-    class ArchiveResourceCollection;
-    class CachedRawResource;
-    class CachedResourceLoader;
-    class ContentFilter;
-    class FormState;
-    class Frame;
-    class FrameLoader;
-    class Page;
-    class ResourceLoader;
-    class SharedBuffer;
-    class SubresourceLoader;
-    class SubstituteResource;
</del><ins>+class ApplicationCacheHost;
+class Archive;
+class ArchiveResource;
+class ArchiveResourceCollection;
+class CachedRawResource;
+class CachedResourceLoader;
+class ContentFilter;
+class FormState;
+class Frame;
+class FrameLoader;
+class Page;
+class ResourceLoader;
+class SharedBuffer;
+class SubresourceLoader;
+class SubstituteResource;
</ins><span class="cx"> 
</span><del>-    typedef HashMap&lt;unsigned long, RefPtr&lt;ResourceLoader&gt;&gt; ResourceLoaderMap;
-    typedef Vector&lt;ResourceResponse&gt; ResponseVector;
</del><ins>+typedef HashMap&lt;unsigned long, RefPtr&lt;ResourceLoader&gt;&gt; ResourceLoaderMap;
+typedef Vector&lt;ResourceResponse&gt; ResponseVector;
</ins><span class="cx"> 
</span><del>-    class DocumentLoader : public RefCounted&lt;DocumentLoader&gt;, private CachedRawResourceClient {
-        WTF_MAKE_FAST_ALLOCATED;
-        friend class ContentFilter;
-    public:
-        static Ref&lt;DocumentLoader&gt; create(const ResourceRequest&amp; request, const SubstituteData&amp; data)
-        {
-            return adoptRef(*new DocumentLoader(request, data));
-        }
-        WEBCORE_EXPORT virtual ~DocumentLoader();
</del><ins>+class DocumentLoader : public RefCounted&lt;DocumentLoader&gt;, private CachedRawResourceClient {
+    WTF_MAKE_FAST_ALLOCATED;
+    friend class ContentFilter;
+public:
+    static Ref&lt;DocumentLoader&gt; create(const ResourceRequest&amp; request, const SubstituteData&amp; data)
+    {
+        return adoptRef(*new DocumentLoader(request, data));
+    }
+    WEBCORE_EXPORT virtual ~DocumentLoader();
</ins><span class="cx"> 
</span><del>-        void attachToFrame(Frame&amp;);
-        Frame* frame() const { return m_frame; }
</del><ins>+    void attachToFrame(Frame&amp;);
+    Frame* frame() const { return m_frame; }
</ins><span class="cx"> 
</span><del>-        WEBCORE_EXPORT virtual void detachFromFrame();
</del><ins>+    WEBCORE_EXPORT virtual void detachFromFrame();
</ins><span class="cx"> 
</span><del>-        WEBCORE_EXPORT FrameLoader* frameLoader() const;
-        WEBCORE_EXPORT SubresourceLoader* mainResourceLoader() const;
-        WEBCORE_EXPORT RefPtr&lt;SharedBuffer&gt; mainResourceData() const;
-        
-        DocumentWriter&amp; writer() const { return m_writer; }
</del><ins>+    WEBCORE_EXPORT FrameLoader* frameLoader() const;
+    WEBCORE_EXPORT SubresourceLoader* mainResourceLoader() const;
+    WEBCORE_EXPORT RefPtr&lt;SharedBuffer&gt; mainResourceData() const;
+    
+    DocumentWriter&amp; writer() const { return m_writer; }
</ins><span class="cx"> 
</span><del>-        WEBCORE_EXPORT const ResourceRequest&amp; originalRequest() const;
-        WEBCORE_EXPORT const ResourceRequest&amp; originalRequestCopy() const;
</del><ins>+    WEBCORE_EXPORT const ResourceRequest&amp; originalRequest() const;
+    WEBCORE_EXPORT const ResourceRequest&amp; originalRequestCopy() const;
</ins><span class="cx"> 
</span><del>-        WEBCORE_EXPORT const ResourceRequest&amp; request() const;
-        WEBCORE_EXPORT ResourceRequest&amp; request();
</del><ins>+    WEBCORE_EXPORT const ResourceRequest&amp; request() const;
+    WEBCORE_EXPORT ResourceRequest&amp; request();
</ins><span class="cx"> 
</span><del>-        CachedResourceLoader&amp; cachedResourceLoader() { return m_cachedResourceLoader; }
</del><ins>+    CachedResourceLoader&amp; cachedResourceLoader() { return m_cachedResourceLoader; }
</ins><span class="cx"> 
</span><del>-        const SubstituteData&amp; substituteData() const { return m_substituteData; }
</del><ins>+    const SubstituteData&amp; substituteData() const { return m_substituteData; }
</ins><span class="cx"> 
</span><del>-        WEBCORE_EXPORT const URL&amp; url() const;
-        WEBCORE_EXPORT const URL&amp; unreachableURL() const;
</del><ins>+    WEBCORE_EXPORT const URL&amp; url() const;
+    WEBCORE_EXPORT const URL&amp; unreachableURL() const;
</ins><span class="cx"> 
</span><del>-        const URL&amp; originalURL() const;
-        WEBCORE_EXPORT const URL&amp; responseURL() const;
-        WEBCORE_EXPORT const String&amp; responseMIMEType() const;
</del><ins>+    const URL&amp; originalURL() const;
+    WEBCORE_EXPORT const URL&amp; responseURL() const;
+    WEBCORE_EXPORT const String&amp; responseMIMEType() const;
</ins><span class="cx"> #if PLATFORM(IOS)
</span><del>-        // FIXME: This method seems to violate the encapsulation of this class.
-        WEBCORE_EXPORT void setResponseMIMEType(const String&amp;);
</del><ins>+    // FIXME: This method seems to violate the encapsulation of this class.
+    WEBCORE_EXPORT void setResponseMIMEType(const String&amp;);
</ins><span class="cx"> #endif
</span><del>-        const String&amp; currentContentType() const;
-        void replaceRequestURLForSameDocumentNavigation(const URL&amp;);
-        bool isStopping() const { return m_isStopping; }
-        void stopLoading();
-        void setCommitted(bool committed) { m_committed = committed; }
-        bool isCommitted() const { return m_committed; }
-        WEBCORE_EXPORT bool isLoading() const;
</del><ins>+    const String&amp; currentContentType() const;
+    void replaceRequestURLForSameDocumentNavigation(const URL&amp;);
+    bool isStopping() const { return m_isStopping; }
+    void stopLoading();
+    void setCommitted(bool committed) { m_committed = committed; }
+    bool isCommitted() const { return m_committed; }
+    WEBCORE_EXPORT bool isLoading() const;
</ins><span class="cx"> 
</span><del>-        const ResourceError&amp; mainDocumentError() const { return m_mainDocumentError; }
</del><ins>+    const ResourceError&amp; mainDocumentError() const { return m_mainDocumentError; }
</ins><span class="cx"> 
</span><del>-        const ResourceResponse&amp; response() const { return m_response; }
</del><ins>+    const ResourceResponse&amp; response() const { return m_response; }
</ins><span class="cx"> #if PLATFORM(IOS)
</span><del>-        // FIXME: This method seems to violate the encapsulation of this class.
-        void setResponse(const ResourceResponse&amp; response) { m_response = response; }
</del><ins>+    // FIXME: This method seems to violate the encapsulation of this class.
+    void setResponse(const ResourceResponse&amp; response) { m_response = response; }
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-        bool isClientRedirect() const { return m_isClientRedirect; }
-        void setIsClientRedirect(bool isClientRedirect) { m_isClientRedirect = isClientRedirect; }
-        void dispatchOnloadEvents();
-        bool wasOnloadDispatched() { return m_wasOnloadDispatched; }
-        WEBCORE_EXPORT bool isLoadingInAPISense() const;
-        WEBCORE_EXPORT void setTitle(const StringWithDirection&amp;);
-        const String&amp; overrideEncoding() const { return m_overrideEncoding; }
</del><ins>+    bool isClientRedirect() const { return m_isClientRedirect; }
+    void setIsClientRedirect(bool isClientRedirect) { m_isClientRedirect = isClientRedirect; }
+    void dispatchOnloadEvents();
+    bool wasOnloadDispatched() { return m_wasOnloadDispatched; }
+    WEBCORE_EXPORT bool isLoadingInAPISense() const;
+    WEBCORE_EXPORT void setTitle(const StringWithDirection&amp;);
+    const String&amp; overrideEncoding() const { return m_overrideEncoding; }
</ins><span class="cx"> 
</span><span class="cx"> #if PLATFORM(COCOA) &amp;&amp; !USE(CFURLCONNECTION)
</span><del>-        void schedule(SchedulePair&amp;);
-        void unschedule(SchedulePair&amp;);
</del><ins>+    void schedule(SchedulePair&amp;);
+    void unschedule(SchedulePair&amp;);
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(WEB_ARCHIVE) || ENABLE(MHTML)
</span><del>-        void setArchive(PassRefPtr&lt;Archive&gt;);
-        WEBCORE_EXPORT void addAllArchiveResources(Archive*);
-        WEBCORE_EXPORT void addArchiveResource(Ref&lt;ArchiveResource&gt;&amp;&amp;);
-        PassRefPtr&lt;Archive&gt; popArchiveForSubframe(const String&amp; frameName, const URL&amp;);
-        WEBCORE_EXPORT SharedBuffer* parsedArchiveData() const;
</del><ins>+    void setArchive(PassRefPtr&lt;Archive&gt;);
+    WEBCORE_EXPORT void addAllArchiveResources(Archive*);
+    WEBCORE_EXPORT void addArchiveResource(Ref&lt;ArchiveResource&gt;&amp;&amp;);
+    PassRefPtr&lt;Archive&gt; popArchiveForSubframe(const String&amp; frameName, const URL&amp;);
+    WEBCORE_EXPORT SharedBuffer* parsedArchiveData() const;
</ins><span class="cx"> 
</span><del>-        WEBCORE_EXPORT bool scheduleArchiveLoad(ResourceLoader&amp;, const ResourceRequest&amp;);
</del><ins>+    WEBCORE_EXPORT bool scheduleArchiveLoad(ResourceLoader&amp;, const ResourceRequest&amp;);
</ins><span class="cx"> #endif
</span><del>-        void scheduleSubstituteResourceLoad(ResourceLoader&amp;, SubstituteResource&amp;);
</del><ins>+    void scheduleSubstituteResourceLoad(ResourceLoader&amp;, SubstituteResource&amp;);
</ins><span class="cx"> 
</span><del>-        // Return the ArchiveResource for the URL only when loading an Archive
-        WEBCORE_EXPORT ArchiveResource* archiveResourceForURL(const URL&amp;) const;
</del><ins>+    // Return the ArchiveResource for the URL only when loading an Archive
+    WEBCORE_EXPORT ArchiveResource* archiveResourceForURL(const URL&amp;) const;
</ins><span class="cx"> 
</span><del>-        WEBCORE_EXPORT RefPtr&lt;ArchiveResource&gt; mainResource() const;
</del><ins>+    WEBCORE_EXPORT RefPtr&lt;ArchiveResource&gt; mainResource() const;
</ins><span class="cx"> 
</span><del>-        // Return an ArchiveResource for the URL, either creating from live data or
-        // pulling from the ArchiveResourceCollection
-        WEBCORE_EXPORT PassRefPtr&lt;ArchiveResource&gt; subresource(const URL&amp;) const;
-        WEBCORE_EXPORT Vector&lt;RefPtr&lt;ArchiveResource&gt;&gt; subresources() const;
</del><ins>+    // Return an ArchiveResource for the URL, either creating from live data or
+    // pulling from the ArchiveResourceCollection
+    WEBCORE_EXPORT PassRefPtr&lt;ArchiveResource&gt; subresource(const URL&amp;) const;
+    WEBCORE_EXPORT Vector&lt;RefPtr&lt;ArchiveResource&gt;&gt; subresources() const;
</ins><span class="cx"> 
</span><span class="cx"> #ifndef NDEBUG
</span><del>-        bool isSubstituteLoadPending(ResourceLoader*) const;
</del><ins>+    bool isSubstituteLoadPending(ResourceLoader*) const;
</ins><span class="cx"> #endif
</span><del>-        void cancelPendingSubstituteLoad(ResourceLoader*);   
-        
-        void addResponse(const ResourceResponse&amp;);
-        const ResponseVector&amp; responses() const { return m_responses; }
</del><ins>+    void cancelPendingSubstituteLoad(ResourceLoader*);   
+    
+    void addResponse(const ResourceResponse&amp;);
+    const ResponseVector&amp; responses() const { return m_responses; }
</ins><span class="cx"> 
</span><del>-        const NavigationAction&amp; triggeringAction() const { return m_triggeringAction; }
-        void setTriggeringAction(const NavigationAction&amp;);
-        void setOverrideEncoding(const String&amp; encoding) { m_overrideEncoding = encoding; }
-        void setLastCheckedRequest(const ResourceRequest&amp; request) { m_lastCheckedRequest = request; }
-        const ResourceRequest&amp; lastCheckedRequest()  { return m_lastCheckedRequest; }
</del><ins>+    const NavigationAction&amp; triggeringAction() const { return m_triggeringAction; }
+    void setTriggeringAction(const NavigationAction&amp;);
+    void setOverrideEncoding(const String&amp; encoding) { m_overrideEncoding = encoding; }
+    void setLastCheckedRequest(const ResourceRequest&amp; request) { m_lastCheckedRequest = request; }
+    const ResourceRequest&amp; lastCheckedRequest()  { return m_lastCheckedRequest; }
</ins><span class="cx"> 
</span><del>-        void stopRecordingResponses();
-        const StringWithDirection&amp; title() const { return m_pageTitle; }
</del><ins>+    void stopRecordingResponses();
+    const StringWithDirection&amp; title() const { return m_pageTitle; }
</ins><span class="cx"> 
</span><del>-        WEBCORE_EXPORT URL urlForHistory() const;
-        WEBCORE_EXPORT bool urlForHistoryReflectsFailure() const;
</del><ins>+    WEBCORE_EXPORT URL urlForHistory() const;
+    WEBCORE_EXPORT bool urlForHistoryReflectsFailure() const;
</ins><span class="cx"> 
</span><del>-        // These accessors accommodate WebCore's somewhat fickle custom of creating history
-        // items for redirects, but only sometimes. For &quot;source&quot; and &quot;destination&quot;,
-        // these accessors return the URL that would have been used if a history
-        // item were created. This allows WebKit to link history items reflecting
-        // redirects into a chain from start to finish.
-        String clientRedirectSourceForHistory() const { return m_clientRedirectSourceForHistory; } // null if no client redirect occurred.
-        String clientRedirectDestinationForHistory() const { return urlForHistory(); }
-        void setClientRedirectSourceForHistory(const String&amp; clientRedirectSourceForHistory) { m_clientRedirectSourceForHistory = clientRedirectSourceForHistory; }
-        
-        String serverRedirectSourceForHistory() const { return (urlForHistory() == url() || url() == blankURL()) ? String() : urlForHistory().string(); } // null if no server redirect occurred.
-        String serverRedirectDestinationForHistory() const { return url(); }
</del><ins>+    // These accessors accommodate WebCore's somewhat fickle custom of creating history
+    // items for redirects, but only sometimes. For &quot;source&quot; and &quot;destination&quot;,
+    // these accessors return the URL that would have been used if a history
+    // item were created. This allows WebKit to link history items reflecting
+    // redirects into a chain from start to finish.
+    String clientRedirectSourceForHistory() const { return m_clientRedirectSourceForHistory; } // null if no client redirect occurred.
+    String clientRedirectDestinationForHistory() const { return urlForHistory(); }
+    void setClientRedirectSourceForHistory(const String&amp; clientRedirectSourceForHistory) { m_clientRedirectSourceForHistory = clientRedirectSourceForHistory; }
+    
+    String serverRedirectSourceForHistory() const { return (urlForHistory() == url() || url() == blankURL()) ? String() : urlForHistory().string(); } // null if no server redirect occurred.
+    String serverRedirectDestinationForHistory() const { return url(); }
</ins><span class="cx"> 
</span><del>-        bool didCreateGlobalHistoryEntry() const { return m_didCreateGlobalHistoryEntry; }
-        void setDidCreateGlobalHistoryEntry(bool didCreateGlobalHistoryEntry) { m_didCreateGlobalHistoryEntry = didCreateGlobalHistoryEntry; }
</del><ins>+    bool didCreateGlobalHistoryEntry() const { return m_didCreateGlobalHistoryEntry; }
+    void setDidCreateGlobalHistoryEntry(bool didCreateGlobalHistoryEntry) { m_didCreateGlobalHistoryEntry = didCreateGlobalHistoryEntry; }
</ins><span class="cx"> 
</span><del>-        bool subresourceLoadersArePageCacheAcceptable() const { return m_subresourceLoadersArePageCacheAcceptable; }
</del><ins>+    bool subresourceLoadersArePageCacheAcceptable() const { return m_subresourceLoadersArePageCacheAcceptable; }
</ins><span class="cx"> 
</span><del>-        void setDefersLoading(bool);
-        void setMainResourceDataBufferingPolicy(DataBufferingPolicy);
</del><ins>+    void setDefersLoading(bool);
+    void setMainResourceDataBufferingPolicy(DataBufferingPolicy);
</ins><span class="cx"> 
</span><del>-        void startLoadingMainResource();
-        WEBCORE_EXPORT void cancelMainResourceLoad(const ResourceError&amp;);
-        void willContinueMainResourceLoadAfterRedirect(const ResourceRequest&amp;);
</del><ins>+    void startLoadingMainResource();
+    WEBCORE_EXPORT void cancelMainResourceLoad(const ResourceError&amp;);
+    void willContinueMainResourceLoadAfterRedirect(const ResourceRequest&amp;);
</ins><span class="cx"> 
</span><del>-        // Support iconDatabase in synchronous mode.
-        void iconLoadDecisionAvailable();
-        
-        // Support iconDatabase in asynchronous mode.
-        void continueIconLoadWithDecision(IconLoadDecision);
-        void getIconLoadDecisionForIconURL(const String&amp;);
-        void getIconDataForIconURL(const String&amp;);
</del><ins>+    // Support iconDatabase in synchronous mode.
+    void iconLoadDecisionAvailable();
+    
+    // Support iconDatabase in asynchronous mode.
+    void continueIconLoadWithDecision(IconLoadDecision);
+    void getIconLoadDecisionForIconURL(const String&amp;);
+    void getIconDataForIconURL(const String&amp;);
</ins><span class="cx"> 
</span><del>-        bool isLoadingMainResource() const { return m_loadingMainResource; }
-        bool isLoadingMultipartContent() const { return m_isLoadingMultipartContent; }
</del><ins>+    bool isLoadingMainResource() const { return m_loadingMainResource; }
+    bool isLoadingMultipartContent() const { return m_isLoadingMultipartContent; }
</ins><span class="cx"> 
</span><del>-        void stopLoadingPlugIns();
-        void stopLoadingSubresources();
</del><ins>+    void stopLoadingPlugIns();
+    void stopLoadingSubresources();
</ins><span class="cx"> 
</span><del>-        bool userContentExtensionsEnabled() const { return m_userContentExtensionsEnabled; }
-        void setUserContentExtensionsEnabled(bool enabled) { m_userContentExtensionsEnabled = enabled; }
</del><ins>+    bool userContentExtensionsEnabled() const { return m_userContentExtensionsEnabled; }
+    void setUserContentExtensionsEnabled(bool enabled) { m_userContentExtensionsEnabled = enabled; }
</ins><span class="cx"> 
</span><del>-        void addSubresourceLoader(ResourceLoader*);
-        void removeSubresourceLoader(ResourceLoader*);
-        void addPlugInStreamLoader(ResourceLoader&amp;);
-        void removePlugInStreamLoader(ResourceLoader&amp;);
</del><ins>+    void addSubresourceLoader(ResourceLoader*);
+    void removeSubresourceLoader(ResourceLoader*);
+    void addPlugInStreamLoader(ResourceLoader&amp;);
+    void removePlugInStreamLoader(ResourceLoader&amp;);
</ins><span class="cx"> 
</span><del>-        void subresourceLoaderFinishedLoadingOnePart(ResourceLoader*);
</del><ins>+    void subresourceLoaderFinishedLoadingOnePart(ResourceLoader*);
</ins><span class="cx"> 
</span><del>-        void setDeferMainResourceDataLoad(bool defer) { m_deferMainResourceDataLoad = defer; }
-        
-        void didTellClientAboutLoad(const String&amp; url)
-        { 
</del><ins>+    void setDeferMainResourceDataLoad(bool defer) { m_deferMainResourceDataLoad = defer; }
+    
+    void didTellClientAboutLoad(const String&amp; url)
+    { 
</ins><span class="cx"> #if !PLATFORM(COCOA)
</span><del>-            // Don't include data urls here, as if a lot of data is loaded
-            // that way, we hold on to the (large) url string for too long.
-            if (protocolIs(url, &quot;data&quot;))
-                return;
</del><ins>+        // Don't include data urls here, as if a lot of data is loaded
+        // that way, we hold on to the (large) url string for too long.
+        if (protocolIs(url, &quot;data&quot;))
+            return;
</ins><span class="cx"> #endif
</span><del>-            if (!url.isEmpty())
-                m_resourcesClientKnowsAbout.add(url);
-        }
-        bool haveToldClientAboutLoad(const String&amp; url) { return m_resourcesClientKnowsAbout.contains(url); }
-        void recordMemoryCacheLoadForFutureClientNotification(const ResourceRequest&amp;);
-        void takeMemoryCacheLoadsForClientNotification(Vector&lt;ResourceRequest&gt;&amp; loads);
</del><ins>+        if (!url.isEmpty())
+            m_resourcesClientKnowsAbout.add(url);
+    }
+    bool haveToldClientAboutLoad(const String&amp; url) { return m_resourcesClientKnowsAbout.contains(url); }
+    void recordMemoryCacheLoadForFutureClientNotification(const ResourceRequest&amp;);
+    void takeMemoryCacheLoadsForClientNotification(Vector&lt;ResourceRequest&gt;&amp; loads);
</ins><span class="cx"> 
</span><del>-        LoadTiming&amp; timing() { return m_loadTiming; }
-        void resetTiming() { m_loadTiming = LoadTiming(); }
</del><ins>+    LoadTiming&amp; timing() { return m_loadTiming; }
+    void resetTiming() { m_loadTiming = LoadTiming(); }
</ins><span class="cx"> 
</span><del>-        // The WebKit layer calls this function when it's ready for the data to
-        // actually be added to the document.
-        WEBCORE_EXPORT void commitData(const char* bytes, size_t length);
</del><ins>+    // The WebKit layer calls this function when it's ready for the data to
+    // actually be added to the document.
+    WEBCORE_EXPORT void commitData(const char* bytes, size_t length);
</ins><span class="cx"> 
</span><del>-        ApplicationCacheHost* applicationCacheHost() const { return m_applicationCacheHost.get(); }
</del><ins>+    ApplicationCacheHost* applicationCacheHost() const { return m_applicationCacheHost.get(); }
</ins><span class="cx"> 
</span><del>-        void checkLoadComplete();
</del><ins>+    void checkLoadComplete();
</ins><span class="cx"> 
</span><del>-        // The URL of the document resulting from this DocumentLoader.
-        URL documentURL() const;
</del><ins>+    // The URL of the document resulting from this DocumentLoader.
+    URL documentURL() const;
</ins><span class="cx"> 
</span><span class="cx"> #if USE(QUICK_LOOK)
</span><del>-        void setQuickLookHandle(std::unique_ptr&lt;QuickLookHandle&gt; quickLookHandle) { m_quickLookHandle = WTFMove(quickLookHandle); }
-        QuickLookHandle* quickLookHandle() const { return m_quickLookHandle.get(); }
</del><ins>+    void setQuickLookHandle(std::unique_ptr&lt;QuickLookHandle&gt; quickLookHandle) { m_quickLookHandle = WTFMove(quickLookHandle); }
+    QuickLookHandle* quickLookHandle() const { return m_quickLookHandle.get(); }
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(CONTENT_EXTENSIONS)
</span><del>-        void addPendingContentExtensionSheet(const String&amp; identifier, StyleSheetContents&amp;);
-        void addPendingContentExtensionDisplayNoneSelector(const String&amp; identifier, const String&amp; selector, uint32_t selectorID);
</del><ins>+    void addPendingContentExtensionSheet(const String&amp; identifier, StyleSheetContents&amp;);
+    void addPendingContentExtensionDisplayNoneSelector(const String&amp; identifier, const String&amp; selector, uint32_t selectorID);
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-        void setShouldOpenExternalURLsPolicy(ShouldOpenExternalURLsPolicy shouldOpenExternalURLsPolicy) { m_shouldOpenExternalURLsPolicy = shouldOpenExternalURLsPolicy; }
-        ShouldOpenExternalURLsPolicy shouldOpenExternalURLsPolicyToPropagate() const;
</del><ins>+    void setShouldOpenExternalURLsPolicy(ShouldOpenExternalURLsPolicy shouldOpenExternalURLsPolicy) { m_shouldOpenExternalURLsPolicy = shouldOpenExternalURLsPolicy; }
+    ShouldOpenExternalURLsPolicy shouldOpenExternalURLsPolicyToPropagate() const;
</ins><span class="cx"> 
</span><span class="cx"> #if ENABLE(CONTENT_FILTERING)
</span><del>-        ContentFilter* contentFilter() const;
</del><ins>+    ContentFilter* contentFilter() const;
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-        bool isAlwaysOnLoggingAllowed() const;
</del><ins>+    bool isAlwaysOnLoggingAllowed() const;
</ins><span class="cx"> 
</span><del>-    protected:
-        WEBCORE_EXPORT DocumentLoader(const ResourceRequest&amp;, const SubstituteData&amp;);
</del><ins>+protected:
+    WEBCORE_EXPORT DocumentLoader(const ResourceRequest&amp;, const SubstituteData&amp;);
</ins><span class="cx"> 
</span><del>-        WEBCORE_EXPORT virtual void attachToFrame();
</del><ins>+    WEBCORE_EXPORT virtual void attachToFrame();
</ins><span class="cx"> 
</span><del>-        bool m_deferMainResourceDataLoad;
</del><ins>+    bool m_deferMainResourceDataLoad;
</ins><span class="cx"> 
</span><del>-    private:
-        Document* document() const;
</del><ins>+private:
+    Document* document() const;
</ins><span class="cx"> 
</span><del>-        void setRequest(const ResourceRequest&amp;);
</del><ins>+    void setRequest(const ResourceRequest&amp;);
</ins><span class="cx"> 
</span><del>-        void commitIfReady();
-        void setMainDocumentError(const ResourceError&amp;);
-        void commitLoad(const char*, int);
-        void clearMainResourceLoader();
</del><ins>+    void commitIfReady();
+    void setMainDocumentError(const ResourceError&amp;);
+    void commitLoad(const char*, int);
+    void clearMainResourceLoader();
</ins><span class="cx"> 
</span><del>-        void setupForReplace();
-        void maybeFinishLoadingMultipartContent();
-        
-        bool maybeCreateArchive();
</del><ins>+    void setupForReplace();
+    void maybeFinishLoadingMultipartContent();
+    
+    bool maybeCreateArchive();
</ins><span class="cx"> #if ENABLE(WEB_ARCHIVE) || ENABLE(MHTML)
</span><del>-        void clearArchiveResources();
</del><ins>+    void clearArchiveResources();
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-        void willSendRequest(ResourceRequest&amp;, const ResourceResponse&amp;);
-        void finishedLoading(double finishTime);
-        void mainReceivedError(const ResourceError&amp;);
-        WEBCORE_EXPORT void redirectReceived(CachedResource&amp;, ResourceRequest&amp;, const ResourceResponse&amp;) override;
-        WEBCORE_EXPORT void responseReceived(CachedResource&amp;, const ResourceResponse&amp;) override;
-        WEBCORE_EXPORT void dataReceived(CachedResource&amp;, const char* data, int length) override;
-        WEBCORE_EXPORT void notifyFinished(CachedResource&amp;) override;
</del><ins>+    void willSendRequest(ResourceRequest&amp;, const ResourceResponse&amp;);
+    void finishedLoading(double finishTime);
+    void mainReceivedError(const ResourceError&amp;);
+    WEBCORE_EXPORT void redirectReceived(CachedResource&amp;, ResourceRequest&amp;, const ResourceResponse&amp;) override;
+    WEBCORE_EXPORT void responseReceived(CachedResource&amp;, const ResourceResponse&amp;) override;
+    WEBCORE_EXPORT void dataReceived(CachedResource&amp;, const char* data, int length) override;
+    WEBCORE_EXPORT void notifyFinished(CachedResource&amp;) override;
</ins><span class="cx"> 
</span><del>-        void responseReceived(const ResourceResponse&amp;);
-        void dataReceived(const char* data, int length);
</del><ins>+    void responseReceived(const ResourceResponse&amp;);
+    void dataReceived(const char* data, int length);
</ins><span class="cx"> 
</span><del>-        bool maybeLoadEmpty();
</del><ins>+    bool maybeLoadEmpty();
</ins><span class="cx"> 
</span><del>-        bool isMultipartReplacingLoad() const;
-        bool isPostOrRedirectAfterPost(const ResourceRequest&amp;, const ResourceResponse&amp;);
</del><ins>+    bool isMultipartReplacingLoad() const;
+    bool isPostOrRedirectAfterPost(const ResourceRequest&amp;, const ResourceResponse&amp;);
</ins><span class="cx"> 
</span><del>-        void continueAfterNavigationPolicy(const ResourceRequest&amp;, bool shouldContinue);
-        void continueAfterContentPolicy(PolicyAction);
</del><ins>+    void continueAfterNavigationPolicy(const ResourceRequest&amp;, bool shouldContinue);
+    void continueAfterContentPolicy(PolicyAction);
</ins><span class="cx"> 
</span><del>-        void stopLoadingForPolicyChange();
-        ResourceError interruptedForPolicyChangeError() const;
</del><ins>+    void stopLoadingForPolicyChange();
+    ResourceError interruptedForPolicyChangeError() const;
</ins><span class="cx"> 
</span><del>-        void stopLoadingAfterXFrameOptionsOrContentSecurityPolicyDenied(unsigned long identifier, const ResourceResponse&amp;);
</del><ins>+    void stopLoadingAfterXFrameOptionsOrContentSecurityPolicyDenied(unsigned long identifier, const ResourceResponse&amp;);
</ins><span class="cx"> 
</span><span class="cx"> #if HAVE(RUNLOOP_TIMER)
</span><del>-        typedef RunLoopTimer&lt;DocumentLoader&gt; DocumentLoaderTimer;
</del><ins>+    typedef RunLoopTimer&lt;DocumentLoader&gt; DocumentLoaderTimer;
</ins><span class="cx"> #else
</span><del>-        typedef Timer DocumentLoaderTimer;
</del><ins>+    typedef Timer DocumentLoaderTimer;
</ins><span class="cx"> #endif
</span><del>-        void handleSubstituteDataLoadSoon();
-        void handleSubstituteDataLoadNow();
-        void startDataLoadTimer();
</del><ins>+    void handleSubstituteDataLoadSoon();
+    void handleSubstituteDataLoadNow();
+    void startDataLoadTimer();
</ins><span class="cx"> 
</span><del>-        void deliverSubstituteResourcesAfterDelay();
-        void substituteResourceDeliveryTimerFired();
</del><ins>+    void deliverSubstituteResourcesAfterDelay();
+    void substituteResourceDeliveryTimerFired();
</ins><span class="cx"> 
</span><del>-        void clearMainResource();
</del><ins>+    void clearMainResource();
</ins><span class="cx"> 
</span><del>-        void cancelPolicyCheckIfNeeded();
-        void becomeMainResourceClient();
</del><ins>+    void cancelPolicyCheckIfNeeded();
+    void becomeMainResourceClient();
</ins><span class="cx"> 
</span><del>-        Frame* m_frame;
-        Ref&lt;CachedResourceLoader&gt; m_cachedResourceLoader;
</del><ins>+    Frame* m_frame;
+    Ref&lt;CachedResourceLoader&gt; m_cachedResourceLoader;
</ins><span class="cx"> 
</span><del>-        CachedResourceHandle&lt;CachedRawResource&gt; m_mainResource;
-        ResourceLoaderMap m_subresourceLoaders;
-        ResourceLoaderMap m_multipartSubresourceLoaders;
-        ResourceLoaderMap m_plugInStreamLoaders;
-        
-        mutable DocumentWriter m_writer;
</del><ins>+    CachedResourceHandle&lt;CachedRawResource&gt; m_mainResource;
+    ResourceLoaderMap m_subresourceLoaders;
+    ResourceLoaderMap m_multipartSubresourceLoaders;
+    ResourceLoaderMap m_plugInStreamLoaders;
+    
+    mutable DocumentWriter m_writer;
</ins><span class="cx"> 
</span><del>-        // A reference to actual request used to create the data source.
-        // This should only be used by the resourceLoadDelegate's
-        // identifierForInitialRequest:fromDatasource: method. It is
-        // not guaranteed to remain unchanged, as requests are mutable.
-        ResourceRequest m_originalRequest;   
</del><ins>+    // A reference to actual request used to create the data source.
+    // This should only be used by the resourceLoadDelegate's
+    // identifierForInitialRequest:fromDatasource: method. It is
+    // not guaranteed to remain unchanged, as requests are mutable.
+    ResourceRequest m_originalRequest;   
</ins><span class="cx"> 
</span><del>-        SubstituteData m_substituteData;
</del><ins>+    SubstituteData m_substituteData;
</ins><span class="cx"> 
</span><del>-        // A copy of the original request used to create the data source.
-        // We have to copy the request because requests are mutable.
-        ResourceRequest m_originalRequestCopy;
-        
-        // The 'working' request. It may be mutated
-        // several times from the original request to include additional
-        // headers, cookie information, canonicalization and redirects.
-        ResourceRequest m_request;
-
-        ResourceResponse m_response;
</del><ins>+    // A copy of the original request used to create the data source.
+    // We have to copy the request because requests are mutable.
+    ResourceRequest m_originalRequestCopy;
</ins><span class="cx">     
</span><del>-        ResourceError m_mainDocumentError;    
</del><ins>+    // The 'working' request. It may be mutated
+    // several times from the original request to include additional
+    // headers, cookie information, canonicalization and redirects.
+    ResourceRequest m_request;
</ins><span class="cx"> 
</span><del>-        bool m_originalSubstituteDataWasValid;
-        bool m_committed;
-        bool m_isStopping;
-        bool m_gotFirstByte;
-        bool m_isClientRedirect;
-        bool m_isLoadingMultipartContent;
</del><ins>+    ResourceResponse m_response;
</ins><span class="cx"> 
</span><del>-        // FIXME: Document::m_processingLoadEvent and DocumentLoader::m_wasOnloadDispatched are roughly the same
-        // and should be merged.
-        bool m_wasOnloadDispatched;
</del><ins>+    ResourceError m_mainDocumentError;    
</ins><span class="cx"> 
</span><del>-        StringWithDirection m_pageTitle;
</del><ins>+    bool m_originalSubstituteDataWasValid;
+    bool m_committed;
+    bool m_isStopping;
+    bool m_gotFirstByte;
+    bool m_isClientRedirect;
+    bool m_isLoadingMultipartContent;
</ins><span class="cx"> 
</span><del>-        String m_overrideEncoding;
</del><ins>+    // FIXME: Document::m_processingLoadEvent and DocumentLoader::m_wasOnloadDispatched are roughly the same
+    // and should be merged.
+    bool m_wasOnloadDispatched;
</ins><span class="cx"> 
</span><del>-        // The action that triggered loading - we keep this around for the
-        // benefit of the various policy handlers.
-        NavigationAction m_triggeringAction;
</del><ins>+    StringWithDirection m_pageTitle;
</ins><span class="cx"> 
</span><del>-        // The last request that we checked click policy for - kept around
-        // so we can avoid asking again needlessly.
-        ResourceRequest m_lastCheckedRequest;
</del><ins>+    String m_overrideEncoding;
</ins><span class="cx"> 
</span><del>-        // We retain all the received responses so we can play back the
-        // WebResourceLoadDelegate messages if the item is loaded from the
-        // page cache.
-        ResponseVector m_responses;
-        bool m_stopRecordingResponses;
-        
-        typedef HashMap&lt;RefPtr&lt;ResourceLoader&gt;, RefPtr&lt;SubstituteResource&gt;&gt; SubstituteResourceMap;
-        SubstituteResourceMap m_pendingSubstituteResources;
-        Timer m_substituteResourceDeliveryTimer;
</del><ins>+    // The action that triggered loading - we keep this around for the
+    // benefit of the various policy handlers.
+    NavigationAction m_triggeringAction;
</ins><span class="cx"> 
</span><del>-        std::unique_ptr&lt;ArchiveResourceCollection&gt; m_archiveResourceCollection;
</del><ins>+    // The last request that we checked click policy for - kept around
+    // so we can avoid asking again needlessly.
+    ResourceRequest m_lastCheckedRequest;
+
+    // We retain all the received responses so we can play back the
+    // WebResourceLoadDelegate messages if the item is loaded from the
+    // page cache.
+    ResponseVector m_responses;
+    bool m_stopRecordingResponses;
+    
+    typedef HashMap&lt;RefPtr&lt;ResourceLoader&gt;, RefPtr&lt;SubstituteResource&gt;&gt; SubstituteResourceMap;
+    SubstituteResourceMap m_pendingSubstituteResources;
+    Timer m_substituteResourceDeliveryTimer;
+
+    std::unique_ptr&lt;ArchiveResourceCollection&gt; m_archiveResourceCollection;
</ins><span class="cx"> #if ENABLE(WEB_ARCHIVE) || ENABLE(MHTML)
</span><del>-        RefPtr&lt;Archive&gt; m_archive;
-        RefPtr&lt;SharedBuffer&gt; m_parsedArchiveData;
</del><ins>+    RefPtr&lt;Archive&gt; m_archive;
+    RefPtr&lt;SharedBuffer&gt; m_parsedArchiveData;
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-        HashSet&lt;String&gt; m_resourcesClientKnowsAbout;
-        Vector&lt;ResourceRequest&gt; m_resourcesLoadedFromMemoryCacheForClientNotification;
-        
-        String m_clientRedirectSourceForHistory;
-        bool m_didCreateGlobalHistoryEntry;
</del><ins>+    HashSet&lt;String&gt; m_resourcesClientKnowsAbout;
+    Vector&lt;ResourceRequest&gt; m_resourcesLoadedFromMemoryCacheForClientNotification;
+    
+    String m_clientRedirectSourceForHistory;
+    bool m_didCreateGlobalHistoryEntry;
</ins><span class="cx"> 
</span><del>-        bool m_loadingMainResource;
-        LoadTiming m_loadTiming;
</del><ins>+    bool m_loadingMainResource;
+    LoadTiming m_loadTiming;
</ins><span class="cx"> 
</span><del>-        double m_timeOfLastDataReceived;
-        unsigned long m_identifierForLoadWithoutResourceLoader;
</del><ins>+    double m_timeOfLastDataReceived;
+    unsigned long m_identifierForLoadWithoutResourceLoader;
</ins><span class="cx"> 
</span><del>-        DocumentLoaderTimer m_dataLoadTimer;
-        bool m_waitingForContentPolicy { false };
-        bool m_waitingForNavigationPolicy { false };
</del><ins>+    DocumentLoaderTimer m_dataLoadTimer;
+    bool m_waitingForContentPolicy { false };
+    bool m_waitingForNavigationPolicy { false };
</ins><span class="cx"> 
</span><del>-        RefPtr&lt;IconLoadDecisionCallback&gt; m_iconLoadDecisionCallback;
-        RefPtr&lt;IconDataCallback&gt; m_iconDataCallback;
</del><ins>+    RefPtr&lt;IconLoadDecisionCallback&gt; m_iconLoadDecisionCallback;
+    RefPtr&lt;IconDataCallback&gt; m_iconDataCallback;
</ins><span class="cx"> 
</span><del>-        bool m_subresourceLoadersArePageCacheAcceptable;
-        ShouldOpenExternalURLsPolicy m_shouldOpenExternalURLsPolicy { ShouldOpenExternalURLsPolicy::ShouldNotAllow };
</del><ins>+    bool m_subresourceLoadersArePageCacheAcceptable;
+    ShouldOpenExternalURLsPolicy m_shouldOpenExternalURLsPolicy { ShouldOpenExternalURLsPolicy::ShouldNotAllow };
</ins><span class="cx"> 
</span><del>-        std::unique_ptr&lt;ApplicationCacheHost&gt; m_applicationCacheHost;
</del><ins>+    std::unique_ptr&lt;ApplicationCacheHost&gt; m_applicationCacheHost;
</ins><span class="cx"> 
</span><span class="cx"> #if ENABLE(CONTENT_FILTERING)
</span><del>-        std::unique_ptr&lt;ContentFilter&gt; m_contentFilter;
</del><ins>+    std::unique_ptr&lt;ContentFilter&gt; m_contentFilter;
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if USE(QUICK_LOOK)
</span><del>-        std::unique_ptr&lt;QuickLookHandle&gt; m_quickLookHandle;
</del><ins>+    std::unique_ptr&lt;QuickLookHandle&gt; m_quickLookHandle;
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(CONTENT_EXTENSIONS)
</span><del>-        HashMap&lt;String, RefPtr&lt;StyleSheetContents&gt;&gt; m_pendingNamedContentExtensionStyleSheets;
-        HashMap&lt;String, Vector&lt;std::pair&lt;String, uint32_t&gt;&gt;&gt; m_pendingContentExtensionDisplayNoneSelectors;
</del><ins>+    HashMap&lt;String, RefPtr&lt;StyleSheetContents&gt;&gt; m_pendingNamedContentExtensionStyleSheets;
+    HashMap&lt;String, Vector&lt;std::pair&lt;String, uint32_t&gt;&gt;&gt; m_pendingContentExtensionDisplayNoneSelectors;
</ins><span class="cx"> #endif
</span><del>-        bool m_userContentExtensionsEnabled { true };
</del><ins>+    bool m_userContentExtensionsEnabled { true };
</ins><span class="cx"> 
</span><span class="cx"> #ifndef NDEBUG
</span><del>-        bool m_hasEverBeenAttached { false };
</del><ins>+    bool m_hasEverBeenAttached { false };
</ins><span class="cx"> #endif
</span><del>-    };
</del><ins>+};
</ins><span class="cx"> 
</span><del>-    inline void DocumentLoader::recordMemoryCacheLoadForFutureClientNotification(const ResourceRequest&amp; request)
-    {
-        m_resourcesLoadedFromMemoryCacheForClientNotification.append(request);
-    }
</del><ins>+inline void DocumentLoader::recordMemoryCacheLoadForFutureClientNotification(const ResourceRequest&amp; request)
+{
+    m_resourcesLoadedFromMemoryCacheForClientNotification.append(request);
+}
</ins><span class="cx"> 
</span><del>-    inline void DocumentLoader::takeMemoryCacheLoadsForClientNotification(Vector&lt;ResourceRequest&gt;&amp; loadsSet)
-    {
-        loadsSet.swap(m_resourcesLoadedFromMemoryCacheForClientNotification);
-        m_resourcesLoadedFromMemoryCacheForClientNotification.clear();
-    }
</del><ins>+inline void DocumentLoader::takeMemoryCacheLoadsForClientNotification(Vector&lt;ResourceRequest&gt;&amp; loadsSet)
+{
+    loadsSet.swap(m_resourcesLoadedFromMemoryCacheForClientNotification);
+    m_resourcesLoadedFromMemoryCacheForClientNotification.clear();
+}
</ins><span class="cx"> 
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoreloaderFrameLoaderClienth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/loader/FrameLoaderClient.h (208803 => 208804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/loader/FrameLoaderClient.h        2016-11-16 20:26:59 UTC (rev 208803)
+++ trunk/Source/WebCore/loader/FrameLoaderClient.h        2016-11-16 20:43:14 UTC (rev 208804)
</span><span class="lines">@@ -59,301 +59,301 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-    class AuthenticationChallenge;
-    class CachedFrame;
-    class CachedResourceRequest;
-    class Color;
-    class DOMWindowExtension;
-    class DOMWrapperWorld;
-    class DocumentLoader;
-    class Element;
-    class FormState;
-    class Frame;
-    class FrameLoader;
-    class FrameNetworkingContext;
-    class HistoryItem;
-    class HTMLAppletElement;
-    class HTMLFormElement;
-    class HTMLFrameOwnerElement;
-    class HTMLPlugInElement;
-    class IntSize;
-    class URL;
-    class MessageEvent;
-    class NavigationAction;
-    class Page;
-    class ProtectionSpace;
-    class PluginViewBase;
-    class PolicyChecker;
-    class ResourceError;
-    class ResourceHandle;
-    class ResourceRequest;
-    class ResourceResponse;
</del><ins>+class AuthenticationChallenge;
+class CachedFrame;
+class CachedResourceRequest;
+class Color;
+class DOMWindowExtension;
+class DOMWrapperWorld;
+class DocumentLoader;
+class Element;
+class FormState;
+class Frame;
+class FrameLoader;
+class FrameNetworkingContext;
+class HistoryItem;
+class HTMLAppletElement;
+class HTMLFormElement;
+class HTMLFrameOwnerElement;
+class HTMLPlugInElement;
+class IntSize;
+class URL;
+class MessageEvent;
+class NavigationAction;
+class Page;
+class ProtectionSpace;
+class PluginViewBase;
+class PolicyChecker;
+class ResourceError;
+class ResourceHandle;
+class ResourceRequest;
+class ResourceResponse;
</ins><span class="cx"> #if ENABLE(WEB_RTC)
</span><del>-    class RTCPeerConnectionHandler;
</del><ins>+class RTCPeerConnectionHandler;
</ins><span class="cx"> #endif
</span><del>-    class SecurityOrigin;
-    class SessionID;
-    class SharedBuffer;
-    class StringWithDirection;
-    class SubstituteData;
-    class Widget;
</del><ins>+class SecurityOrigin;
+class SessionID;
+class SharedBuffer;
+class StringWithDirection;
+class SubstituteData;
+class Widget;
</ins><span class="cx"> 
</span><span class="cx"> #if USE(QUICK_LOOK)
</span><del>-    class QuickLookHandle;
</del><ins>+class QuickLookHandle;
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-    typedef std::function&lt;void (PolicyAction)&gt; FramePolicyFunction;
</del><ins>+typedef std::function&lt;void (PolicyAction)&gt; FramePolicyFunction;
</ins><span class="cx"> 
</span><del>-    class WEBCORE_EXPORT FrameLoaderClient {
-    public:
-        // An inline function cannot be the first non-abstract virtual function declared
-        // in the class as it results in the vtable being generated as a weak symbol.
-        // This hurts performance (in Mac OS X at least, when loadig frameworks), so we
-        // don't want to do it in WebKit.
-        virtual bool hasHTMLView() const;
</del><ins>+class WEBCORE_EXPORT FrameLoaderClient {
+public:
+    // An inline function cannot be the first non-abstract virtual function declared
+    // in the class as it results in the vtable being generated as a weak symbol.
+    // This hurts performance (in Mac OS X at least, when loadig frameworks), so we
+    // don't want to do it in WebKit.
+    virtual bool hasHTMLView() const;
</ins><span class="cx"> 
</span><del>-        virtual ~FrameLoaderClient() { }
</del><ins>+    virtual ~FrameLoaderClient() { }
</ins><span class="cx"> 
</span><del>-        virtual void frameLoaderDestroyed() = 0;
</del><ins>+    virtual void frameLoaderDestroyed() = 0;
</ins><span class="cx"> 
</span><del>-        virtual bool hasWebView() const = 0; // mainly for assertions
</del><ins>+    virtual bool hasWebView() const = 0; // mainly for assertions
</ins><span class="cx"> 
</span><del>-        virtual void makeRepresentation(DocumentLoader*) = 0;
-        
</del><ins>+    virtual void makeRepresentation(DocumentLoader*) = 0;
+    
</ins><span class="cx"> #if PLATFORM(IOS)
</span><del>-        // Returns true if the client forced the layout.
-        virtual bool forceLayoutOnRestoreFromPageCache() = 0;
</del><ins>+    // Returns true if the client forced the layout.
+    virtual bool forceLayoutOnRestoreFromPageCache() = 0;
</ins><span class="cx"> #endif
</span><del>-        virtual void forceLayoutForNonHTML() = 0;
</del><ins>+    virtual void forceLayoutForNonHTML() = 0;
</ins><span class="cx"> 
</span><del>-        virtual void setCopiesOnScroll() = 0;
</del><ins>+    virtual void setCopiesOnScroll() = 0;
</ins><span class="cx"> 
</span><del>-        virtual void detachedFromParent2() = 0;
-        virtual void detachedFromParent3() = 0;
</del><ins>+    virtual void detachedFromParent2() = 0;
+    virtual void detachedFromParent3() = 0;
</ins><span class="cx"> 
</span><del>-        virtual void assignIdentifierToInitialRequest(unsigned long identifier, DocumentLoader*, const ResourceRequest&amp;) = 0;
</del><ins>+    virtual void assignIdentifierToInitialRequest(unsigned long identifier, DocumentLoader*, const ResourceRequest&amp;) = 0;
</ins><span class="cx"> 
</span><del>-        virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long identifier, ResourceRequest&amp;, const ResourceResponse&amp; redirectResponse) = 0;
-        virtual bool shouldUseCredentialStorage(DocumentLoader*, unsigned long identifier) = 0;
-        virtual void dispatchDidReceiveAuthenticationChallenge(DocumentLoader*, unsigned long identifier, const AuthenticationChallenge&amp;) = 0;
</del><ins>+    virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long identifier, ResourceRequest&amp;, const ResourceResponse&amp; redirectResponse) = 0;
+    virtual bool shouldUseCredentialStorage(DocumentLoader*, unsigned long identifier) = 0;
+    virtual void dispatchDidReceiveAuthenticationChallenge(DocumentLoader*, unsigned long identifier, const AuthenticationChallenge&amp;) = 0;
</ins><span class="cx"> #if USE(PROTECTION_SPACE_AUTH_CALLBACK)
</span><del>-        virtual bool canAuthenticateAgainstProtectionSpace(DocumentLoader*, unsigned long identifier, const ProtectionSpace&amp;) = 0;
</del><ins>+    virtual bool canAuthenticateAgainstProtectionSpace(DocumentLoader*, unsigned long identifier, const ProtectionSpace&amp;) = 0;
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if PLATFORM(IOS)
</span><del>-        virtual RetainPtr&lt;CFDictionaryRef&gt; connectionProperties(DocumentLoader*, unsigned long identifier) = 0;
</del><ins>+    virtual RetainPtr&lt;CFDictionaryRef&gt; connectionProperties(DocumentLoader*, unsigned long identifier) = 0;
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-        virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long identifier, const ResourceResponse&amp;) = 0;
-        virtual void dispatchDidReceiveContentLength(DocumentLoader*, unsigned long identifier, int dataLength) = 0;
-        virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long identifier) = 0;
-        virtual void dispatchDidFailLoading(DocumentLoader*, unsigned long identifier, const ResourceError&amp;) = 0;
-        virtual bool dispatchDidLoadResourceFromMemoryCache(DocumentLoader*, const ResourceRequest&amp;, const ResourceResponse&amp;, int length) = 0;
</del><ins>+    virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long identifier, const ResourceResponse&amp;) = 0;
+    virtual void dispatchDidReceiveContentLength(DocumentLoader*, unsigned long identifier, int dataLength) = 0;
+    virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long identifier) = 0;
+    virtual void dispatchDidFailLoading(DocumentLoader*, unsigned long identifier, const ResourceError&amp;) = 0;
+    virtual bool dispatchDidLoadResourceFromMemoryCache(DocumentLoader*, const ResourceRequest&amp;, const ResourceResponse&amp;, int length) = 0;
</ins><span class="cx"> 
</span><del>-        virtual void dispatchDidDispatchOnloadEvents() = 0;
-        virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() = 0;
-        virtual void dispatchDidChangeProvisionalURL() { }
-        virtual void dispatchDidCancelClientRedirect() = 0;
-        virtual void dispatchWillPerformClientRedirect(const URL&amp;, double interval, double fireDate) = 0;
-        virtual void dispatchDidNavigateWithinPage() { }
-        virtual void dispatchDidChangeLocationWithinPage() = 0;
-        virtual void dispatchDidPushStateWithinPage() = 0;
-        virtual void dispatchDidReplaceStateWithinPage() = 0;
-        virtual void dispatchDidPopStateWithinPage() = 0;
-        virtual void dispatchWillClose() = 0;
-        virtual void dispatchDidReceiveIcon() = 0;
-        virtual void dispatchDidStartProvisionalLoad() = 0;
-        virtual void dispatchDidReceiveTitle(const StringWithDirection&amp;) = 0;
-        virtual void dispatchDidCommitLoad(Optional&lt;HasInsecureContent&gt;) = 0;
-        virtual void dispatchDidFailProvisionalLoad(const ResourceError&amp;) = 0;
-        virtual void dispatchDidFailLoad(const ResourceError&amp;) = 0;
-        virtual void dispatchDidFinishDocumentLoad() = 0;
-        virtual void dispatchDidFinishLoad() = 0;
</del><ins>+    virtual void dispatchDidDispatchOnloadEvents() = 0;
+    virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() = 0;
+    virtual void dispatchDidChangeProvisionalURL() { }
+    virtual void dispatchDidCancelClientRedirect() = 0;
+    virtual void dispatchWillPerformClientRedirect(const URL&amp;, double interval, double fireDate) = 0;
+    virtual void dispatchDidNavigateWithinPage() { }
+    virtual void dispatchDidChangeLocationWithinPage() = 0;
+    virtual void dispatchDidPushStateWithinPage() = 0;
+    virtual void dispatchDidReplaceStateWithinPage() = 0;
+    virtual void dispatchDidPopStateWithinPage() = 0;
+    virtual void dispatchWillClose() = 0;
+    virtual void dispatchDidReceiveIcon() = 0;
+    virtual void dispatchDidStartProvisionalLoad() = 0;
+    virtual void dispatchDidReceiveTitle(const StringWithDirection&amp;) = 0;
+    virtual void dispatchDidCommitLoad(Optional&lt;HasInsecureContent&gt;) = 0;
+    virtual void dispatchDidFailProvisionalLoad(const ResourceError&amp;) = 0;
+    virtual void dispatchDidFailLoad(const ResourceError&amp;) = 0;
+    virtual void dispatchDidFinishDocumentLoad() = 0;
+    virtual void dispatchDidFinishLoad() = 0;
</ins><span class="cx"> #if ENABLE(DATA_DETECTION)
</span><del>-        virtual void dispatchDidFinishDataDetection(NSArray *detectionResults) = 0;
</del><ins>+    virtual void dispatchDidFinishDataDetection(NSArray *detectionResults) = 0;
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-        virtual void dispatchDidLayout() { }
-        virtual void dispatchDidReachLayoutMilestone(LayoutMilestones) { }
</del><ins>+    virtual void dispatchDidLayout() { }
+    virtual void dispatchDidReachLayoutMilestone(LayoutMilestones) { }
</ins><span class="cx"> 
</span><del>-        virtual Frame* dispatchCreatePage(const NavigationAction&amp;) = 0;
-        virtual void dispatchShow() = 0;
</del><ins>+    virtual Frame* dispatchCreatePage(const NavigationAction&amp;) = 0;
+    virtual void dispatchShow() = 0;
</ins><span class="cx"> 
</span><del>-        virtual void dispatchDecidePolicyForResponse(const ResourceResponse&amp;, const ResourceRequest&amp;, FramePolicyFunction) = 0;
-        virtual void dispatchDecidePolicyForNewWindowAction(const NavigationAction&amp;, const ResourceRequest&amp;, PassRefPtr&lt;FormState&gt;, const String&amp; frameName, FramePolicyFunction) = 0;
-        virtual void dispatchDecidePolicyForNavigationAction(const NavigationAction&amp;, const ResourceRequest&amp;, PassRefPtr&lt;FormState&gt;, FramePolicyFunction) = 0;
-        virtual void cancelPolicyCheck() = 0;
</del><ins>+    virtual void dispatchDecidePolicyForResponse(const ResourceResponse&amp;, const ResourceRequest&amp;, FramePolicyFunction) = 0;
+    virtual void dispatchDecidePolicyForNewWindowAction(const NavigationAction&amp;, const ResourceRequest&amp;, PassRefPtr&lt;FormState&gt;, const String&amp; frameName, FramePolicyFunction) = 0;
+    virtual void dispatchDecidePolicyForNavigationAction(const NavigationAction&amp;, const ResourceRequest&amp;, PassRefPtr&lt;FormState&gt;, FramePolicyFunction) = 0;
+    virtual void cancelPolicyCheck() = 0;
</ins><span class="cx"> 
</span><del>-        virtual void dispatchUnableToImplementPolicy(const ResourceError&amp;) = 0;
</del><ins>+    virtual void dispatchUnableToImplementPolicy(const ResourceError&amp;) = 0;
</ins><span class="cx"> 
</span><del>-        virtual void dispatchWillSendSubmitEvent(PassRefPtr&lt;FormState&gt;) = 0;
-        virtual void dispatchWillSubmitForm(PassRefPtr&lt;FormState&gt;, FramePolicyFunction) = 0;
</del><ins>+    virtual void dispatchWillSendSubmitEvent(PassRefPtr&lt;FormState&gt;) = 0;
+    virtual void dispatchWillSubmitForm(PassRefPtr&lt;FormState&gt;, FramePolicyFunction) = 0;
</ins><span class="cx"> 
</span><del>-        virtual void revertToProvisionalState(DocumentLoader*) = 0;
-        virtual void setMainDocumentError(DocumentLoader*, const ResourceError&amp;) = 0;
</del><ins>+    virtual void revertToProvisionalState(DocumentLoader*) = 0;
+    virtual void setMainDocumentError(DocumentLoader*, const ResourceError&amp;) = 0;
</ins><span class="cx"> 
</span><del>-        virtual void setMainFrameDocumentReady(bool) = 0;
</del><ins>+    virtual void setMainFrameDocumentReady(bool) = 0;
</ins><span class="cx"> 
</span><del>-        virtual void startDownload(const ResourceRequest&amp;, const String&amp; suggestedName = String()) = 0;
</del><ins>+    virtual void startDownload(const ResourceRequest&amp;, const String&amp; suggestedName = String()) = 0;
</ins><span class="cx"> 
</span><del>-        virtual void willChangeTitle(DocumentLoader*) = 0;
-        virtual void didChangeTitle(DocumentLoader*) = 0;
</del><ins>+    virtual void willChangeTitle(DocumentLoader*) = 0;
+    virtual void didChangeTitle(DocumentLoader*) = 0;
</ins><span class="cx"> 
</span><del>-        virtual void willReplaceMultipartContent() = 0;
-        virtual void didReplaceMultipartContent() = 0;
</del><ins>+    virtual void willReplaceMultipartContent() = 0;
+    virtual void didReplaceMultipartContent() = 0;
</ins><span class="cx"> 
</span><del>-        virtual void committedLoad(DocumentLoader*, const char*, int) = 0;
-        virtual void finishedLoading(DocumentLoader*) = 0;
-        
-        virtual void updateGlobalHistory() = 0;
-        virtual void updateGlobalHistoryRedirectLinks() = 0;
</del><ins>+    virtual void committedLoad(DocumentLoader*, const char*, int) = 0;
+    virtual void finishedLoading(DocumentLoader*) = 0;
+    
+    virtual void updateGlobalHistory() = 0;
+    virtual void updateGlobalHistoryRedirectLinks() = 0;
</ins><span class="cx"> 
</span><del>-        virtual bool shouldGoToHistoryItem(HistoryItem*) const = 0;
-        virtual void updateGlobalHistoryItemForPage() { }
</del><ins>+    virtual bool shouldGoToHistoryItem(HistoryItem*) const = 0;
+    virtual void updateGlobalHistoryItemForPage() { }
</ins><span class="cx"> 
</span><del>-        // This frame has set its opener to null, disowning it for the lifetime of the frame.
-        // See http://html.spec.whatwg.org/#dom-opener.
-        // FIXME: JSC should allow disowning opener. - &lt;https://bugs.webkit.org/show_bug.cgi?id=103913&gt;.
-        virtual void didDisownOpener() { }
</del><ins>+    // This frame has set its opener to null, disowning it for the lifetime of the frame.
+    // See http://html.spec.whatwg.org/#dom-opener.
+    // FIXME: JSC should allow disowning opener. - &lt;https://bugs.webkit.org/show_bug.cgi?id=103913&gt;.
+    virtual void didDisownOpener() { }
</ins><span class="cx"> 
</span><del>-        // This frame has displayed inactive content (such as an image) from an
-        // insecure source.  Inactive content cannot spread to other frames.
-        virtual void didDisplayInsecureContent() = 0;
</del><ins>+    // This frame has displayed inactive content (such as an image) from an
+    // insecure source.  Inactive content cannot spread to other frames.
+    virtual void didDisplayInsecureContent() = 0;
</ins><span class="cx"> 
</span><del>-        // The indicated security origin has run active content (such as a
-        // script) from an insecure source.  Note that the insecure content can
-        // spread to other frames in the same origin.
-        virtual void didRunInsecureContent(SecurityOrigin*, const URL&amp;) = 0;
-        virtual void didDetectXSS(const URL&amp;, bool didBlockEntirePage) = 0;
</del><ins>+    // The indicated security origin has run active content (such as a
+    // script) from an insecure source.  Note that the insecure content can
+    // spread to other frames in the same origin.
+    virtual void didRunInsecureContent(SecurityOrigin*, const URL&amp;) = 0;
+    virtual void didDetectXSS(const URL&amp;, bool didBlockEntirePage) = 0;
</ins><span class="cx"> 
</span><del>-        virtual ResourceError cancelledError(const ResourceRequest&amp;) = 0;
-        virtual ResourceError blockedError(const ResourceRequest&amp;) = 0;
-        virtual ResourceError blockedByContentBlockerError(const ResourceRequest&amp;) = 0;
-        virtual ResourceError cannotShowURLError(const ResourceRequest&amp;) = 0;
-        virtual ResourceError interruptedForPolicyChangeError(const ResourceRequest&amp;) = 0;
</del><ins>+    virtual ResourceError cancelledError(const ResourceRequest&amp;) = 0;
+    virtual ResourceError blockedError(const ResourceRequest&amp;) = 0;
+    virtual ResourceError blockedByContentBlockerError(const ResourceRequest&amp;) = 0;
+    virtual ResourceError cannotShowURLError(const ResourceRequest&amp;) = 0;
+    virtual ResourceError interruptedForPolicyChangeError(const ResourceRequest&amp;) = 0;
</ins><span class="cx"> #if ENABLE(CONTENT_FILTERING)
</span><del>-        virtual ResourceError blockedByContentFilterError(const ResourceRequest&amp;) = 0;
</del><ins>+    virtual ResourceError blockedByContentFilterError(const ResourceRequest&amp;) = 0;
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-        virtual ResourceError cannotShowMIMETypeError(const ResourceResponse&amp;) = 0;
-        virtual ResourceError fileDoesNotExistError(const ResourceResponse&amp;) = 0;
-        virtual ResourceError pluginWillHandleLoadError(const ResourceResponse&amp;) = 0;
</del><ins>+    virtual ResourceError cannotShowMIMETypeError(const ResourceResponse&amp;) = 0;
+    virtual ResourceError fileDoesNotExistError(const ResourceResponse&amp;) = 0;
+    virtual ResourceError pluginWillHandleLoadError(const ResourceResponse&amp;) = 0;
</ins><span class="cx"> 
</span><del>-        virtual bool shouldFallBack(const ResourceError&amp;) = 0;
</del><ins>+    virtual bool shouldFallBack(const ResourceError&amp;) = 0;
</ins><span class="cx"> 
</span><del>-        virtual bool canHandleRequest(const ResourceRequest&amp;) const = 0;
-        virtual bool canShowMIMEType(const String&amp; MIMEType) const = 0;
-        virtual bool canShowMIMETypeAsHTML(const String&amp; MIMEType) const = 0;
-        virtual bool representationExistsForURLScheme(const String&amp; URLScheme) const = 0;
-        virtual String generatedMIMETypeForURLScheme(const String&amp; URLScheme) const = 0;
</del><ins>+    virtual bool canHandleRequest(const ResourceRequest&amp;) const = 0;
+    virtual bool canShowMIMEType(const String&amp; MIMEType) const = 0;
+    virtual bool canShowMIMETypeAsHTML(const String&amp; MIMEType) const = 0;
+    virtual bool representationExistsForURLScheme(const String&amp; URLScheme) const = 0;
+    virtual String generatedMIMETypeForURLScheme(const String&amp; URLScheme) const = 0;
</ins><span class="cx"> 
</span><del>-        virtual void frameLoadCompleted() = 0;
-        virtual void saveViewStateToItem(HistoryItem&amp;) = 0;
-        virtual void restoreViewState() = 0;
-        virtual void provisionalLoadStarted() = 0;
-        virtual void didFinishLoad() = 0;
-        virtual void prepareForDataSourceReplacement() = 0;
</del><ins>+    virtual void frameLoadCompleted() = 0;
+    virtual void saveViewStateToItem(HistoryItem&amp;) = 0;
+    virtual void restoreViewState() = 0;
+    virtual void provisionalLoadStarted() = 0;
+    virtual void didFinishLoad() = 0;
+    virtual void prepareForDataSourceReplacement() = 0;
</ins><span class="cx"> 
</span><del>-        virtual Ref&lt;DocumentLoader&gt; createDocumentLoader(const ResourceRequest&amp;, const SubstituteData&amp;) = 0;
-        virtual void updateCachedDocumentLoader(DocumentLoader&amp;) = 0;
-        virtual void setTitle(const StringWithDirection&amp;, const URL&amp;) = 0;
</del><ins>+    virtual Ref&lt;DocumentLoader&gt; createDocumentLoader(const ResourceRequest&amp;, const SubstituteData&amp;) = 0;
+    virtual void updateCachedDocumentLoader(DocumentLoader&amp;) = 0;
+    virtual void setTitle(const StringWithDirection&amp;, const URL&amp;) = 0;
</ins><span class="cx"> 
</span><del>-        virtual String userAgent(const URL&amp;) = 0;
-        
-        virtual void savePlatformDataToCachedFrame(CachedFrame*) = 0;
-        virtual void transitionToCommittedFromCachedFrame(CachedFrame*) = 0;
</del><ins>+    virtual String userAgent(const URL&amp;) = 0;
+    
+    virtual void savePlatformDataToCachedFrame(CachedFrame*) = 0;
+    virtual void transitionToCommittedFromCachedFrame(CachedFrame*) = 0;
</ins><span class="cx"> #if PLATFORM(IOS)
</span><del>-        virtual void didRestoreFrameHierarchyForCachedFrame() = 0;
</del><ins>+    virtual void didRestoreFrameHierarchyForCachedFrame() = 0;
</ins><span class="cx"> #endif
</span><del>-        virtual void transitionToCommittedForNewPage() = 0;
</del><ins>+    virtual void transitionToCommittedForNewPage() = 0;
</ins><span class="cx"> 
</span><del>-        virtual void didSaveToPageCache() = 0;
-        virtual void didRestoreFromPageCache() = 0;
</del><ins>+    virtual void didSaveToPageCache() = 0;
+    virtual void didRestoreFromPageCache() = 0;
</ins><span class="cx"> 
</span><del>-        virtual void dispatchDidBecomeFrameset(bool) = 0; // Can change due to navigation or DOM modification.
</del><ins>+    virtual void dispatchDidBecomeFrameset(bool) = 0; // Can change due to navigation or DOM modification.
</ins><span class="cx"> 
</span><del>-        virtual bool canCachePage() const = 0;
-        virtual void convertMainResourceLoadToDownload(DocumentLoader*, SessionID, const ResourceRequest&amp;, const ResourceResponse&amp;) = 0;
</del><ins>+    virtual bool canCachePage() const = 0;
+    virtual void convertMainResourceLoadToDownload(DocumentLoader*, SessionID, const ResourceRequest&amp;, const ResourceResponse&amp;) = 0;
</ins><span class="cx"> 
</span><del>-        virtual RefPtr&lt;Frame&gt; createFrame(const URL&amp;, const String&amp; name, HTMLFrameOwnerElement*, const String&amp; referrer, bool allowsScrolling, int marginWidth, int marginHeight) = 0;
-        virtual RefPtr&lt;Widget&gt; createPlugin(const IntSize&amp;, HTMLPlugInElement*, const URL&amp;, const Vector&lt;String&gt;&amp;, const Vector&lt;String&gt;&amp;, const String&amp;, bool loadManually) = 0;
-        virtual void recreatePlugin(Widget*) = 0;
-        virtual void redirectDataToPlugin(Widget* pluginWidget) = 0;
</del><ins>+    virtual RefPtr&lt;Frame&gt; createFrame(const URL&amp;, const String&amp; name, HTMLFrameOwnerElement*, const String&amp; referrer, bool allowsScrolling, int marginWidth, int marginHeight) = 0;
+    virtual RefPtr&lt;Widget&gt; createPlugin(const IntSize&amp;, HTMLPlugInElement*, const URL&amp;, const Vector&lt;String&gt;&amp;, const Vector&lt;String&gt;&amp;, const String&amp;, bool loadManually) = 0;
+    virtual void recreatePlugin(Widget*) = 0;
+    virtual void redirectDataToPlugin(Widget* pluginWidget) = 0;
</ins><span class="cx"> 
</span><del>-        virtual PassRefPtr&lt;Widget&gt; createJavaAppletWidget(const IntSize&amp;, HTMLAppletElement*, const URL&amp; baseURL, const Vector&lt;String&gt;&amp; paramNames, const Vector&lt;String&gt;&amp; paramValues) = 0;
</del><ins>+    virtual PassRefPtr&lt;Widget&gt; createJavaAppletWidget(const IntSize&amp;, HTMLAppletElement*, const URL&amp; baseURL, const Vector&lt;String&gt;&amp; paramNames, const Vector&lt;String&gt;&amp; paramValues) = 0;
</ins><span class="cx"> 
</span><del>-        virtual void dispatchDidFailToStartPlugin(const PluginViewBase*) const { }
</del><ins>+    virtual void dispatchDidFailToStartPlugin(const PluginViewBase*) const { }
</ins><span class="cx"> 
</span><del>-        virtual ObjectContentType objectContentType(const URL&amp;, const String&amp; mimeType) = 0;
-        virtual String overrideMediaType() const = 0;
</del><ins>+    virtual ObjectContentType objectContentType(const URL&amp;, const String&amp; mimeType) = 0;
+    virtual String overrideMediaType() const = 0;
</ins><span class="cx"> 
</span><del>-        virtual void dispatchDidClearWindowObjectInWorld(DOMWrapperWorld&amp;) = 0;
</del><ins>+    virtual void dispatchDidClearWindowObjectInWorld(DOMWrapperWorld&amp;) = 0;
</ins><span class="cx"> 
</span><del>-        virtual void registerForIconNotification(bool listen = true) = 0;
</del><ins>+    virtual void registerForIconNotification(bool listen = true) = 0;
</ins><span class="cx"> 
</span><span class="cx"> #if PLATFORM(COCOA)
</span><del>-        // Allow an accessibility object to retrieve a Frame parent if there's no PlatformWidget.
-        virtual RemoteAXObjectRef accessibilityRemoteObject() = 0;
-        virtual NSCachedURLResponse* willCacheResponse(DocumentLoader*, unsigned long identifier, NSCachedURLResponse*) const = 0;
-        virtual NSDictionary *dataDetectionContext() { return nullptr; }
</del><ins>+    // Allow an accessibility object to retrieve a Frame parent if there's no PlatformWidget.
+    virtual RemoteAXObjectRef accessibilityRemoteObject() = 0;
+    virtual NSCachedURLResponse* willCacheResponse(DocumentLoader*, unsigned long identifier, NSCachedURLResponse*) const = 0;
+    virtual NSDictionary *dataDetectionContext() { return nullptr; }
</ins><span class="cx"> #endif
</span><span class="cx"> #if PLATFORM(WIN) &amp;&amp; USE(CFURLCONNECTION)
</span><del>-        // FIXME: Windows should use willCacheResponse - &lt;https://bugs.webkit.org/show_bug.cgi?id=57257&gt;.
-        virtual bool shouldCacheResponse(DocumentLoader*, unsigned long identifier, const ResourceResponse&amp;, const unsigned char* data, unsigned long long length) = 0;
</del><ins>+    // FIXME: Windows should use willCacheResponse - &lt;https://bugs.webkit.org/show_bug.cgi?id=57257&gt;.
+    virtual bool shouldCacheResponse(DocumentLoader*, unsigned long identifier, const ResourceResponse&amp;, const unsigned char* data, unsigned long long length) = 0;
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-        virtual bool shouldAlwaysUsePluginDocument(const String&amp; /*mimeType*/) const { return false; }
-        virtual bool shouldLoadMediaElementURL(const URL&amp;) const { return true; }
</del><ins>+    virtual bool shouldAlwaysUsePluginDocument(const String&amp; /*mimeType*/) const { return false; }
+    virtual bool shouldLoadMediaElementURL(const URL&amp;) const { return true; }
</ins><span class="cx"> 
</span><del>-        virtual void didChangeScrollOffset() { }
</del><ins>+    virtual void didChangeScrollOffset() { }
</ins><span class="cx"> 
</span><del>-        virtual bool allowScript(bool enabledPerSettings) { return enabledPerSettings; }
</del><ins>+    virtual bool allowScript(bool enabledPerSettings) { return enabledPerSettings; }
</ins><span class="cx"> 
</span><del>-        // Clients that generally disallow universal access can make exceptions for particular URLs.
-        virtual bool shouldForceUniversalAccessFromLocalURL(const URL&amp;) { return false; }
</del><ins>+    // Clients that generally disallow universal access can make exceptions for particular URLs.
+    virtual bool shouldForceUniversalAccessFromLocalURL(const URL&amp;) { return false; }
</ins><span class="cx"> 
</span><del>-        virtual PassRefPtr&lt;FrameNetworkingContext&gt; createNetworkingContext() = 0;
</del><ins>+    virtual PassRefPtr&lt;FrameNetworkingContext&gt; createNetworkingContext() = 0;
</ins><span class="cx"> 
</span><span class="cx"> #if ENABLE(REQUEST_AUTOCOMPLETE)
</span><del>-        virtual void didRequestAutocomplete(PassRefPtr&lt;FormState&gt;) = 0;
</del><ins>+    virtual void didRequestAutocomplete(PassRefPtr&lt;FormState&gt;) = 0;
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-        virtual bool shouldPaintBrokenImage(const URL&amp;) const { return true; }
</del><ins>+    virtual bool shouldPaintBrokenImage(const URL&amp;) const { return true; }
</ins><span class="cx"> 
</span><del>-        virtual void dispatchGlobalObjectAvailable(DOMWrapperWorld&amp;) { }
-        virtual void dispatchWillDisconnectDOMWindowExtensionFromGlobalObject(DOMWindowExtension*) { }
-        virtual void dispatchDidReconnectDOMWindowExtensionToGlobalObject(DOMWindowExtension*) { }
-        virtual void dispatchWillDestroyGlobalObjectForDOMWindowExtension(DOMWindowExtension*) { }
</del><ins>+    virtual void dispatchGlobalObjectAvailable(DOMWrapperWorld&amp;) { }
+    virtual void dispatchWillDisconnectDOMWindowExtensionFromGlobalObject(DOMWindowExtension*) { }
+    virtual void dispatchDidReconnectDOMWindowExtensionToGlobalObject(DOMWindowExtension*) { }
+    virtual void dispatchWillDestroyGlobalObjectForDOMWindowExtension(DOMWindowExtension*) { }
</ins><span class="cx"> 
</span><span class="cx"> #if ENABLE(WEB_RTC)
</span><del>-        virtual void dispatchWillStartUsingPeerConnectionHandler(RTCPeerConnectionHandler*) { }
</del><ins>+    virtual void dispatchWillStartUsingPeerConnectionHandler(RTCPeerConnectionHandler*) { }
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(WEBGL)
</span><del>-        virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSettings; }
-        // Informs the embedder that a WebGL canvas inside this frame received a lost context
-        // notification with the given GL_ARB_robustness guilt/innocence code (see Extensions3D.h).
-        virtual void didLoseWebGLContext(int) { }
-        virtual WebGLLoadPolicy webGLPolicyForURL(const String&amp;) const { return WebGLAllowCreation; }
-        virtual WebGLLoadPolicy resolveWebGLPolicyForURL(const String&amp;) const { return WebGLAllowCreation; }
</del><ins>+    virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSettings; }
+    // Informs the embedder that a WebGL canvas inside this frame received a lost context
+    // notification with the given GL_ARB_robustness guilt/innocence code (see Extensions3D.h).
+    virtual void didLoseWebGLContext(int) { }
+    virtual WebGLLoadPolicy webGLPolicyForURL(const String&amp;) const { return WebGLAllowCreation; }
+    virtual WebGLLoadPolicy resolveWebGLPolicyForURL(const String&amp;) const { return WebGLAllowCreation; }
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-        virtual void forcePageTransitionIfNeeded() { }
</del><ins>+    virtual void forcePageTransitionIfNeeded() { }
</ins><span class="cx"> 
</span><del>-        // FIXME (bug 116233): We need to get rid of EmptyFrameLoaderClient completely, then this will no longer be needed.
-        virtual bool isEmptyFrameLoaderClient() { return false; }
</del><ins>+    // FIXME (bug 116233): We need to get rid of EmptyFrameLoaderClient completely, then this will no longer be needed.
+    virtual bool isEmptyFrameLoaderClient() { return false; }
</ins><span class="cx"> 
</span><span class="cx"> #if USE(QUICK_LOOK)
</span><del>-        virtual void didCreateQuickLookHandle(QuickLookHandle&amp;) { }
</del><ins>+    virtual void didCreateQuickLookHandle(QuickLookHandle&amp;) { }
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(CONTENT_FILTERING)
</span><del>-        virtual void contentFilterDidBlockLoad(ContentFilterUnblockHandler) { }
</del><ins>+    virtual void contentFilterDidBlockLoad(ContentFilterUnblockHandler) { }
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-        virtual void prefetchDNS(const String&amp;) = 0;
</del><ins>+    virtual void prefetchDNS(const String&amp;) = 0;
</ins><span class="cx"> 
</span><del>-        virtual void didRestoreScrollPosition() { }
-    };
</del><ins>+    virtual void didRestoreScrollPosition() { }
+};
</ins><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorepageFrameh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/Frame.h (208803 => 208804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/Frame.h        2016-11-16 20:26:59 UTC (rev 208803)
+++ trunk/Source/WebCore/page/Frame.h        2016-11-16 20:43:14 UTC (rev 208804)
</span><span class="lines">@@ -60,353 +60,353 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-    class AnimationController;
-    class Color;
-    class Document;
-    class Editor;
-    class Element;
-    class EventHandler;
-    class FloatSize;
-    class FrameDestructionObserver;
-    class FrameSelection;
-    class FrameView;
-    class HTMLFrameOwnerElement;
-    class HTMLTableCellElement;
-    class HitTestResult;
-    class ImageBuffer;
-    class IntRect;
-    class MainFrame;
-    class Node;
-    class Range;
-    class RenderLayer;
-    class RenderView;
-    class RenderWidget;
-    class ScriptController;
-    class Settings;
-    class VisiblePosition;
-    class Widget;
</del><ins>+class AnimationController;
+class Color;
+class Document;
+class Editor;
+class Element;
+class EventHandler;
+class FloatSize;
+class FrameDestructionObserver;
+class FrameSelection;
+class FrameView;
+class HTMLFrameOwnerElement;
+class HTMLTableCellElement;
+class HitTestResult;
+class ImageBuffer;
+class IntRect;
+class MainFrame;
+class Node;
+class Range;
+class RenderLayer;
+class RenderView;
+class RenderWidget;
+class ScriptController;
+class Settings;
+class VisiblePosition;
+class Widget;
</ins><span class="cx"> 
</span><span class="cx"> #if PLATFORM(IOS)
</span><del>-    enum {
-        OverflowScrollNone = 0,
-        OverflowScrollLeft = 1 &lt;&lt; 0,
-        OverflowScrollRight = 1 &lt;&lt; 1,
-        OverflowScrollUp = 1 &lt;&lt; 2,
-        OverflowScrollDown = 1 &lt;&lt; 3
-    };
</del><ins>+enum {
+    OverflowScrollNone = 0,
+    OverflowScrollLeft = 1 &lt;&lt; 0,
+    OverflowScrollRight = 1 &lt;&lt; 1,
+    OverflowScrollUp = 1 &lt;&lt; 2,
+    OverflowScrollDown = 1 &lt;&lt; 3
+};
</ins><span class="cx"> 
</span><del>-    enum OverflowScrollAction { DoNotPerformOverflowScroll, PerformOverflowScroll };
-    typedef Node* (*NodeQualifier)(const HitTestResult&amp;, Node* terminationNode, IntRect* nodeBounds);
</del><ins>+enum OverflowScrollAction { DoNotPerformOverflowScroll, PerformOverflowScroll };
+typedef Node* (*NodeQualifier)(const HitTestResult&amp;, Node* terminationNode, IntRect* nodeBounds);
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-    enum {
-        LayerTreeFlagsIncludeDebugInfo = 1 &lt;&lt; 0,
-        LayerTreeFlagsIncludeVisibleRects = 1 &lt;&lt; 1,
-        LayerTreeFlagsIncludeTileCaches = 1 &lt;&lt; 2,
-        LayerTreeFlagsIncludeRepaintRects = 1 &lt;&lt; 3,
-        LayerTreeFlagsIncludePaintingPhases = 1 &lt;&lt; 4,
-        LayerTreeFlagsIncludeContentLayers = 1 &lt;&lt; 5
-    };
-    typedef unsigned LayerTreeFlags;
</del><ins>+enum {
+    LayerTreeFlagsIncludeDebugInfo = 1 &lt;&lt; 0,
+    LayerTreeFlagsIncludeVisibleRects = 1 &lt;&lt; 1,
+    LayerTreeFlagsIncludeTileCaches = 1 &lt;&lt; 2,
+    LayerTreeFlagsIncludeRepaintRects = 1 &lt;&lt; 3,
+    LayerTreeFlagsIncludePaintingPhases = 1 &lt;&lt; 4,
+    LayerTreeFlagsIncludeContentLayers = 1 &lt;&lt; 5
+};
+typedef unsigned LayerTreeFlags;
</ins><span class="cx"> 
</span><del>-    class Frame : public ThreadSafeRefCounted&lt;Frame&gt; {
-    public:
-        WEBCORE_EXPORT static Ref&lt;Frame&gt; create(Page*, HTMLFrameOwnerElement*, FrameLoaderClient*);
</del><ins>+class Frame : public ThreadSafeRefCounted&lt;Frame&gt; {
+public:
+    WEBCORE_EXPORT static Ref&lt;Frame&gt; create(Page*, HTMLFrameOwnerElement*, FrameLoaderClient*);
</ins><span class="cx"> 
</span><del>-        void init();
</del><ins>+    void init();
</ins><span class="cx"> #if PLATFORM(IOS)
</span><del>-        // Creates &lt;html&gt;&lt;body style=&quot;...&quot;&gt;&lt;/body&gt;&lt;/html&gt; doing minimal amount of work.
-        WEBCORE_EXPORT void initWithSimpleHTMLDocument(const String&amp; style, const URL&amp;);
</del><ins>+    // Creates &lt;html&gt;&lt;body style=&quot;...&quot;&gt;&lt;/body&gt;&lt;/html&gt; doing minimal amount of work.
+    WEBCORE_EXPORT void initWithSimpleHTMLDocument(const String&amp; style, const URL&amp;);
</ins><span class="cx"> #endif
</span><del>-        WEBCORE_EXPORT void setView(RefPtr&lt;FrameView&gt;&amp;&amp;);
-        WEBCORE_EXPORT void createView(const IntSize&amp;, const Color&amp;, bool,
-            const IntSize&amp; fixedLayoutSize = IntSize(), const IntRect&amp; fixedVisibleContentRect = IntRect(),
-            bool useFixedLayout = false, ScrollbarMode = ScrollbarAuto, bool horizontalLock = false,
-            ScrollbarMode = ScrollbarAuto, bool verticalLock = false);
</del><ins>+    WEBCORE_EXPORT void setView(RefPtr&lt;FrameView&gt;&amp;&amp;);
+    WEBCORE_EXPORT void createView(const IntSize&amp;, const Color&amp;, bool,
+        const IntSize&amp; fixedLayoutSize = IntSize(), const IntRect&amp; fixedVisibleContentRect = IntRect(),
+        bool useFixedLayout = false, ScrollbarMode = ScrollbarAuto, bool horizontalLock = false,
+        ScrollbarMode = ScrollbarAuto, bool verticalLock = false);
</ins><span class="cx"> 
</span><del>-        WEBCORE_EXPORT virtual ~Frame();
</del><ins>+    WEBCORE_EXPORT virtual ~Frame();
</ins><span class="cx"> 
</span><del>-        void addDestructionObserver(FrameDestructionObserver*);
-        void removeDestructionObserver(FrameDestructionObserver*);
</del><ins>+    void addDestructionObserver(FrameDestructionObserver*);
+    void removeDestructionObserver(FrameDestructionObserver*);
</ins><span class="cx"> 
</span><del>-        void willDetachPage();
-        void detachFromPage();
-        void disconnectOwnerElement();
</del><ins>+    void willDetachPage();
+    void detachFromPage();
+    void disconnectOwnerElement();
</ins><span class="cx"> 
</span><del>-        MainFrame&amp; mainFrame() const;
-        bool isMainFrame() const { return this == static_cast&lt;void*&gt;(&amp;m_mainFrame); }
</del><ins>+    MainFrame&amp; mainFrame() const;
+    bool isMainFrame() const { return this == static_cast&lt;void*&gt;(&amp;m_mainFrame); }
</ins><span class="cx"> 
</span><del>-        Page* page() const;
-        HTMLFrameOwnerElement* ownerElement() const;
</del><ins>+    Page* page() const;
+    HTMLFrameOwnerElement* ownerElement() const;
</ins><span class="cx"> 
</span><del>-        Document* document() const;
-        FrameView* view() const;
</del><ins>+    Document* document() const;
+    FrameView* view() const;
</ins><span class="cx"> 
</span><del>-        Editor&amp; editor() const;
-        EventHandler&amp; eventHandler() const;
-        EventHandler* eventHandlerPtr() const;
-        FrameLoader&amp; loader() const;
-        NavigationScheduler&amp; navigationScheduler() const;
-        FrameSelection&amp; selection() const;
-        FrameTree&amp; tree() const;
-        AnimationController&amp; animation() const;
-        ScriptController&amp; script();
-        
-        WEBCORE_EXPORT RenderView* contentRenderer() const; // Root of the render tree for the document contained in this frame.
-        WEBCORE_EXPORT RenderWidget* ownerRenderer() const; // Renderer for the element that contains this frame.
</del><ins>+    Editor&amp; editor() const;
+    EventHandler&amp; eventHandler() const;
+    EventHandler* eventHandlerPtr() const;
+    FrameLoader&amp; loader() const;
+    NavigationScheduler&amp; navigationScheduler() const;
+    FrameSelection&amp; selection() const;
+    FrameTree&amp; tree() const;
+    AnimationController&amp; animation() const;
+    ScriptController&amp; script();
+    
+    WEBCORE_EXPORT RenderView* contentRenderer() const; // Root of the render tree for the document contained in this frame.
+    WEBCORE_EXPORT RenderWidget* ownerRenderer() const; // Renderer for the element that contains this frame.
</ins><span class="cx"> 
</span><del>-    // ======== All public functions below this point are candidates to move out of Frame into another class. ========
</del><ins>+// ======== All public functions below this point are candidates to move out of Frame into another class. ========
</ins><span class="cx"> 
</span><del>-        void injectUserScripts(UserScriptInjectionTime);
-        
-        WEBCORE_EXPORT String layerTreeAsText(LayerTreeFlags = 0) const;
-        WEBCORE_EXPORT String trackedRepaintRectsAsText() const;
</del><ins>+    void injectUserScripts(UserScriptInjectionTime);
+    
+    WEBCORE_EXPORT String layerTreeAsText(LayerTreeFlags = 0) const;
+    WEBCORE_EXPORT String trackedRepaintRectsAsText() const;
</ins><span class="cx"> 
</span><del>-        WEBCORE_EXPORT static Frame* frameForWidget(const Widget*);
</del><ins>+    WEBCORE_EXPORT static Frame* frameForWidget(const Widget*);
</ins><span class="cx"> 
</span><del>-        Settings&amp; settings() const { return *m_settings; }
</del><ins>+    Settings&amp; settings() const { return *m_settings; }
</ins><span class="cx"> 
</span><del>-        void setPrinting(bool printing, const FloatSize&amp; pageSize, const FloatSize&amp; originalPageSize, float maximumShrinkRatio, AdjustViewSizeOrNot);
-        bool shouldUsePrintingLayout() const;
-        WEBCORE_EXPORT FloatSize resizePageRectsKeepingRatio(const FloatSize&amp; originalSize, const FloatSize&amp; expectedSize);
</del><ins>+    void setPrinting(bool printing, const FloatSize&amp; pageSize, const FloatSize&amp; originalPageSize, float maximumShrinkRatio, AdjustViewSizeOrNot);
+    bool shouldUsePrintingLayout() const;
+    WEBCORE_EXPORT FloatSize resizePageRectsKeepingRatio(const FloatSize&amp; originalSize, const FloatSize&amp; expectedSize);
</ins><span class="cx"> 
</span><del>-        void setDocument(RefPtr&lt;Document&gt;&amp;&amp;);
</del><ins>+    void setDocument(RefPtr&lt;Document&gt;&amp;&amp;);
</ins><span class="cx"> 
</span><del>-        WEBCORE_EXPORT void setPageZoomFactor(float);
-        float pageZoomFactor() const { return m_pageZoomFactor; }
-        WEBCORE_EXPORT void setTextZoomFactor(float);
-        float textZoomFactor() const { return m_textZoomFactor; }
-        WEBCORE_EXPORT void setPageAndTextZoomFactors(float pageZoomFactor, float textZoomFactor);
</del><ins>+    WEBCORE_EXPORT void setPageZoomFactor(float);
+    float pageZoomFactor() const { return m_pageZoomFactor; }
+    WEBCORE_EXPORT void setTextZoomFactor(float);
+    float textZoomFactor() const { return m_textZoomFactor; }
+    WEBCORE_EXPORT void setPageAndTextZoomFactors(float pageZoomFactor, float textZoomFactor);
</ins><span class="cx"> 
</span><del>-        // Scale factor of this frame with respect to the container.
-        WEBCORE_EXPORT float frameScaleFactor() const;
</del><ins>+    // Scale factor of this frame with respect to the container.
+    WEBCORE_EXPORT float frameScaleFactor() const;
</ins><span class="cx"> 
</span><del>-        void deviceOrPageScaleFactorChanged();
-        
</del><ins>+    void deviceOrPageScaleFactorChanged();
+    
</ins><span class="cx"> #if ENABLE(DATA_DETECTION)
</span><del>-        void setDataDetectionResults(NSArray *results) { m_dataDetectionResults = results; }
-        NSArray *dataDetectionResults() const { return m_dataDetectionResults.get(); }
</del><ins>+    void setDataDetectionResults(NSArray *results) { m_dataDetectionResults = results; }
+    NSArray *dataDetectionResults() const { return m_dataDetectionResults.get(); }
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if PLATFORM(IOS)
</span><del>-        const ViewportArguments&amp; viewportArguments() const;
-        WEBCORE_EXPORT void setViewportArguments(const ViewportArguments&amp;);
</del><ins>+    const ViewportArguments&amp; viewportArguments() const;
+    WEBCORE_EXPORT void setViewportArguments(const ViewportArguments&amp;);
</ins><span class="cx"> 
</span><del>-        WEBCORE_EXPORT Node* deepestNodeAtLocation(const FloatPoint&amp; viewportLocation);
-        WEBCORE_EXPORT Node* nodeRespondingToClickEvents(const FloatPoint&amp; viewportLocation, FloatPoint&amp; adjustedViewportLocation);
-        WEBCORE_EXPORT Node* nodeRespondingToScrollWheelEvents(const FloatPoint&amp; viewportLocation);
</del><ins>+    WEBCORE_EXPORT Node* deepestNodeAtLocation(const FloatPoint&amp; viewportLocation);
+    WEBCORE_EXPORT Node* nodeRespondingToClickEvents(const FloatPoint&amp; viewportLocation, FloatPoint&amp; adjustedViewportLocation);
+    WEBCORE_EXPORT Node* nodeRespondingToScrollWheelEvents(const FloatPoint&amp; viewportLocation);
</ins><span class="cx"> 
</span><del>-        WEBCORE_EXPORT NSArray *wordsInCurrentParagraph() const;
-        WEBCORE_EXPORT CGRect renderRectForPoint(CGPoint, bool* isReplaced, float* fontSize) const;
</del><ins>+    WEBCORE_EXPORT NSArray *wordsInCurrentParagraph() const;
+    WEBCORE_EXPORT CGRect renderRectForPoint(CGPoint, bool* isReplaced, float* fontSize) const;
</ins><span class="cx"> 
</span><del>-        WEBCORE_EXPORT void setSelectionChangeCallbacksDisabled(bool = true);
-        bool selectionChangeCallbacksDisabled() const;
</del><ins>+    WEBCORE_EXPORT void setSelectionChangeCallbacksDisabled(bool = true);
+    bool selectionChangeCallbacksDisabled() const;
</ins><span class="cx"> 
</span><del>-        enum ViewportOffsetChangeType { IncrementalScrollOffset, CompletedScrollOffset };
-        WEBCORE_EXPORT void viewportOffsetChanged(ViewportOffsetChangeType);
-        bool containsTiledBackingLayers() const;
</del><ins>+    enum ViewportOffsetChangeType { IncrementalScrollOffset, CompletedScrollOffset };
+    WEBCORE_EXPORT void viewportOffsetChanged(ViewportOffsetChangeType);
+    bool containsTiledBackingLayers() const;
</ins><span class="cx"> 
</span><del>-        WEBCORE_EXPORT void overflowScrollPositionChangedForNode(const IntPoint&amp;, Node*, bool isUserScroll);
</del><ins>+    WEBCORE_EXPORT void overflowScrollPositionChangedForNode(const IntPoint&amp;, Node*, bool isUserScroll);
</ins><span class="cx"> 
</span><del>-        WEBCORE_EXPORT void resetAllGeolocationPermission();
</del><ins>+    WEBCORE_EXPORT void resetAllGeolocationPermission();
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(ORIENTATION_EVENTS)
</span><del>-        // Orientation is the interface orientation in degrees. Some examples are:
-        //  0 is straight up; -90 is when the device is rotated 90 clockwise;
-        //  90 is when rotated counter clockwise.
-        WEBCORE_EXPORT void orientationChanged();
-        int orientation() const;
</del><ins>+    // Orientation is the interface orientation in degrees. Some examples are:
+    //  0 is straight up; -90 is when the device is rotated 90 clockwise;
+    //  90 is when rotated counter clockwise.
+    WEBCORE_EXPORT void orientationChanged();
+    int orientation() const;
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-        void clearTimers();
-        static void clearTimers(FrameView*, Document*);
</del><ins>+    void clearTimers();
+    static void clearTimers(FrameView*, Document*);
</ins><span class="cx"> 
</span><del>-        WEBCORE_EXPORT String displayStringModifiedByEncoding(const String&amp;) const;
</del><ins>+    WEBCORE_EXPORT String displayStringModifiedByEncoding(const String&amp;) const;
</ins><span class="cx"> 
</span><del>-        WEBCORE_EXPORT VisiblePosition visiblePositionForPoint(const IntPoint&amp; framePoint) const;
-        Document* documentAtPoint(const IntPoint&amp; windowPoint);
-        WEBCORE_EXPORT RefPtr&lt;Range&gt; rangeForPoint(const IntPoint&amp; framePoint);
</del><ins>+    WEBCORE_EXPORT VisiblePosition visiblePositionForPoint(const IntPoint&amp; framePoint) const;
+    Document* documentAtPoint(const IntPoint&amp; windowPoint);
+    WEBCORE_EXPORT RefPtr&lt;Range&gt; rangeForPoint(const IntPoint&amp; framePoint);
</ins><span class="cx"> 
</span><del>-        WEBCORE_EXPORT String searchForLabelsAboveCell(const JSC::Yarr::RegularExpression&amp;, HTMLTableCellElement*, size_t* resultDistanceFromStartOfCell);
-        String searchForLabelsBeforeElement(const Vector&lt;String&gt;&amp; labels, Element*, size_t* resultDistance, bool* resultIsInCellAbove);
-        String matchLabelsAgainstElement(const Vector&lt;String&gt;&amp; labels, Element*);
</del><ins>+    WEBCORE_EXPORT String searchForLabelsAboveCell(const JSC::Yarr::RegularExpression&amp;, HTMLTableCellElement*, size_t* resultDistanceFromStartOfCell);
+    String searchForLabelsBeforeElement(const Vector&lt;String&gt;&amp; labels, Element*, size_t* resultDistance, bool* resultIsInCellAbove);
+    String matchLabelsAgainstElement(const Vector&lt;String&gt;&amp; labels, Element*);
</ins><span class="cx"> 
</span><span class="cx"> #if PLATFORM(IOS)
</span><del>-        // Scroll the selection in an overflow layer.
-        void scrollOverflowLayer(RenderLayer*, const IntRect&amp; visibleRect, const IntRect&amp; exposeRect);
</del><ins>+    // Scroll the selection in an overflow layer.
+    void scrollOverflowLayer(RenderLayer*, const IntRect&amp; visibleRect, const IntRect&amp; exposeRect);
</ins><span class="cx"> 
</span><del>-        WEBCORE_EXPORT int preferredHeight() const;
-        WEBCORE_EXPORT void updateLayout() const;
-        WEBCORE_EXPORT NSRect caretRect() const;
-        WEBCORE_EXPORT NSRect rectForScrollToVisible() const;
-        WEBCORE_EXPORT unsigned formElementsCharacterCount() const;
</del><ins>+    WEBCORE_EXPORT int preferredHeight() const;
+    WEBCORE_EXPORT void updateLayout() const;
+    WEBCORE_EXPORT NSRect caretRect() const;
+    WEBCORE_EXPORT NSRect rectForScrollToVisible() const;
+    WEBCORE_EXPORT unsigned formElementsCharacterCount() const;
</ins><span class="cx"> 
</span><del>-        // This function is used by Legacy WebKit.
-        WEBCORE_EXPORT void setTimersPaused(bool);
</del><ins>+    // This function is used by Legacy WebKit.
+    WEBCORE_EXPORT void setTimersPaused(bool);
</ins><span class="cx"> 
</span><del>-        WEBCORE_EXPORT void dispatchPageHideEventBeforePause();
-        WEBCORE_EXPORT void dispatchPageShowEventBeforeResume();
-        WEBCORE_EXPORT void setRangedSelectionBaseToCurrentSelection();
-        WEBCORE_EXPORT void setRangedSelectionBaseToCurrentSelectionStart();
-        WEBCORE_EXPORT void setRangedSelectionBaseToCurrentSelectionEnd();
-        WEBCORE_EXPORT void clearRangedSelectionInitialExtent();
-        WEBCORE_EXPORT void setRangedSelectionInitialExtentToCurrentSelectionStart();
-        WEBCORE_EXPORT void setRangedSelectionInitialExtentToCurrentSelectionEnd();
-        WEBCORE_EXPORT VisibleSelection rangedSelectionBase() const;
-        WEBCORE_EXPORT VisibleSelection rangedSelectionInitialExtent() const;
-        WEBCORE_EXPORT void recursiveSetUpdateAppearanceEnabled(bool);
-        WEBCORE_EXPORT NSArray *interpretationsForCurrentRoot() const;
</del><ins>+    WEBCORE_EXPORT void dispatchPageHideEventBeforePause();
+    WEBCORE_EXPORT void dispatchPageShowEventBeforeResume();
+    WEBCORE_EXPORT void setRangedSelectionBaseToCurrentSelection();
+    WEBCORE_EXPORT void setRangedSelectionBaseToCurrentSelectionStart();
+    WEBCORE_EXPORT void setRangedSelectionBaseToCurrentSelectionEnd();
+    WEBCORE_EXPORT void clearRangedSelectionInitialExtent();
+    WEBCORE_EXPORT void setRangedSelectionInitialExtentToCurrentSelectionStart();
+    WEBCORE_EXPORT void setRangedSelectionInitialExtentToCurrentSelectionEnd();
+    WEBCORE_EXPORT VisibleSelection rangedSelectionBase() const;
+    WEBCORE_EXPORT VisibleSelection rangedSelectionInitialExtent() const;
+    WEBCORE_EXPORT void recursiveSetUpdateAppearanceEnabled(bool);
+    WEBCORE_EXPORT NSArray *interpretationsForCurrentRoot() const;
</ins><span class="cx"> #endif
</span><del>-        void suspendActiveDOMObjectsAndAnimations();
-        void resumeActiveDOMObjectsAndAnimations();
-        bool activeDOMObjectsAndAnimationsSuspended() const { return m_activeDOMObjectsAndAnimationsSuspendedCount &gt; 0; }
</del><ins>+    void suspendActiveDOMObjectsAndAnimations();
+    void resumeActiveDOMObjectsAndAnimations();
+    bool activeDOMObjectsAndAnimationsSuspended() const { return m_activeDOMObjectsAndAnimationsSuspendedCount &gt; 0; }
</ins><span class="cx"> 
</span><del>-        bool isURLAllowed(const URL&amp;) const;
-        WEBCORE_EXPORT bool isAlwaysOnLoggingAllowed() const;
</del><ins>+    bool isURLAllowed(const URL&amp;) const;
+    WEBCORE_EXPORT bool isAlwaysOnLoggingAllowed() const;
</ins><span class="cx"> 
</span><del>-    // ========
</del><ins>+// ========
</ins><span class="cx"> 
</span><del>-    protected:
-        Frame(Page&amp;, HTMLFrameOwnerElement*, FrameLoaderClient&amp;);
-        void setMainFrameWasDestroyed();
</del><ins>+protected:
+    Frame(Page&amp;, HTMLFrameOwnerElement*, FrameLoaderClient&amp;);
+    void setMainFrameWasDestroyed();
</ins><span class="cx"> 
</span><del>-    private:
-        HashSet&lt;FrameDestructionObserver*&gt; m_destructionObservers;
</del><ins>+private:
+    HashSet&lt;FrameDestructionObserver*&gt; m_destructionObservers;
</ins><span class="cx"> 
</span><del>-        MainFrame&amp; m_mainFrame;
-        Page* m_page;
-        const RefPtr&lt;Settings&gt; m_settings;
-        mutable FrameTree m_treeNode;
-        mutable FrameLoader m_loader;
-        mutable NavigationScheduler m_navigationScheduler;
</del><ins>+    MainFrame&amp; m_mainFrame;
+    Page* m_page;
+    const RefPtr&lt;Settings&gt; m_settings;
+    mutable FrameTree m_treeNode;
+    mutable FrameLoader m_loader;
+    mutable NavigationScheduler m_navigationScheduler;
</ins><span class="cx"> 
</span><del>-        HTMLFrameOwnerElement* m_ownerElement;
-        RefPtr&lt;FrameView&gt; m_view;
-        RefPtr&lt;Document&gt; m_doc;
</del><ins>+    HTMLFrameOwnerElement* m_ownerElement;
+    RefPtr&lt;FrameView&gt; m_view;
+    RefPtr&lt;Document&gt; m_doc;
</ins><span class="cx"> 
</span><del>-        const std::unique_ptr&lt;ScriptController&gt; m_script;
-        const std::unique_ptr&lt;Editor&gt; m_editor;
-        const std::unique_ptr&lt;FrameSelection&gt; m_selection;
-        const std::unique_ptr&lt;AnimationController&gt; m_animationController;
</del><ins>+    const std::unique_ptr&lt;ScriptController&gt; m_script;
+    const std::unique_ptr&lt;Editor&gt; m_editor;
+    const std::unique_ptr&lt;FrameSelection&gt; m_selection;
+    const std::unique_ptr&lt;AnimationController&gt; m_animationController;
</ins><span class="cx"> 
</span><span class="cx"> #if ENABLE(DATA_DETECTION)
</span><del>-        RetainPtr&lt;NSArray&gt; m_dataDetectionResults;
</del><ins>+    RetainPtr&lt;NSArray&gt; m_dataDetectionResults;
</ins><span class="cx"> #endif
</span><span class="cx"> #if PLATFORM(IOS)
</span><del>-        void betterApproximateNode(const IntPoint&amp; testPoint, NodeQualifier, Node*&amp; best, Node* failedNode, IntPoint&amp; bestPoint, IntRect&amp; bestRect, const IntRect&amp; testRect);
-        bool hitTestResultAtViewportLocation(const FloatPoint&amp; viewportLocation, HitTestResult&amp;, IntPoint&amp; center);
-        Node* qualifyingNodeAtViewportLocation(const FloatPoint&amp; viewportLocation, FloatPoint&amp; adjustedViewportLocation, NodeQualifier, bool shouldApproximate);
</del><ins>+    void betterApproximateNode(const IntPoint&amp; testPoint, NodeQualifier, Node*&amp; best, Node* failedNode, IntPoint&amp; bestPoint, IntRect&amp; bestRect, const IntRect&amp; testRect);
+    bool hitTestResultAtViewportLocation(const FloatPoint&amp; viewportLocation, HitTestResult&amp;, IntPoint&amp; center);
+    Node* qualifyingNodeAtViewportLocation(const FloatPoint&amp; viewportLocation, FloatPoint&amp; adjustedViewportLocation, NodeQualifier, bool shouldApproximate);
</ins><span class="cx"> 
</span><del>-        void overflowAutoScrollTimerFired();
-        void startOverflowAutoScroll(const IntPoint&amp;);
-        int checkOverflowScroll(OverflowScrollAction);
</del><ins>+    void overflowAutoScrollTimerFired();
+    void startOverflowAutoScroll(const IntPoint&amp;);
+    int checkOverflowScroll(OverflowScrollAction);
</ins><span class="cx"> 
</span><del>-        void setTimersPausedInternal(bool);
</del><ins>+    void setTimersPausedInternal(bool);
</ins><span class="cx"> 
</span><del>-        Timer m_overflowAutoScrollTimer;
-        float m_overflowAutoScrollDelta;
-        IntPoint m_overflowAutoScrollPos;
-        ViewportArguments m_viewportArguments;
-        bool m_selectionChangeCallbacksDisabled;
-        VisibleSelection m_rangedSelectionBase;
-        VisibleSelection m_rangedSelectionInitialExtent;
</del><ins>+    Timer m_overflowAutoScrollTimer;
+    float m_overflowAutoScrollDelta;
+    IntPoint m_overflowAutoScrollPos;
+    ViewportArguments m_viewportArguments;
+    bool m_selectionChangeCallbacksDisabled;
+    VisibleSelection m_rangedSelectionBase;
+    VisibleSelection m_rangedSelectionInitialExtent;
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-        float m_pageZoomFactor;
-        float m_textZoomFactor;
</del><ins>+    float m_pageZoomFactor;
+    float m_textZoomFactor;
</ins><span class="cx"> 
</span><del>-        int m_activeDOMObjectsAndAnimationsSuspendedCount;
-        bool m_mainFrameWasDestroyed { false };
</del><ins>+    int m_activeDOMObjectsAndAnimationsSuspendedCount;
+    bool m_mainFrameWasDestroyed { false };
</ins><span class="cx"> 
</span><del>-    protected:
-        std::unique_ptr&lt;EventHandler&gt; m_eventHandler;
-    };
</del><ins>+protected:
+    std::unique_ptr&lt;EventHandler&gt; m_eventHandler;
+};
</ins><span class="cx"> 
</span><del>-    inline void Frame::init()
-    {
-        m_loader.init();
-    }
</del><ins>+inline void Frame::init()
+{
+    m_loader.init();
+}
</ins><span class="cx"> 
</span><del>-    inline FrameLoader&amp; Frame::loader() const
-    {
-        return m_loader;
-    }
</del><ins>+inline FrameLoader&amp; Frame::loader() const
+{
+    return m_loader;
+}
</ins><span class="cx"> 
</span><del>-    inline NavigationScheduler&amp; Frame::navigationScheduler() const
-    {
-        return m_navigationScheduler;
-    }
</del><ins>+inline NavigationScheduler&amp; Frame::navigationScheduler() const
+{
+    return m_navigationScheduler;
+}
</ins><span class="cx"> 
</span><del>-    inline FrameView* Frame::view() const
-    {
-        return m_view.get();
-    }
</del><ins>+inline FrameView* Frame::view() const
+{
+    return m_view.get();
+}
</ins><span class="cx"> 
</span><del>-    inline ScriptController&amp; Frame::script()
-    {
-        return *m_script;
-    }
</del><ins>+inline ScriptController&amp; Frame::script()
+{
+    return *m_script;
+}
</ins><span class="cx"> 
</span><del>-    inline Document* Frame::document() const
-    {
-        return m_doc.get();
-    }
</del><ins>+inline Document* Frame::document() const
+{
+    return m_doc.get();
+}
</ins><span class="cx"> 
</span><del>-    inline FrameSelection&amp; Frame::selection() const
-    {
-        return *m_selection;
-    }
</del><ins>+inline FrameSelection&amp; Frame::selection() const
+{
+    return *m_selection;
+}
</ins><span class="cx"> 
</span><del>-    inline Editor&amp; Frame::editor() const
-    {
-        return *m_editor;
-    }
</del><ins>+inline Editor&amp; Frame::editor() const
+{
+    return *m_editor;
+}
</ins><span class="cx"> 
</span><del>-    inline AnimationController&amp; Frame::animation() const
-    {
-        return *m_animationController;
-    }
</del><ins>+inline AnimationController&amp; Frame::animation() const
+{
+    return *m_animationController;
+}
</ins><span class="cx"> 
</span><del>-    inline HTMLFrameOwnerElement* Frame::ownerElement() const
-    {
-        return m_ownerElement;
-    }
</del><ins>+inline HTMLFrameOwnerElement* Frame::ownerElement() const
+{
+    return m_ownerElement;
+}
</ins><span class="cx"> 
</span><del>-    inline FrameTree&amp; Frame::tree() const
-    {
-        return m_treeNode;
-    }
</del><ins>+inline FrameTree&amp; Frame::tree() const
+{
+    return m_treeNode;
+}
</ins><span class="cx"> 
</span><del>-    inline Page* Frame::page() const
-    {
-        return m_page;
-    }
</del><ins>+inline Page* Frame::page() const
+{
+    return m_page;
+}
</ins><span class="cx"> 
</span><del>-    inline void Frame::detachFromPage()
-    {
-        m_page = nullptr;
-    }
</del><ins>+inline void Frame::detachFromPage()
+{
+    m_page = nullptr;
+}
</ins><span class="cx"> 
</span><del>-    inline EventHandler&amp; Frame::eventHandler() const
-    {
-        return *m_eventHandler;
-    }
</del><ins>+inline EventHandler&amp; Frame::eventHandler() const
+{
+    return *m_eventHandler;
+}
</ins><span class="cx"> 
</span><del>-    inline EventHandler* Frame::eventHandlerPtr() const
-    {
-        return m_eventHandler.get();
-    }
</del><ins>+inline EventHandler* Frame::eventHandlerPtr() const
+{
+    return m_eventHandler.get();
+}
</ins><span class="cx"> 
</span><del>-    inline MainFrame&amp; Frame::mainFrame() const
-    {
-        ASSERT_WITH_SECURITY_IMPLICATION(!m_mainFrameWasDestroyed);
-        return m_mainFrame;
-    }
</del><ins>+inline MainFrame&amp; Frame::mainFrame() const
+{
+    ASSERT_WITH_SECURITY_IMPLICATION(!m_mainFrameWasDestroyed);
+    return m_mainFrame;
+}
</ins><span class="cx"> 
</span><del>-    inline void Frame::setMainFrameWasDestroyed()
-    {
-        m_mainFrameWasDestroyed = false;
-    }
</del><ins>+inline void Frame::setMainFrameWasDestroyed()
+{
+    m_mainFrameWasDestroyed = false;
+}
</ins><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorepageFrameTreeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/FrameTree.h (208803 => 208804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/FrameTree.h        2016-11-16 20:26:59 UTC (rev 208803)
+++ trunk/Source/WebCore/page/FrameTree.h        2016-11-16 20:43:14 UTC (rev 208804)
</span><span class="lines">@@ -23,89 +23,89 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-    class Frame;
-    class TreeScope;
</del><ins>+class Frame;
+class TreeScope;
</ins><span class="cx"> 
</span><del>-    class FrameTree {
-        WTF_MAKE_NONCOPYABLE(FrameTree);
-    public:
-        const static unsigned invalidCount = static_cast&lt;unsigned&gt;(-1);
</del><ins>+class FrameTree {
+    WTF_MAKE_NONCOPYABLE(FrameTree);
+public:
+    const static unsigned invalidCount = static_cast&lt;unsigned&gt;(-1);
</ins><span class="cx"> 
</span><del>-        FrameTree(Frame&amp; thisFrame, Frame* parentFrame)
-            : m_thisFrame(thisFrame)
-            , m_parent(parentFrame)
-            , m_previousSibling(nullptr)
-            , m_lastChild(nullptr)
-            , m_scopedChildCount(invalidCount)
-        {
-        }
</del><ins>+    FrameTree(Frame&amp; thisFrame, Frame* parentFrame)
+        : m_thisFrame(thisFrame)
+        , m_parent(parentFrame)
+        , m_previousSibling(nullptr)
+        , m_lastChild(nullptr)
+        , m_scopedChildCount(invalidCount)
+    {
+    }
</ins><span class="cx"> 
</span><del>-        ~FrameTree();
</del><ins>+    ~FrameTree();
</ins><span class="cx"> 
</span><del>-        const AtomicString&amp; name() const { return m_name; }
-        const AtomicString&amp; uniqueName() const { return m_uniqueName; }
-        WEBCORE_EXPORT void setName(const AtomicString&amp;);
-        WEBCORE_EXPORT void clearName();
-        WEBCORE_EXPORT Frame* parent() const;
-        void setParent(Frame* parent) { m_parent = parent; }
-        
-        Frame* nextSibling() const { return m_nextSibling.get(); }
-        Frame* previousSibling() const { return m_previousSibling; }
-        Frame* firstChild() const { return m_firstChild.get(); }
-        Frame* lastChild() const { return m_lastChild; }
</del><ins>+    const AtomicString&amp; name() const { return m_name; }
+    const AtomicString&amp; uniqueName() const { return m_uniqueName; }
+    WEBCORE_EXPORT void setName(const AtomicString&amp;);
+    WEBCORE_EXPORT void clearName();
+    WEBCORE_EXPORT Frame* parent() const;
+    void setParent(Frame* parent) { m_parent = parent; }
+    
+    Frame* nextSibling() const { return m_nextSibling.get(); }
+    Frame* previousSibling() const { return m_previousSibling; }
+    Frame* firstChild() const { return m_firstChild.get(); }
+    Frame* lastChild() const { return m_lastChild; }
</ins><span class="cx"> 
</span><del>-        Frame* firstRenderedChild() const;
-        Frame* nextRenderedSibling() const;
</del><ins>+    Frame* firstRenderedChild() const;
+    Frame* nextRenderedSibling() const;
</ins><span class="cx"> 
</span><del>-        WEBCORE_EXPORT bool isDescendantOf(const Frame* ancestor) const;
-        
-        WEBCORE_EXPORT Frame* traverseNext(const Frame* stayWithin = nullptr) const;
-        // Rendered means being the main frame or having an ownerRenderer. It may not have been parented in the Widget tree yet (see WidgetHierarchyUpdatesSuspensionScope).
-        WEBCORE_EXPORT Frame* traverseNextRendered(const Frame* stayWithin = nullptr) const;
-        WEBCORE_EXPORT Frame* traverseNextWithWrap(bool) const;
-        WEBCORE_EXPORT Frame* traversePreviousWithWrap(bool) const;
-        
-        WEBCORE_EXPORT void appendChild(PassRefPtr&lt;Frame&gt;);
-        bool transferChild(PassRefPtr&lt;Frame&gt;);
-        void detachFromParent() { m_parent = nullptr; }
-        void removeChild(Frame*);
</del><ins>+    WEBCORE_EXPORT bool isDescendantOf(const Frame* ancestor) const;
+    
+    WEBCORE_EXPORT Frame* traverseNext(const Frame* stayWithin = nullptr) const;
+    // Rendered means being the main frame or having an ownerRenderer. It may not have been parented in the Widget tree yet (see WidgetHierarchyUpdatesSuspensionScope).
+    WEBCORE_EXPORT Frame* traverseNextRendered(const Frame* stayWithin = nullptr) const;
+    WEBCORE_EXPORT Frame* traverseNextWithWrap(bool) const;
+    WEBCORE_EXPORT Frame* traversePreviousWithWrap(bool) const;
+    
+    WEBCORE_EXPORT void appendChild(PassRefPtr&lt;Frame&gt;);
+    bool transferChild(PassRefPtr&lt;Frame&gt;);
+    void detachFromParent() { m_parent = nullptr; }
+    void removeChild(Frame*);
</ins><span class="cx"> 
</span><del>-        Frame* child(unsigned index) const;
-        Frame* child(const AtomicString&amp; name) const;
-        WEBCORE_EXPORT Frame* find(const AtomicString&amp; name) const;
-        WEBCORE_EXPORT unsigned childCount() const;
</del><ins>+    Frame* child(unsigned index) const;
+    Frame* child(const AtomicString&amp; name) const;
+    WEBCORE_EXPORT Frame* find(const AtomicString&amp; name) const;
+    WEBCORE_EXPORT unsigned childCount() const;
</ins><span class="cx"> 
</span><del>-        AtomicString uniqueChildName(const AtomicString&amp; requestedName) const;
</del><ins>+    AtomicString uniqueChildName(const AtomicString&amp; requestedName) const;
</ins><span class="cx"> 
</span><del>-        WEBCORE_EXPORT Frame&amp; top() const;
</del><ins>+    WEBCORE_EXPORT Frame&amp; top() const;
</ins><span class="cx"> 
</span><del>-        WEBCORE_EXPORT Frame* scopedChild(unsigned index) const;
-        WEBCORE_EXPORT Frame* scopedChild(const AtomicString&amp; name) const;
-        unsigned scopedChildCount() const;
</del><ins>+    WEBCORE_EXPORT Frame* scopedChild(unsigned index) const;
+    WEBCORE_EXPORT Frame* scopedChild(const AtomicString&amp; name) const;
+    unsigned scopedChildCount() const;
</ins><span class="cx"> 
</span><del>-        unsigned indexInParent() const;
</del><ins>+    unsigned indexInParent() const;
</ins><span class="cx"> 
</span><del>-    private:
-        Frame* deepLastChild() const;
-        void actuallyAppendChild(PassRefPtr&lt;Frame&gt;);
</del><ins>+private:
+    Frame* deepLastChild() const;
+    void actuallyAppendChild(PassRefPtr&lt;Frame&gt;);
</ins><span class="cx"> 
</span><del>-        bool scopedBy(TreeScope*) const;
-        Frame* scopedChild(unsigned index, TreeScope*) const;
-        Frame* scopedChild(const AtomicString&amp; name, TreeScope*) const;
-        unsigned scopedChildCount(TreeScope*) const;
</del><ins>+    bool scopedBy(TreeScope*) const;
+    Frame* scopedChild(unsigned index, TreeScope*) const;
+    Frame* scopedChild(const AtomicString&amp; name, TreeScope*) const;
+    unsigned scopedChildCount(TreeScope*) const;
</ins><span class="cx"> 
</span><del>-        Frame&amp; m_thisFrame;
</del><ins>+    Frame&amp; m_thisFrame;
</ins><span class="cx"> 
</span><del>-        Frame* m_parent;
-        AtomicString m_name; // The actual frame name (may be empty).
-        AtomicString m_uniqueName;
</del><ins>+    Frame* m_parent;
+    AtomicString m_name; // The actual frame name (may be empty).
+    AtomicString m_uniqueName;
</ins><span class="cx"> 
</span><del>-        RefPtr&lt;Frame&gt; m_nextSibling;
-        Frame* m_previousSibling;
-        RefPtr&lt;Frame&gt; m_firstChild;
-        Frame* m_lastChild;
-        mutable unsigned m_scopedChildCount;
-    };
</del><ins>+    RefPtr&lt;Frame&gt; m_nextSibling;
+    Frame* m_previousSibling;
+    RefPtr&lt;Frame&gt; m_firstChild;
+    Frame* m_lastChild;
+    mutable unsigned m_scopedChildCount;
+};
</ins><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorepagePageGrouph"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/PageGroup.h (208803 => 208804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/PageGroup.h        2016-11-16 20:26:59 UTC (rev 208803)
+++ trunk/Source/WebCore/page/PageGroup.h        2016-11-16 20:43:14 UTC (rev 208804)
</span><span class="lines">@@ -32,42 +32,42 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-    class Page;
</del><ins>+class Page;
</ins><span class="cx"> #if ENABLE(VIDEO_TRACK)
</span><del>-    class CaptionUserPreferences;
</del><ins>+class CaptionUserPreferences;
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-    class PageGroup {
-        WTF_MAKE_NONCOPYABLE(PageGroup); WTF_MAKE_FAST_ALLOCATED;
-    public:
-        WEBCORE_EXPORT explicit PageGroup(const String&amp; name);
-        explicit PageGroup(Page&amp;);
-        ~PageGroup();
</del><ins>+class PageGroup {
+    WTF_MAKE_NONCOPYABLE(PageGroup); WTF_MAKE_FAST_ALLOCATED;
+public:
+    WEBCORE_EXPORT explicit PageGroup(const String&amp; name);
+    explicit PageGroup(Page&amp;);
+    ~PageGroup();
</ins><span class="cx"> 
</span><del>-        WEBCORE_EXPORT static PageGroup* pageGroup(const String&amp; groupName);
</del><ins>+    WEBCORE_EXPORT static PageGroup* pageGroup(const String&amp; groupName);
</ins><span class="cx"> 
</span><del>-        const HashSet&lt;Page*&gt;&amp; pages() const { return m_pages; }
</del><ins>+    const HashSet&lt;Page*&gt;&amp; pages() const { return m_pages; }
</ins><span class="cx"> 
</span><del>-        void addPage(Page&amp;);
-        void removePage(Page&amp;);
</del><ins>+    void addPage(Page&amp;);
+    void removePage(Page&amp;);
</ins><span class="cx"> 
</span><del>-        const String&amp; name() { return m_name; }
-        unsigned identifier() { return m_identifier; }
</del><ins>+    const String&amp; name() { return m_name; }
+    unsigned identifier() { return m_identifier; }
</ins><span class="cx"> 
</span><span class="cx"> #if ENABLE(VIDEO_TRACK)
</span><del>-        WEBCORE_EXPORT void captionPreferencesChanged();
-        WEBCORE_EXPORT CaptionUserPreferences&amp; captionPreferences();
</del><ins>+    WEBCORE_EXPORT void captionPreferencesChanged();
+    WEBCORE_EXPORT CaptionUserPreferences&amp; captionPreferences();
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-    private:
-        String m_name;
-        HashSet&lt;Page*&gt; m_pages;
</del><ins>+private:
+    String m_name;
+    HashSet&lt;Page*&gt; m_pages;
</ins><span class="cx"> 
</span><del>-        unsigned m_identifier;
</del><ins>+    unsigned m_identifier;
</ins><span class="cx"> 
</span><span class="cx"> #if ENABLE(VIDEO_TRACK)
</span><del>-        std::unique_ptr&lt;CaptionUserPreferences&gt; m_captionPreferences;
</del><ins>+    std::unique_ptr&lt;CaptionUserPreferences&gt; m_captionPreferences;
</ins><span class="cx"> #endif
</span><del>-    };
</del><ins>+};
</ins><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformCursorh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/Cursor.h (208803 => 208804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/Cursor.h        2016-11-16 20:26:59 UTC (rev 208803)
+++ trunk/Source/WebCore/platform/Cursor.h        2016-11-16 20:43:14 UTC (rev 208804)
</span><span class="lines">@@ -23,8 +23,7 @@
</span><span class="cx">  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-#ifndef Cursor_h
-#define Cursor_h
</del><ins>+#pragma once
</ins><span class="cx"> 
</span><span class="cx"> #include &quot;Image.h&quot;
</span><span class="cx"> #include &quot;IntPoint.h&quot;
</span><span class="lines">@@ -52,183 +51,181 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-    class Image;
</del><ins>+class Image;
</ins><span class="cx"> 
</span><span class="cx"> #if PLATFORM(WIN)
</span><del>-    class SharedCursor : public RefCounted&lt;SharedCursor&gt; {
-    public:
-        static Ref&lt;SharedCursor&gt; create(HCURSOR nativeCursor) { return adoptRef(*new SharedCursor(nativeCursor)); }
-        ~SharedCursor();
-        HCURSOR nativeCursor() const { return m_nativeCursor; }
-    private:
-        SharedCursor(HCURSOR nativeCursor) : m_nativeCursor(nativeCursor) { }
-        HCURSOR m_nativeCursor;
-    };
-    typedef RefPtr&lt;SharedCursor&gt; PlatformCursor;
</del><ins>+class SharedCursor : public RefCounted&lt;SharedCursor&gt; {
+public:
+    static Ref&lt;SharedCursor&gt; create(HCURSOR nativeCursor) { return adoptRef(*new SharedCursor(nativeCursor)); }
+    ~SharedCursor();
+    HCURSOR nativeCursor() const { return m_nativeCursor; }
+private:
+    SharedCursor(HCURSOR nativeCursor) : m_nativeCursor(nativeCursor) { }
+    HCURSOR m_nativeCursor;
+};
+typedef RefPtr&lt;SharedCursor&gt; PlatformCursor;
</ins><span class="cx"> #elif USE(APPKIT)
</span><del>-    typedef NSCursor *PlatformCursor;
</del><ins>+typedef NSCursor *PlatformCursor;
</ins><span class="cx"> #elif PLATFORM(GTK)
</span><del>-    typedef GRefPtr&lt;GdkCursor&gt; PlatformCursor;
</del><ins>+typedef GRefPtr&lt;GdkCursor&gt; PlatformCursor;
</ins><span class="cx"> #elif PLATFORM(EFL)
</span><del>-    typedef const char* PlatformCursor;
</del><ins>+typedef const char* PlatformCursor;
</ins><span class="cx"> #else
</span><del>-    typedef void* PlatformCursor;
</del><ins>+typedef void* PlatformCursor;
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-    class Cursor {
-        WTF_MAKE_FAST_ALLOCATED;
-    public:
-        enum Type {
-            Pointer = 0,
-            Cross,
-            Hand,
-            IBeam,
-            Wait,
-            Help,
-            EastResize,
-            NorthResize,
-            NorthEastResize,
-            NorthWestResize,
-            SouthResize,
-            SouthEastResize,
-            SouthWestResize,
-            WestResize,
-            NorthSouthResize,
-            EastWestResize,
-            NorthEastSouthWestResize,
-            NorthWestSouthEastResize,
-            ColumnResize,
-            RowResize,
-            MiddlePanning,
-            EastPanning,
-            NorthPanning,
-            NorthEastPanning,
-            NorthWestPanning,
-            SouthPanning,
-            SouthEastPanning,
-            SouthWestPanning,
-            WestPanning,
-            Move,
-            VerticalText,
-            Cell,
-            ContextMenu,
-            Alias,
-            Progress,
-            NoDrop,
-            Copy,
-            None,
-            NotAllowed,
-            ZoomIn,
-            ZoomOut,
-            Grab,
-            Grabbing,
-            Custom
-        };
</del><ins>+class Cursor {
+    WTF_MAKE_FAST_ALLOCATED;
+public:
+    enum Type {
+        Pointer = 0,
+        Cross,
+        Hand,
+        IBeam,
+        Wait,
+        Help,
+        EastResize,
+        NorthResize,
+        NorthEastResize,
+        NorthWestResize,
+        SouthResize,
+        SouthEastResize,
+        SouthWestResize,
+        WestResize,
+        NorthSouthResize,
+        EastWestResize,
+        NorthEastSouthWestResize,
+        NorthWestSouthEastResize,
+        ColumnResize,
+        RowResize,
+        MiddlePanning,
+        EastPanning,
+        NorthPanning,
+        NorthEastPanning,
+        NorthWestPanning,
+        SouthPanning,
+        SouthEastPanning,
+        SouthWestPanning,
+        WestPanning,
+        Move,
+        VerticalText,
+        Cell,
+        ContextMenu,
+        Alias,
+        Progress,
+        NoDrop,
+        Copy,
+        None,
+        NotAllowed,
+        ZoomIn,
+        ZoomOut,
+        Grab,
+        Grabbing,
+        Custom
+    };
</ins><span class="cx"> 
</span><del>-        WEBCORE_EXPORT static const Cursor&amp; fromType(Cursor::Type);
</del><ins>+    WEBCORE_EXPORT static const Cursor&amp; fromType(Cursor::Type);
</ins><span class="cx"> 
</span><del>-        Cursor()
</del><ins>+    Cursor()
</ins><span class="cx"> #if !PLATFORM(IOS)
</span><del>-            // This is an invalid Cursor and should never actually get used.
-            : m_type(static_cast&lt;Type&gt;(-1))
</del><ins>+        // This is an invalid Cursor and should never actually get used.
+        : m_type(static_cast&lt;Type&gt;(-1))
</ins><span class="cx"> #if ENABLE(MOUSE_CURSOR_SCALE)
</span><del>-            , m_imageScaleFactor(1)
</del><ins>+        , m_imageScaleFactor(1)
</ins><span class="cx"> #endif
</span><del>-            , m_platformCursor(0)
</del><ins>+        , m_platformCursor(0)
</ins><span class="cx"> #endif // !PLATFORM(IOS)
</span><del>-        {
-        }
</del><ins>+    {
+    }
</ins><span class="cx"> 
</span><span class="cx"> #if !PLATFORM(IOS)
</span><del>-        WEBCORE_EXPORT Cursor(Image*, const IntPoint&amp; hotSpot);
-        WEBCORE_EXPORT Cursor(const Cursor&amp;);
</del><ins>+    WEBCORE_EXPORT Cursor(Image*, const IntPoint&amp; hotSpot);
+    WEBCORE_EXPORT Cursor(const Cursor&amp;);
</ins><span class="cx"> 
</span><span class="cx"> #if ENABLE(MOUSE_CURSOR_SCALE)
</span><del>-        // Hot spot is in image pixels.
-        WEBCORE_EXPORT Cursor(Image*, const IntPoint&amp; hotSpot, float imageScaleFactor);
</del><ins>+    // Hot spot is in image pixels.
+    WEBCORE_EXPORT Cursor(Image*, const IntPoint&amp; hotSpot, float imageScaleFactor);
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-        WEBCORE_EXPORT ~Cursor();
-        WEBCORE_EXPORT Cursor&amp; operator=(const Cursor&amp;);
</del><ins>+    WEBCORE_EXPORT ~Cursor();
+    WEBCORE_EXPORT Cursor&amp; operator=(const Cursor&amp;);
</ins><span class="cx"> 
</span><del>-        explicit Cursor(Type);
-        Type type() const
-        {
-            ASSERT(m_type &gt;= 0 &amp;&amp; m_type &lt;= Custom);
-            return m_type;
-        }
-        Image* image() const { return m_image.get(); }
-        const IntPoint&amp; hotSpot() const { return m_hotSpot; }
</del><ins>+    explicit Cursor(Type);
+    Type type() const
+    {
+        ASSERT(m_type &gt;= 0 &amp;&amp; m_type &lt;= Custom);
+        return m_type;
+    }
+    Image* image() const { return m_image.get(); }
+    const IntPoint&amp; hotSpot() const { return m_hotSpot; }
</ins><span class="cx"> #if ENABLE(MOUSE_CURSOR_SCALE)
</span><del>-        // Image scale in image pixels per logical (UI) pixel.
-        float imageScaleFactor() const { return m_imageScaleFactor; }
</del><ins>+    // Image scale in image pixels per logical (UI) pixel.
+    float imageScaleFactor() const { return m_imageScaleFactor; }
</ins><span class="cx"> #endif
</span><del>-        WEBCORE_EXPORT PlatformCursor platformCursor() const;
</del><ins>+    WEBCORE_EXPORT PlatformCursor platformCursor() const;
</ins><span class="cx"> 
</span><del>-     private:
-        void ensurePlatformCursor() const;
</del><ins>+ private:
+    void ensurePlatformCursor() const;
</ins><span class="cx"> 
</span><del>-        Type m_type;
-        RefPtr&lt;Image&gt; m_image;
-        IntPoint m_hotSpot;
</del><ins>+    Type m_type;
+    RefPtr&lt;Image&gt; m_image;
+    IntPoint m_hotSpot;
</ins><span class="cx"> #if ENABLE(MOUSE_CURSOR_SCALE)
</span><del>-        float m_imageScaleFactor;
</del><ins>+    float m_imageScaleFactor;
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if !USE(APPKIT)
</span><del>-        mutable PlatformCursor m_platformCursor;
</del><ins>+    mutable PlatformCursor m_platformCursor;
</ins><span class="cx"> #else
</span><del>-        mutable RetainPtr&lt;NSCursor&gt; m_platformCursor;
</del><ins>+    mutable RetainPtr&lt;NSCursor&gt; m_platformCursor;
</ins><span class="cx"> #endif
</span><span class="cx"> #endif // !PLATFORM(IOS)
</span><del>-    };
</del><ins>+};
</ins><span class="cx"> 
</span><del>-    IntPoint determineHotSpot(Image*, const IntPoint&amp; specifiedHotSpot);
-    
-    WEBCORE_EXPORT const Cursor&amp; pointerCursor();
-    const Cursor&amp; crossCursor();
-    WEBCORE_EXPORT const Cursor&amp; handCursor();
-    const Cursor&amp; moveCursor();
-    WEBCORE_EXPORT const Cursor&amp; iBeamCursor();
-    const Cursor&amp; waitCursor();
-    const Cursor&amp; helpCursor();
-    const Cursor&amp; eastResizeCursor();
-    const Cursor&amp; northResizeCursor();
-    const Cursor&amp; northEastResizeCursor();
-    const Cursor&amp; northWestResizeCursor();
-    const Cursor&amp; southResizeCursor();
-    const Cursor&amp; southEastResizeCursor();
-    const Cursor&amp; southWestResizeCursor();
-    const Cursor&amp; westResizeCursor();
-    const Cursor&amp; northSouthResizeCursor();
-    const Cursor&amp; eastWestResizeCursor();
-    const Cursor&amp; northEastSouthWestResizeCursor();
-    const Cursor&amp; northWestSouthEastResizeCursor();
-    const Cursor&amp; columnResizeCursor();
-    const Cursor&amp; rowResizeCursor();
-    const Cursor&amp; middlePanningCursor();
-    const Cursor&amp; eastPanningCursor();
-    const Cursor&amp; northPanningCursor();
-    const Cursor&amp; northEastPanningCursor();
-    const Cursor&amp; northWestPanningCursor();
-    const Cursor&amp; southPanningCursor();
-    const Cursor&amp; southEastPanningCursor();
-    const Cursor&amp; southWestPanningCursor();
-    const Cursor&amp; westPanningCursor();
-    const Cursor&amp; verticalTextCursor();
-    const Cursor&amp; cellCursor();
-    const Cursor&amp; contextMenuCursor();
-    const Cursor&amp; noDropCursor();
-    const Cursor&amp; notAllowedCursor();
-    const Cursor&amp; progressCursor();
-    const Cursor&amp; aliasCursor();
-    const Cursor&amp; zoomInCursor();
-    const Cursor&amp; zoomOutCursor();
-    const Cursor&amp; copyCursor();
-    const Cursor&amp; noneCursor();
-    const Cursor&amp; grabCursor();
-    const Cursor&amp; grabbingCursor();
</del><ins>+IntPoint determineHotSpot(Image*, const IntPoint&amp; specifiedHotSpot);
</ins><span class="cx"> 
</span><ins>+WEBCORE_EXPORT const Cursor&amp; pointerCursor();
+const Cursor&amp; crossCursor();
+WEBCORE_EXPORT const Cursor&amp; handCursor();
+const Cursor&amp; moveCursor();
+WEBCORE_EXPORT const Cursor&amp; iBeamCursor();
+const Cursor&amp; waitCursor();
+const Cursor&amp; helpCursor();
+const Cursor&amp; eastResizeCursor();
+const Cursor&amp; northResizeCursor();
+const Cursor&amp; northEastResizeCursor();
+const Cursor&amp; northWestResizeCursor();
+const Cursor&amp; southResizeCursor();
+const Cursor&amp; southEastResizeCursor();
+const Cursor&amp; southWestResizeCursor();
+const Cursor&amp; westResizeCursor();
+const Cursor&amp; northSouthResizeCursor();
+const Cursor&amp; eastWestResizeCursor();
+const Cursor&amp; northEastSouthWestResizeCursor();
+const Cursor&amp; northWestSouthEastResizeCursor();
+const Cursor&amp; columnResizeCursor();
+const Cursor&amp; rowResizeCursor();
+const Cursor&amp; middlePanningCursor();
+const Cursor&amp; eastPanningCursor();
+const Cursor&amp; northPanningCursor();
+const Cursor&amp; northEastPanningCursor();
+const Cursor&amp; northWestPanningCursor();
+const Cursor&amp; southPanningCursor();
+const Cursor&amp; southEastPanningCursor();
+const Cursor&amp; southWestPanningCursor();
+const Cursor&amp; westPanningCursor();
+const Cursor&amp; verticalTextCursor();
+const Cursor&amp; cellCursor();
+const Cursor&amp; contextMenuCursor();
+const Cursor&amp; noDropCursor();
+const Cursor&amp; notAllowedCursor();
+const Cursor&amp; progressCursor();
+const Cursor&amp; aliasCursor();
+const Cursor&amp; zoomInCursor();
+const Cursor&amp; zoomOutCursor();
+const Cursor&amp; copyCursor();
+const Cursor&amp; noneCursor();
+const Cursor&amp; grabCursor();
+const Cursor&amp; grabbingCursor();
+
</ins><span class="cx"> } // namespace WebCore
</span><del>-
-#endif // Cursor_h
</del></span></pre>
</div>
</div>

</body>
</html>