<!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>[164254] trunk/Source</title>
</head>
<body>

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

<h3>Log Message</h3>
<pre>Remove view source code
https://bugs.webkit.org/show_bug.cgi?id=127233

Reviewed by Antti Koivisto.

Source/WebCore:

* CMakeLists.txt:
* DerivedSources.make:
* GNUmakefile.am:
* GNUmakefile.list.am:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebCore.xcodeproj/project.pbxproj:
* bindings/js/ScriptController.cpp:
(WebCore::ScriptController::canExecuteScripts):
* css/CSSDefaultStyleSheets.cpp:
* css/CSSDefaultStyleSheets.h:
* css/DocumentRuleSets.cpp:
(WebCore::DocumentRuleSets::appendAuthorStyleSheets):
(WebCore::DocumentRuleSets::collectFeatures):
* css/DocumentRuleSets.h:
* css/ElementRuleCollector.cpp:
(WebCore::ElementRuleCollector::matchUARules):
* css/StyleResolver.cpp:
(WebCore::StyleResolver::appendAuthorStyleSheets):
(WebCore::StyleResolver::styleForElement):
* css/view-source.css: Removed.
* dom/DOMImplementation.cpp:
(WebCore::DOMImplementation::createDocument):
* dom/DOMImplementation.h:
* dom/Document.cpp:
(WebCore::Document::Document):
* dom/Document.h:
* html/HTMLAttributeNames.in:
* html/HTMLFrameElementBase.cpp:
(WebCore::HTMLFrameElementBase::HTMLFrameElementBase):
(WebCore::HTMLFrameElementBase::openURL):
* html/HTMLFrameElementBase.h:
* html/HTMLViewSourceDocument.cpp: Removed.
* html/HTMLViewSourceDocument.h: Removed.
* html/parser/HTMLToken.h:
* html/parser/HTMLViewSourceParser.cpp: Removed.
* html/parser/HTMLViewSourceParser.h: Removed.
* html/parser/TextViewSourceParser.cpp: Removed.
* html/parser/TextViewSourceParser.h: Removed.
* inspector/InspectorOverlayPage.css:
(.tag-name):
(.node-id):
(.class-name):
* loader/DocumentWriter.cpp:
(WebCore::DocumentWriter::createDocument):
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::receivedFirstData):
* page/Frame.cpp:
(WebCore::Frame::Frame):
* page/Frame.h:
* xml/DOMParser.cpp:
(WebCore::DOMParser::parseFromString):
* xml/XMLViewer.css:
(.tag):
* xml/XSLTProcessor.cpp:
(WebCore::XSLTProcessor::createDocumentFromSource):

Source/WebKit/mac:

* WebView/WebView.mm:
* WebView/WebViewPrivate.h:

Source/WebKit/win:

* WebFrame.cpp:
(WebFrame::inViewSourceMode):
(WebFrame::setInViewSourceMode):
* WebView.cpp:
(WebView::setInViewSourceMode):
(WebView::inViewSourceMode):

Source/WebKit2:

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::WebPageProxy):
* UIProcess/WebPageProxy.h:
* WebProcess/WebPage/WebPage.cpp:
* WebProcess/WebPage/WebPage.h:
* WebProcess/WebPage/WebPage.messages.in:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreCMakeListstxt">trunk/Source/WebCore/CMakeLists.txt</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreDerivedSourcesmake">trunk/Source/WebCore/DerivedSources.make</a></li>
<li><a href="#trunkSourceWebCoreGNUmakefileam">trunk/Source/WebCore/GNUmakefile.am</a></li>
<li><a href="#trunkSourceWebCoreGNUmakefilelistam">trunk/Source/WebCore/GNUmakefile.list.am</a></li>
<li><a href="#trunkSourceWebCoreWebCorevcxprojWebCorevcxproj">trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj</a></li>
<li><a href="#trunkSourceWebCoreWebCorevcxprojWebCorevcxprojfilters">trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters</a></li>
<li><a href="#trunkSourceWebCoreWebCorexcodeprojprojectpbxproj">trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj</a></li>
<li><a href="#trunkSourceWebCorebindingsjsScriptControllercpp">trunk/Source/WebCore/bindings/js/ScriptController.cpp</a></li>
<li><a href="#trunkSourceWebCorecssCSSDefaultStyleSheetscpp">trunk/Source/WebCore/css/CSSDefaultStyleSheets.cpp</a></li>
<li><a href="#trunkSourceWebCorecssCSSDefaultStyleSheetsh">trunk/Source/WebCore/css/CSSDefaultStyleSheets.h</a></li>
<li><a href="#trunkSourceWebCorecssDocumentRuleSetscpp">trunk/Source/WebCore/css/DocumentRuleSets.cpp</a></li>
<li><a href="#trunkSourceWebCorecssDocumentRuleSetsh">trunk/Source/WebCore/css/DocumentRuleSets.h</a></li>
<li><a href="#trunkSourceWebCorecssElementRuleCollectorcpp">trunk/Source/WebCore/css/ElementRuleCollector.cpp</a></li>
<li><a href="#trunkSourceWebCorecssStyleResolvercpp">trunk/Source/WebCore/css/StyleResolver.cpp</a></li>
<li><a href="#trunkSourceWebCoredomDOMImplementationcpp">trunk/Source/WebCore/dom/DOMImplementation.cpp</a></li>
<li><a href="#trunkSourceWebCoredomDOMImplementationh">trunk/Source/WebCore/dom/DOMImplementation.h</a></li>
<li><a href="#trunkSourceWebCoredomDocumentcpp">trunk/Source/WebCore/dom/Document.cpp</a></li>
<li><a href="#trunkSourceWebCoredomDocumenth">trunk/Source/WebCore/dom/Document.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLAttributeNamesin">trunk/Source/WebCore/html/HTMLAttributeNames.in</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLFrameElementBasecpp">trunk/Source/WebCore/html/HTMLFrameElementBase.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLFrameElementBaseh">trunk/Source/WebCore/html/HTMLFrameElementBase.h</a></li>
<li><a href="#trunkSourceWebCorehtmlparserHTMLTokenh">trunk/Source/WebCore/html/parser/HTMLToken.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorOverlayPagecss">trunk/Source/WebCore/inspector/InspectorOverlayPage.css</a></li>
<li><a href="#trunkSourceWebCoreloaderDocumentWritercpp">trunk/Source/WebCore/loader/DocumentWriter.cpp</a></li>
<li><a href="#trunkSourceWebCoreloaderFrameLoadercpp">trunk/Source/WebCore/loader/FrameLoader.cpp</a></li>
<li><a href="#trunkSourceWebCorepageFramecpp">trunk/Source/WebCore/page/Frame.cpp</a></li>
<li><a href="#trunkSourceWebCorepageFrameh">trunk/Source/WebCore/page/Frame.h</a></li>
<li><a href="#trunkSourceWebCorexmlDOMParsercpp">trunk/Source/WebCore/xml/DOMParser.cpp</a></li>
<li><a href="#trunkSourceWebCorexmlXMLViewercss">trunk/Source/WebCore/xml/XMLViewer.css</a></li>
<li><a href="#trunkSourceWebCorexmlXSLTProcessorcpp">trunk/Source/WebCore/xml/XSLTProcessor.cpp</a></li>
<li><a href="#trunkSourceWebKitmacChangeLog">trunk/Source/WebKit/mac/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitmacWebViewWebViewmm">trunk/Source/WebKit/mac/WebView/WebView.mm</a></li>
<li><a href="#trunkSourceWebKitmacWebViewWebViewPrivateh">trunk/Source/WebKit/mac/WebView/WebViewPrivate.h</a></li>
<li><a href="#trunkSourceWebKitwinChangeLog">trunk/Source/WebKit/win/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitwinWebFramecpp">trunk/Source/WebKit/win/WebFrame.cpp</a></li>
<li><a href="#trunkSourceWebKitwinWebViewcpp">trunk/Source/WebKit/win/WebView.cpp</a></li>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2UIProcessWebPageProxycpp">trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessWebPageProxyh">trunk/Source/WebKit2/UIProcess/WebPageProxy.h</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebPageWebPagecpp">trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebPageWebPageh">trunk/Source/WebKit2/WebProcess/WebPage/WebPage.h</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebPageWebPagemessagesin">trunk/Source/WebKit2/WebProcess/WebPage/WebPage.messages.in</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkSourceWebCorecssviewsourcecss">trunk/Source/WebCore/css/view-source.css</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLViewSourceDocumentcpp">trunk/Source/WebCore/html/HTMLViewSourceDocument.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLViewSourceDocumenth">trunk/Source/WebCore/html/HTMLViewSourceDocument.h</a></li>
<li><a href="#trunkSourceWebCorehtmlparserHTMLViewSourceParsercpp">trunk/Source/WebCore/html/parser/HTMLViewSourceParser.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlparserHTMLViewSourceParserh">trunk/Source/WebCore/html/parser/HTMLViewSourceParser.h</a></li>
<li><a href="#trunkSourceWebCorehtmlparserTextViewSourceParsercpp">trunk/Source/WebCore/html/parser/TextViewSourceParser.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlparserTextViewSourceParserh">trunk/Source/WebCore/html/parser/TextViewSourceParser.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreCMakeListstxt"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/CMakeLists.txt (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/CMakeLists.txt        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/CMakeLists.txt        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -1449,7 +1449,6 @@
</span><span class="cx">     html/HTMLTrackElement.cpp
</span><span class="cx">     html/HTMLUListElement.cpp
</span><span class="cx">     html/HTMLVideoElement.cpp
</span><del>-    html/HTMLViewSourceDocument.cpp
</del><span class="cx">     html/HiddenInputType.cpp
</span><span class="cx">     html/ImageData.cpp
</span><span class="cx">     html/ImageDocument.cpp
</span><span class="lines">@@ -1548,9 +1547,7 @@
</span><span class="cx">     html/parser/HTMLSourceTracker.cpp
</span><span class="cx">     html/parser/HTMLTokenizer.cpp
</span><span class="cx">     html/parser/HTMLTreeBuilder.cpp
</span><del>-    html/parser/HTMLViewSourceParser.cpp
</del><span class="cx">     html/parser/TextDocumentParser.cpp
</span><del>-    html/parser/TextViewSourceParser.cpp
</del><span class="cx">     html/parser/XSSAuditor.cpp
</span><span class="cx">     html/parser/XSSAuditorDelegate.cpp
</span><span class="cx"> 
</span><span class="lines">@@ -2568,7 +2565,6 @@
</span><span class="cx">     ${WEBCORE_DIR}/css/plugIns.css
</span><span class="cx">     ${WEBCORE_DIR}/css/quirks.css
</span><span class="cx">     ${WEBCORE_DIR}/css/svg.css
</span><del>-    ${WEBCORE_DIR}/css/view-source.css
</del><span class="cx"> )
</span><span class="cx"> 
</span><span class="cx"> set(WebCore_PLUG_INS_RESOURCES
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/ChangeLog        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -1,3 +1,67 @@
</span><ins>+2014-02-17  Anders Carlsson  &lt;andersca@apple.com&gt;
+
+        Remove view source code
+        https://bugs.webkit.org/show_bug.cgi?id=127233
+
+        Reviewed by Antti Koivisto.
+
+        * CMakeLists.txt:
+        * DerivedSources.make:
+        * GNUmakefile.am:
+        * GNUmakefile.list.am:
+        * WebCore.vcxproj/WebCore.vcxproj:
+        * WebCore.vcxproj/WebCore.vcxproj.filters:
+        * WebCore.xcodeproj/project.pbxproj:
+        * bindings/js/ScriptController.cpp:
+        (WebCore::ScriptController::canExecuteScripts):
+        * css/CSSDefaultStyleSheets.cpp:
+        * css/CSSDefaultStyleSheets.h:
+        * css/DocumentRuleSets.cpp:
+        (WebCore::DocumentRuleSets::appendAuthorStyleSheets):
+        (WebCore::DocumentRuleSets::collectFeatures):
+        * css/DocumentRuleSets.h:
+        * css/ElementRuleCollector.cpp:
+        (WebCore::ElementRuleCollector::matchUARules):
+        * css/StyleResolver.cpp:
+        (WebCore::StyleResolver::appendAuthorStyleSheets):
+        (WebCore::StyleResolver::styleForElement):
+        * css/view-source.css: Removed.
+        * dom/DOMImplementation.cpp:
+        (WebCore::DOMImplementation::createDocument):
+        * dom/DOMImplementation.h:
+        * dom/Document.cpp:
+        (WebCore::Document::Document):
+        * dom/Document.h:
+        * html/HTMLAttributeNames.in:
+        * html/HTMLFrameElementBase.cpp:
+        (WebCore::HTMLFrameElementBase::HTMLFrameElementBase):
+        (WebCore::HTMLFrameElementBase::openURL):
+        * html/HTMLFrameElementBase.h:
+        * html/HTMLViewSourceDocument.cpp: Removed.
+        * html/HTMLViewSourceDocument.h: Removed.
+        * html/parser/HTMLToken.h:
+        * html/parser/HTMLViewSourceParser.cpp: Removed.
+        * html/parser/HTMLViewSourceParser.h: Removed.
+        * html/parser/TextViewSourceParser.cpp: Removed.
+        * html/parser/TextViewSourceParser.h: Removed.
+        * inspector/InspectorOverlayPage.css:
+        (.tag-name):
+        (.node-id):
+        (.class-name):
+        * loader/DocumentWriter.cpp:
+        (WebCore::DocumentWriter::createDocument):
+        * loader/FrameLoader.cpp:
+        (WebCore::FrameLoader::receivedFirstData):
+        * page/Frame.cpp:
+        (WebCore::Frame::Frame):
+        * page/Frame.h:
+        * xml/DOMParser.cpp:
+        (WebCore::DOMParser::parseFromString):
+        * xml/XMLViewer.css:
+        (.tag):
+        * xml/XSLTProcessor.cpp:
+        (WebCore::XSLTProcessor::createDocumentFromSource):
+
</ins><span class="cx"> 2014-02-17  Simon Fraser  &lt;simon.fraser@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         box-shadows get truncated with a combination of transforms and clip: (affects Google Maps)
</span></span></pre></div>
<a id="trunkSourceWebCoreDerivedSourcesmake"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/DerivedSources.make (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/DerivedSources.make        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/DerivedSources.make        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -846,7 +846,7 @@
</span><span class="cx"> 
</span><span class="cx"> # user agent style sheets
</span><span class="cx"> 
</span><del>-USER_AGENT_STYLE_SHEETS = $(WebCore)/css/html.css $(WebCore)/css/quirks.css $(WebCore)/css/view-source.css $(WebCore)/css/themeWin.css $(WebCore)/css/themeWinQuirks.css $(WebCore)/css/plugIns.css
</del><ins>+USER_AGENT_STYLE_SHEETS = $(WebCore)/css/html.css $(WebCore)/css/quirks.css $(WebCore)/css/themeWin.css $(WebCore)/css/themeWinQuirks.css $(WebCore)/css/plugIns.css
</ins><span class="cx"> USER_AGENT_STYLE_SHEETS := $(USER_AGENT_STYLE_SHEETS) $(WebCore)/css/svg.css
</span><span class="cx"> 
</span><span class="cx"> ifeq ($(findstring ENABLE_MATHML,$(FEATURE_DEFINES)), ENABLE_MATHML)
</span></span></pre></div>
<a id="trunkSourceWebCoreGNUmakefileam"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/GNUmakefile.am (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/GNUmakefile.am        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/GNUmakefile.am        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -275,7 +275,6 @@
</span><span class="cx">         $(WebCore)/css/html.css \
</span><span class="cx">         $(WebCore)/css/mathml.css \
</span><span class="cx">         $(WebCore)/css/quirks.css \
</span><del>-        $(WebCore)/css/view-source.css \
</del><span class="cx">         $(WebCore)/css/svg.css \
</span><span class="cx">         $(WebCore)/css/mediaControls.css \
</span><span class="cx">         $(WebCore)/css/mediaControlsGtk.css \
</span><span class="lines">@@ -701,7 +700,6 @@
</span><span class="cx">         Source/WebCore/css/svg.css \
</span><span class="cx">         Source/WebCore/css/SVGCSSPropertyNames.in \
</span><span class="cx">         Source/WebCore/css/SVGCSSValueKeywords.in \
</span><del>-        Source/WebCore/css/view-source.css \
</del><span class="cx">         Source/WebCore/css/WebKitFontFamilyNames.in \
</span><span class="cx">         Source/WebCore/dom/EventNames.in \
</span><span class="cx">         Source/WebCore/dom/EventTargetFactory.in \
</span></span></pre></div>
<a id="trunkSourceWebCoreGNUmakefilelistam"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/GNUmakefile.list.am (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/GNUmakefile.list.am        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/GNUmakefile.list.am        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -3526,8 +3526,6 @@
</span><span class="cx">         Source/WebCore/html/HTMLUListElement.h \
</span><span class="cx">         Source/WebCore/html/HTMLVideoElement.cpp \
</span><span class="cx">         Source/WebCore/html/HTMLVideoElement.h \
</span><del>-        Source/WebCore/html/HTMLViewSourceDocument.cpp \
-        Source/WebCore/html/HTMLViewSourceDocument.h \
</del><span class="cx">         Source/WebCore/html/HiddenInputType.cpp \
</span><span class="cx">         Source/WebCore/html/HiddenInputType.h \
</span><span class="cx">         Source/WebCore/html/ImageData.cpp \
</span><span class="lines">@@ -3601,14 +3599,10 @@
</span><span class="cx">         Source/WebCore/html/parser/HTMLTokenizer.h \
</span><span class="cx">         Source/WebCore/html/parser/HTMLTreeBuilder.cpp \
</span><span class="cx">         Source/WebCore/html/parser/HTMLTreeBuilder.h \
</span><del>-        Source/WebCore/html/parser/HTMLViewSourceParser.cpp \
-        Source/WebCore/html/parser/HTMLViewSourceParser.h \
</del><span class="cx">         Source/WebCore/html/parser/InputStreamPreprocessor.h \
</span><span class="cx">         Source/WebCore/html/parser/NestingLevelIncrementer.h \
</span><span class="cx">         Source/WebCore/html/parser/TextDocumentParser.cpp \
</span><span class="cx">         Source/WebCore/html/parser/TextDocumentParser.h \
</span><del>-        Source/WebCore/html/parser/TextViewSourceParser.cpp \
-        Source/WebCore/html/parser/TextViewSourceParser.h \
</del><span class="cx">         Source/WebCore/html/parser/XSSAuditor.cpp \
</span><span class="cx">         Source/WebCore/html/parser/XSSAuditor.h \
</span><span class="cx">         Source/WebCore/html/parser/XSSAuditorDelegate.cpp \
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorevcxprojWebCorevcxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -15578,7 +15578,6 @@
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><del>-    &lt;ClCompile Include=&quot;..\html\HTMLViewSourceDocument.cpp&quot; /&gt;
</del><span class="cx">     &lt;ClCompile Include=&quot;..\html\ImageData.cpp&quot; /&gt;
</span><span class="cx">     &lt;ClCompile Include=&quot;..\html\ImageDocument.cpp&quot; /&gt;
</span><span class="cx">     &lt;ClCompile Include=&quot;..\html\ImageInputType.cpp&quot; /&gt;
</span><span class="lines">@@ -15630,9 +15629,7 @@
</span><span class="cx">     &lt;ClCompile Include=&quot;..\html\parser\HTMLSourceTracker.cpp&quot; /&gt;
</span><span class="cx">     &lt;ClCompile Include=&quot;..\html\parser\HTMLTokenizer.cpp&quot; /&gt;
</span><span class="cx">     &lt;ClCompile Include=&quot;..\html\parser\HTMLTreeBuilder.cpp&quot; /&gt;
</span><del>-    &lt;ClCompile Include=&quot;..\html\parser\HTMLViewSourceParser.cpp&quot; /&gt;
</del><span class="cx">     &lt;ClCompile Include=&quot;..\html\parser\TextDocumentParser.cpp&quot; /&gt;
</span><del>-    &lt;ClCompile Include=&quot;..\html\parser\TextViewSourceParser.cpp&quot; /&gt;
</del><span class="cx">     &lt;ClCompile Include=&quot;..\html\parser\XSSAuditor.cpp&quot; /&gt;
</span><span class="cx">     &lt;ClCompile Include=&quot;..\html\parser\XSSAuditorDelegate.cpp&quot; /&gt;
</span><span class="cx">     &lt;ClCompile Include=&quot;..\html\shadow\ContentDistributor.cpp&quot; /&gt;
</span><span class="lines">@@ -20324,7 +20321,6 @@
</span><span class="cx">     &lt;ClInclude Include=&quot;..\html\HTMLTrackElement.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\html\HTMLUListElement.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\html\HTMLVideoElement.h&quot; /&gt;
</span><del>-    &lt;ClInclude Include=&quot;..\html\HTMLViewSourceDocument.h&quot; /&gt;
</del><span class="cx">     &lt;ClInclude Include=&quot;..\html\ImageData.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\html\ImageDocument.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\html\ImageInputType.h&quot; /&gt;
</span><span class="lines">@@ -20385,11 +20381,9 @@
</span><span class="cx">     &lt;ClInclude Include=&quot;..\html\parser\HTMLToken.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\html\parser\HTMLTokenizer.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\html\parser\HTMLTreeBuilder.h&quot; /&gt;
</span><del>-    &lt;ClInclude Include=&quot;..\html\parser\HTMLViewSourceParser.h&quot; /&gt;
</del><span class="cx">     &lt;ClInclude Include=&quot;..\html\parser\InputStreamPreprocessor.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\html\parser\NestingLevelIncrementer.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\html\parser\TextDocumentParser.h&quot; /&gt;
</span><del>-    &lt;ClInclude Include=&quot;..\html\parser\TextViewSourceParser.h&quot; /&gt;
</del><span class="cx">     &lt;ClInclude Include=&quot;..\html\parser\XSSAuditor.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\html\parser\XSSAuditorDelegate.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\html\shadow\ContentDistributor.h&quot; /&gt;
</span><span class="lines">@@ -20840,7 +20834,6 @@
</span><span class="cx">     &lt;None Include=&quot;..\css\svg.css&quot; /&gt;
</span><span class="cx">     &lt;None Include=&quot;..\css\themeWin.css&quot; /&gt;
</span><span class="cx">     &lt;None Include=&quot;..\css\themeWinQuirks.css&quot; /&gt;
</span><del>-    &lt;None Include=&quot;..\css\view-source.css&quot; /&gt;
</del><span class="cx">     &lt;None Include=&quot;..\Modules\mediacontrols\mediaControlsApple.css&quot; /&gt;
</span><span class="cx">     &lt;None Include=&quot;..\Modules\mediacontrols\mediaControlsApple.js&quot; /&gt;
</span><span class="cx">     &lt;None Include=&quot;..\xml\XPathGrammar.y&quot; /&gt;
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorevcxprojWebCorevcxprojfilters"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -3963,9 +3963,6 @@
</span><span class="cx">     &lt;ClCompile Include=&quot;..\html\HTMLVideoElement.cpp&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;html&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><del>-    &lt;ClCompile Include=&quot;..\html\HTMLViewSourceDocument.cpp&quot;&gt;
-      &lt;Filter&gt;html&lt;/Filter&gt;
-    &lt;/ClCompile&gt;
</del><span class="cx">     &lt;ClCompile Include=&quot;..\html\ImageData.cpp&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;html&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><span class="lines">@@ -4119,15 +4116,9 @@
</span><span class="cx">     &lt;ClCompile Include=&quot;..\html\parser\HTMLTreeBuilder.cpp&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;html\parser&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><del>-    &lt;ClCompile Include=&quot;..\html\parser\HTMLViewSourceParser.cpp&quot;&gt;
-      &lt;Filter&gt;html\parser&lt;/Filter&gt;
-    &lt;/ClCompile&gt;
</del><span class="cx">     &lt;ClCompile Include=&quot;..\html\parser\TextDocumentParser.cpp&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;html\parser&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><del>-    &lt;ClCompile Include=&quot;..\html\parser\TextViewSourceParser.cpp&quot;&gt;
-      &lt;Filter&gt;html\parser&lt;/Filter&gt;
-    &lt;/ClCompile&gt;
</del><span class="cx">     &lt;ClCompile Include=&quot;..\html\parser\XSSAuditor.cpp&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;html\parser&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><span class="lines">@@ -10958,9 +10949,6 @@
</span><span class="cx">     &lt;ClInclude Include=&quot;..\html\HTMLVideoElement.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;html&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span><del>-    &lt;ClInclude Include=&quot;..\html\HTMLViewSourceDocument.h&quot;&gt;
-      &lt;Filter&gt;html&lt;/Filter&gt;
-    &lt;/ClInclude&gt;
</del><span class="cx">     &lt;ClInclude Include=&quot;..\html\ImageData.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;html&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span><span class="lines">@@ -11141,9 +11129,6 @@
</span><span class="cx">     &lt;ClInclude Include=&quot;..\html\parser\HTMLTreeBuilder.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;html\parser&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span><del>-    &lt;ClInclude Include=&quot;..\html\parser\HTMLViewSourceParser.h&quot;&gt;
-      &lt;Filter&gt;html\parser&lt;/Filter&gt;
-    &lt;/ClInclude&gt;
</del><span class="cx">     &lt;ClInclude Include=&quot;..\html\parser\InputStreamPreprocessor.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;html\parser&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span><span class="lines">@@ -11153,9 +11138,6 @@
</span><span class="cx">     &lt;ClInclude Include=&quot;..\html\parser\TextDocumentParser.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;html\parser&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span><del>-    &lt;ClInclude Include=&quot;..\html\parser\TextViewSourceParser.h&quot;&gt;
-      &lt;Filter&gt;html\parser&lt;/Filter&gt;
-    &lt;/ClInclude&gt;
</del><span class="cx">     &lt;ClInclude Include=&quot;..\html\parser\XSSAuditor.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;html\parser&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span><span class="lines">@@ -14913,9 +14895,6 @@
</span><span class="cx">     &lt;None Include=&quot;..\css\mathml.css&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;css&lt;/Filter&gt;
</span><span class="cx">     &lt;/None&gt;
</span><del>-    &lt;None Include=&quot;..\css\view-source.css&quot;&gt;
-      &lt;Filter&gt;css&lt;/Filter&gt;
-    &lt;/None&gt;
</del><span class="cx">     &lt;None Include=&quot;..\css\svg.css&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;css&lt;/Filter&gt;
</span><span class="cx">     &lt;/None&gt;
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorexcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -3363,8 +3363,6 @@
</span><span class="cx">                 977B3876122883E900B81FF8 /* HTMLScriptRunnerHost.h in Headers */ = {isa = PBXBuildFile; fileRef = 977B385D122883E900B81FF8 /* HTMLScriptRunnerHost.h */; };
</span><span class="cx">                 977B3877122883E900B81FF8 /* HTMLTokenizer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 977B385E122883E900B81FF8 /* HTMLTokenizer.cpp */; };
</span><span class="cx">                 977B3878122883E900B81FF8 /* HTMLTokenizer.h in Headers */ = {isa = PBXBuildFile; fileRef = 977B385F122883E900B81FF8 /* HTMLTokenizer.h */; };
</span><del>-                977B3879122883E900B81FF8 /* HTMLViewSourceParser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 977B3860122883E900B81FF8 /* HTMLViewSourceParser.cpp */; };
-                977B387A122883E900B81FF8 /* HTMLViewSourceParser.h in Headers */ = {isa = PBXBuildFile; fileRef = 977B3861122883E900B81FF8 /* HTMLViewSourceParser.h */; };
</del><span class="cx">                 977E2DCD12F0E28300C13379 /* HTMLSourceTracker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 977E2DCB12F0E28300C13379 /* HTMLSourceTracker.cpp */; };
</span><span class="cx">                 977E2DCE12F0E28300C13379 /* HTMLSourceTracker.h in Headers */ = {isa = PBXBuildFile; fileRef = 977E2DCC12F0E28300C13379 /* HTMLSourceTracker.h */; };
</span><span class="cx">                 977E2E0E12F0FC9C00C13379 /* XSSAuditor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 977E2E0B12F0FC9C00C13379 /* XSSAuditor.cpp */; };
</span><span class="lines">@@ -3458,8 +3456,6 @@
</span><span class="cx">                 97BC84831236FD93000C6161 /* TextDocumentParser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 97BC84811236FD93000C6161 /* TextDocumentParser.cpp */; };
</span><span class="cx">                 97BC84841236FD93000C6161 /* TextDocumentParser.h in Headers */ = {isa = PBXBuildFile; fileRef = 97BC84821236FD93000C6161 /* TextDocumentParser.h */; };
</span><span class="cx">                 97BC849B12370A4B000C6161 /* HTMLInputStream.h in Headers */ = {isa = PBXBuildFile; fileRef = 97BC849A12370A4B000C6161 /* HTMLInputStream.h */; };
</span><del>-                97BC84A412370DC8000C6161 /* TextViewSourceParser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 97BC84A212370DC7000C6161 /* TextViewSourceParser.cpp */; };
-                97BC84A512370DC8000C6161 /* TextViewSourceParser.h in Headers */ = {isa = PBXBuildFile; fileRef = 97BC84A312370DC8000C6161 /* TextViewSourceParser.h */; };
</del><span class="cx">                 97BC84B312371180000C6161 /* TextDocument.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 97BC84B112371180000C6161 /* TextDocument.cpp */; };
</span><span class="cx">                 97BC84B412371180000C6161 /* TextDocument.h in Headers */ = {isa = PBXBuildFile; fileRef = 97BC84B212371180000C6161 /* TextDocument.h */; };
</span><span class="cx">                 97C078501165D5BE003A32EF /* SuffixTree.h in Headers */ = {isa = PBXBuildFile; fileRef = 97C0784F1165D5BE003A32EF /* SuffixTree.h */; };
</span><span class="lines">@@ -5190,8 +5186,6 @@
</span><span class="cx">                 BCCBAD3B0C18BFF800CE890F /* JSHTMLCollectionCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCCBAD3A0C18BFF800CE890F /* JSHTMLCollectionCustom.cpp */; };
</span><span class="cx">                 BCCBAD400C18C14200CE890F /* JSHTMLCollection.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCCBAD3E0C18C14200CE890F /* JSHTMLCollection.cpp */; };
</span><span class="cx">                 BCCBAD410C18C14200CE890F /* JSHTMLCollection.h in Headers */ = {isa = PBXBuildFile; fileRef = BCCBAD3F0C18C14200CE890F /* JSHTMLCollection.h */; };
</span><del>-                BCCD74DC0A4C8D35005FDA6D /* HTMLViewSourceDocument.h in Headers */ = {isa = PBXBuildFile; fileRef = BCCD74DB0A4C8D35005FDA6D /* HTMLViewSourceDocument.h */; };
-                BCCD74E50A4C8DDF005FDA6D /* HTMLViewSourceDocument.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCCD74E40A4C8DDF005FDA6D /* HTMLViewSourceDocument.cpp */; };
</del><span class="cx">                 BCCFBAE80B5152ED0001F1D7 /* DocumentParser.h in Headers */ = {isa = PBXBuildFile; fileRef = BCCFBAE70B5152ED0001F1D7 /* DocumentParser.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 BCD0E0FA0E972C3500265DEA /* SecurityOrigin.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCD0E0F70E972C3500265DEA /* SecurityOrigin.cpp */; };
</span><span class="cx">                 BCD0E0FB0E972C3500265DEA /* SecurityOrigin.h in Headers */ = {isa = PBXBuildFile; fileRef = BCD0E0F80E972C3500265DEA /* SecurityOrigin.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="lines">@@ -10297,8 +10291,6 @@
</span><span class="cx">                 977B385D122883E900B81FF8 /* HTMLScriptRunnerHost.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = HTMLScriptRunnerHost.h; path = parser/HTMLScriptRunnerHost.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 977B385E122883E900B81FF8 /* HTMLTokenizer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = HTMLTokenizer.cpp; path = parser/HTMLTokenizer.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 977B385F122883E900B81FF8 /* HTMLTokenizer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = HTMLTokenizer.h; path = parser/HTMLTokenizer.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                977B3860122883E900B81FF8 /* HTMLViewSourceParser.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = HTMLViewSourceParser.cpp; path = parser/HTMLViewSourceParser.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
-                977B3861122883E900B81FF8 /* HTMLViewSourceParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = HTMLViewSourceParser.h; path = parser/HTMLViewSourceParser.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 977E2DCB12F0E28300C13379 /* HTMLSourceTracker.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = HTMLSourceTracker.cpp; path = parser/HTMLSourceTracker.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 977E2DCC12F0E28300C13379 /* HTMLSourceTracker.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = HTMLSourceTracker.h; path = parser/HTMLSourceTracker.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 977E2E0B12F0FC9C00C13379 /* XSSAuditor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = XSSAuditor.cpp; path = parser/XSSAuditor.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -10408,8 +10400,6 @@
</span><span class="cx">                 97BC84811236FD93000C6161 /* TextDocumentParser.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = TextDocumentParser.cpp; path = parser/TextDocumentParser.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 97BC84821236FD93000C6161 /* TextDocumentParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TextDocumentParser.h; path = parser/TextDocumentParser.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 97BC849A12370A4B000C6161 /* HTMLInputStream.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = HTMLInputStream.h; path = parser/HTMLInputStream.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                97BC84A212370DC7000C6161 /* TextViewSourceParser.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = TextViewSourceParser.cpp; path = parser/TextViewSourceParser.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
-                97BC84A312370DC8000C6161 /* TextViewSourceParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TextViewSourceParser.h; path = parser/TextViewSourceParser.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 97BC84B112371180000C6161 /* TextDocument.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TextDocument.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 97BC84B212371180000C6161 /* TextDocument.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TextDocument.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 97C0784F1165D5BE003A32EF /* SuffixTree.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SuffixTree.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -12192,7 +12182,6 @@
</span><span class="cx">                 BC5EB97F0E82072500B25965 /* ContentData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ContentData.h; path = style/ContentData.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 BC5EBA0E0E823E4700B25965 /* KeyframeList.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = KeyframeList.cpp; path = style/KeyframeList.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 BC5EBA0F0E823E4700B25965 /* KeyframeList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = KeyframeList.h; path = style/KeyframeList.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                BC5EC1760A507E3E006007F5 /* view-source.css */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = &quot;view-source.css&quot;; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 BC6049CB0DB560C200204739 /* CSSCanvasValue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CSSCanvasValue.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 BC604A420DB5634E00204739 /* CSSCanvasValue.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CSSCanvasValue.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 BC60901E0E91B8EC000C68B5 /* JSEventTargetCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSEventTargetCustom.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -12387,8 +12376,6 @@
</span><span class="cx">                 BCCBAD3A0C18BFF800CE890F /* JSHTMLCollectionCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLCollectionCustom.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 BCCBAD3E0C18C14200CE890F /* JSHTMLCollection.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLCollection.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 BCCBAD3F0C18C14200CE890F /* JSHTMLCollection.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSHTMLCollection.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                BCCD74DB0A4C8D35005FDA6D /* HTMLViewSourceDocument.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = HTMLViewSourceDocument.h; sourceTree = &quot;&lt;group&gt;&quot;; };
-                BCCD74E40A4C8DDF005FDA6D /* HTMLViewSourceDocument.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = HTMLViewSourceDocument.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 BCCFBAE70B5152ED0001F1D7 /* DocumentParser.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DocumentParser.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 BCD0E0F70E972C3500265DEA /* SecurityOrigin.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SecurityOrigin.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 BCD0E0F80E972C3500265DEA /* SecurityOrigin.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SecurityOrigin.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -17354,8 +17341,6 @@
</span><span class="cx">                                 E44613980CD6331000FADA75 /* HTMLVideoElement.cpp */,
</span><span class="cx">                                 E44613990CD6331000FADA75 /* HTMLVideoElement.h */,
</span><span class="cx">                                 E446139A0CD6331000FADA75 /* HTMLVideoElement.idl */,
</span><del>-                                BCCD74E40A4C8DDF005FDA6D /* HTMLViewSourceDocument.cpp */,
-                                BCCD74DB0A4C8D35005FDA6D /* HTMLViewSourceDocument.h */,
</del><span class="cx">                                 A77979130D6B9D0C003851B9 /* ImageData.cpp */,
</span><span class="cx">                                 A77979140D6B9D0C003851B9 /* ImageData.h */,
</span><span class="cx">                                 A77979150D6B9D0C003851B9 /* ImageData.idl */,
</span><span class="lines">@@ -17819,14 +17804,10 @@
</span><span class="cx">                                 977B385F122883E900B81FF8 /* HTMLTokenizer.h */,
</span><span class="cx">                                 977B37211228721700B81FF8 /* HTMLTreeBuilder.cpp */,
</span><span class="cx">                                 977B37221228721700B81FF8 /* HTMLTreeBuilder.h */,
</span><del>-                                977B3860122883E900B81FF8 /* HTMLViewSourceParser.cpp */,
-                                977B3861122883E900B81FF8 /* HTMLViewSourceParser.h */,
</del><span class="cx">                                 A8805AF116C96AEA000E9D98 /* InputStreamPreprocessor.h */,
</span><span class="cx">                                 8A309C9E123950BE00CB9204 /* NestingLevelIncrementer.h */,
</span><span class="cx">                                 97BC84811236FD93000C6161 /* TextDocumentParser.cpp */,
</span><span class="cx">                                 97BC84821236FD93000C6161 /* TextDocumentParser.h */,
</span><del>-                                97BC84A212370DC7000C6161 /* TextViewSourceParser.cpp */,
-                                97BC84A312370DC8000C6161 /* TextViewSourceParser.h */,
</del><span class="cx">                                 977E2E0B12F0FC9C00C13379 /* XSSAuditor.cpp */,
</span><span class="cx">                                 977E2E0C12F0FC9C00C13379 /* XSSAuditor.h */,
</span><span class="cx">                                 977E2E0B12F0FC9C00C13380 /* XSSAuditorDelegate.cpp */,
</span><span class="lines">@@ -21533,7 +21514,6 @@
</span><span class="cx">                                 B2227B040D00BFF10071B782 /* SVGCSSValueKeywords.in */,
</span><span class="cx">                                 FB484F4A171F821E00040755 /* TransformFunctions.cpp */,
</span><span class="cx">                                 FB484F4B171F821E00040755 /* TransformFunctions.h */,
</span><del>-                                BC5EC1760A507E3E006007F5 /* view-source.css */,
</del><span class="cx">                                 3FFFF9AB159D9B060020BBD5 /* ViewportStyleResolver.cpp */,
</span><span class="cx">                                 3FFFF9AC159D9B060020BBD5 /* ViewportStyleResolver.h */,
</span><span class="cx">                                 3106036C14327D2E00ABF4BA /* WebKitCSSFilterValue.cpp */,
</span><span class="lines">@@ -23858,8 +23838,6 @@
</span><span class="cx">                                 A8EA79F20A1916DF00A8EF5F /* HTMLUListElement.h in Headers */,
</span><span class="cx">                                 E44613AB0CD6331000FADA75 /* HTMLVideoElement.h in Headers */,
</span><span class="cx">                                 07277E4D17D018CC0015534D /* JSMediaStream.h in Headers */,
</span><del>-                                BCCD74DC0A4C8D35005FDA6D /* HTMLViewSourceDocument.h in Headers */,
-                                977B387A122883E900B81FF8 /* HTMLViewSourceParser.h in Headers */,
</del><span class="cx">                                 514C76710CE923A1007EF3CD /* HTTPHeaderMap.h in Headers */,
</span><span class="cx">                                 073AB4B817F92ECF006E0D6F /* JSCapabilityRange.h in Headers */,
</span><span class="cx">                                 514C76730CE923A1007EF3CD /* HTTPParsers.h in Headers */,
</span><span class="lines">@@ -25656,7 +25634,6 @@
</span><span class="cx">                                 076970871463AD8700F502CF /* TextTrackList.h in Headers */,
</span><span class="cx">                                 B1AD4E7413A12A4600846B27 /* TextTrackLoader.h in Headers */,
</span><span class="cx">                                 498770F11242C535002226BA /* Texture.h in Headers */,
</span><del>-                                97BC84A512370DC8000C6161 /* TextViewSourceParser.h in Headers */,
</del><span class="cx">                                 BCE658FF0EA9248A007E4533 /* Theme.h in Headers */,
</span><span class="cx">                                 BCE659E60EA92FB2007E4533 /* ThemeMac.h in Headers */,
</span><span class="cx">                                 442AF7A9102CDDEA008FD4D3 /* QuickLook.h in Headers */,
</span><span class="lines">@@ -27203,8 +27180,6 @@
</span><span class="cx">                                 A8EA79F30A1916DF00A8EF5F /* HTMLUListElement.cpp in Sources */,
</span><span class="cx">                                 E44613AA0CD6331000FADA75 /* HTMLVideoElement.cpp in Sources */,
</span><span class="cx">                                 E125F8381822F1EB00D84CD9 /* CryptoAlgorithmHMACMac.cpp in Sources */,
</span><del>-                                BCCD74E50A4C8DDF005FDA6D /* HTMLViewSourceDocument.cpp in Sources */,
-                                977B3879122883E900B81FF8 /* HTMLViewSourceParser.cpp in Sources */,
</del><span class="cx">                                 E1C266D818317AB4003F8B33 /* CryptoAlgorithmRSASSA_PKCS1_v1_5Mac.cpp in Sources */,
</span><span class="cx">                                 A584FE2F1864CB8400843B10 /* WebInjectedScriptManager.cpp in Sources */,
</span><span class="cx">                                 0B8C56D40F28627F000502E1 /* HTTPHeaderMap.cpp in Sources */,
</span><span class="lines">@@ -28891,7 +28866,6 @@
</span><span class="cx">                                 B1AD4E7313A12A4600846B27 /* TextTrackLoader.cpp in Sources */,
</span><span class="cx">                                 CD1E7347167BC78E009A885D /* TextTrackRepresentation.cpp in Sources */,
</span><span class="cx">                                 498770F01242C535002226BA /* Texture.cpp in Sources */,
</span><del>-                                97BC84A412370DC8000C6161 /* TextViewSourceParser.cpp in Sources */,
</del><span class="cx">                                 BCE65D320EAD1211007E4533 /* Theme.cpp in Sources */,
</span><span class="cx">                                 E4C3B1FC0F0E4170009693F6 /* TileCache.mm in Sources */,
</span><span class="cx">                                 BCE659E90EA92FFA007E4533 /* ThemeMac.mm in Sources */,
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsScriptControllercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/ScriptController.cpp (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/ScriptController.cpp        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/bindings/js/ScriptController.cpp        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -486,11 +486,6 @@
</span><span class="cx">         return false;
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    if (m_frame.document() &amp;&amp; m_frame.document()-&gt;isViewSource()) {
-        ASSERT(m_frame.document()-&gt;securityOrigin()-&gt;isUnique());
-        return true;
-    }
-
</del><span class="cx">     if (!m_frame.page())
</span><span class="cx">         return false;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSDefaultStyleSheetscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSDefaultStyleSheets.cpp (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSDefaultStyleSheets.cpp        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/css/CSSDefaultStyleSheets.cpp        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -47,7 +47,6 @@
</span><span class="cx"> RuleSet* CSSDefaultStyleSheets::defaultStyle;
</span><span class="cx"> RuleSet* CSSDefaultStyleSheets::defaultQuirksStyle;
</span><span class="cx"> RuleSet* CSSDefaultStyleSheets::defaultPrintStyle;
</span><del>-RuleSet* CSSDefaultStyleSheets::defaultViewSourceStyle;
</del><span class="cx"> 
</span><span class="cx"> StyleSheetContents* CSSDefaultStyleSheets::simpleDefaultStyleSheet;
</span><span class="cx"> StyleSheetContents* CSSDefaultStyleSheets::defaultStyleSheet;
</span><span class="lines">@@ -145,17 +144,6 @@
</span><span class="cx">     // No need to initialize quirks sheet yet as there are no quirk rules for elements allowed in simple default style.
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RuleSet* CSSDefaultStyleSheets::viewSourceStyle()
-{
-    if (!defaultViewSourceStyle) {
-        static StyleSheetContents* viewSourceStyleSheet = parseUASheet(sourceUserAgentStyleSheet, sizeof(sourceUserAgentStyleSheet));
-        defaultViewSourceStyle = std::make_unique&lt;RuleSet&gt;().release();
-        defaultViewSourceStyle-&gt;addRulesFromSheet(viewSourceStyleSheet, screenEval());
-    }
-    return defaultViewSourceStyle;
-}
-
-
</del><span class="cx"> void CSSDefaultStyleSheets::ensureDefaultStyleSheetsForElement(Element* element, bool&amp; changedDefaultStyle)
</span><span class="cx"> {
</span><span class="cx">     if (simpleDefaultStyleSheet &amp;&amp; !elementCanUseSimpleDefaultStyle(element)) {
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSDefaultStyleSheetsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSDefaultStyleSheets.h (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSDefaultStyleSheets.h        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/css/CSSDefaultStyleSheets.h        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -34,7 +34,6 @@
</span><span class="cx">     static RuleSet* defaultStyle;
</span><span class="cx">     static RuleSet* defaultQuirksStyle;
</span><span class="cx">     static RuleSet* defaultPrintStyle;
</span><del>-    static RuleSet* defaultViewSourceStyle;
</del><span class="cx"> 
</span><span class="cx">     static StyleSheetContents* simpleDefaultStyleSheet;
</span><span class="cx">     static StyleSheetContents* defaultStyleSheet;
</span><span class="lines">@@ -49,7 +48,6 @@
</span><span class="cx">     static void loadFullDefaultStyle();
</span><span class="cx">     static void loadSimpleDefaultStyle();
</span><span class="cx">     static void initDefaultStyle(Element*);
</span><del>-    static RuleSet* viewSourceStyle();
</del><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorecssDocumentRuleSetscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/DocumentRuleSets.cpp (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/DocumentRuleSets.cpp        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/css/DocumentRuleSets.cpp        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -83,7 +83,7 @@
</span><span class="cx">     m_authorStyle-&gt;disableAutoShrinkToFit();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void DocumentRuleSets::appendAuthorStyleSheets(unsigned firstNew, const Vector&lt;RefPtr&lt;CSSStyleSheet&gt;&gt;&amp; styleSheets, MediaQueryEvaluator* medium, InspectorCSSOMWrappers&amp; inspectorCSSOMWrappers, bool isViewSource, StyleResolver* resolver)
</del><ins>+void DocumentRuleSets::appendAuthorStyleSheets(unsigned firstNew, const Vector&lt;RefPtr&lt;CSSStyleSheet&gt;&gt;&amp; styleSheets, MediaQueryEvaluator* medium, InspectorCSSOMWrappers&amp; inspectorCSSOMWrappers, StyleResolver* resolver)
</ins><span class="cx"> {
</span><span class="cx">     // This handles sheets added to the end of the stylesheet list only. In other cases the style resolver
</span><span class="cx">     // needs to be reconstructed. To handle insertions too the rule order numbers would need to be updated.
</span><span class="lines">@@ -97,10 +97,10 @@
</span><span class="cx">         inspectorCSSOMWrappers.collectFromStyleSheetIfNeeded(cssSheet);
</span><span class="cx">     }
</span><span class="cx">     m_authorStyle-&gt;shrinkToFit();
</span><del>-    collectFeatures(isViewSource);
</del><ins>+    collectFeatures();
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-void DocumentRuleSets::collectFeatures(bool isViewSource)
</del><ins>+void DocumentRuleSets::collectFeatures()
</ins><span class="cx"> {
</span><span class="cx">     m_features.clear();
</span><span class="cx">     // Collect all ids and rules using sibling selectors (:first-child and similar)
</span><span class="lines">@@ -110,9 +110,6 @@
</span><span class="cx">         m_features.add(CSSDefaultStyleSheets::defaultStyle-&gt;features());
</span><span class="cx">     if (m_authorStyle)
</span><span class="cx">         m_features.add(m_authorStyle-&gt;features());
</span><del>-    if (isViewSource)
-        m_features.add(CSSDefaultStyleSheets::viewSourceStyle()-&gt;features());
-
</del><span class="cx">     if (m_userStyle)
</span><span class="cx">         m_features.add(m_userStyle-&gt;features());
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorecssDocumentRuleSetsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/DocumentRuleSets.h (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/DocumentRuleSets.h        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/css/DocumentRuleSets.h        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -51,9 +51,9 @@
</span><span class="cx"> 
</span><span class="cx">     void initUserStyle(DocumentStyleSheetCollection&amp;, const MediaQueryEvaluator&amp;, StyleResolver&amp;);
</span><span class="cx">     void resetAuthorStyle();
</span><del>-    void appendAuthorStyleSheets(unsigned firstNew, const Vector&lt;RefPtr&lt;CSSStyleSheet&gt;&gt;&amp;, MediaQueryEvaluator*, InspectorCSSOMWrappers&amp;, bool isViewSource, StyleResolver*);
</del><ins>+    void appendAuthorStyleSheets(unsigned firstNew, const Vector&lt;RefPtr&lt;CSSStyleSheet&gt;&gt;&amp;, MediaQueryEvaluator*, InspectorCSSOMWrappers&amp;, StyleResolver*);
</ins><span class="cx"> 
</span><del>-    void collectFeatures(bool isViewSource);
</del><ins>+    void collectFeatures();
</ins><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     void collectRulesFromUserStyleSheets(const Vector&lt;RefPtr&lt;CSSStyleSheet&gt;&gt;&amp;, RuleSet&amp; userStyle, const MediaQueryEvaluator&amp;, StyleResolver&amp;);
</span></span></pre></div>
<a id="trunkSourceWebCorecssElementRuleCollectorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/ElementRuleCollector.cpp (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/ElementRuleCollector.cpp        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/css/ElementRuleCollector.cpp        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -257,10 +257,6 @@
</span><span class="cx">     // In quirks mode, we match rules from the quirks user agent sheet.
</span><span class="cx">     if (m_element.document().inQuirksMode())
</span><span class="cx">         matchUARules(CSSDefaultStyleSheets::defaultQuirksStyle);
</span><del>-
-    // If document uses view source styles (in view source mode or in xml viewer mode), then we match rules from the view source style sheet.
-    if (m_element.document().isViewSource())
-        matchUARules(CSSDefaultStyleSheets::viewSourceStyle());
</del><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void ElementRuleCollector::matchUARules(RuleSet* rules)
</span></span></pre></div>
<a id="trunkSourceWebCorecssStyleResolvercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/StyleResolver.cpp (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/StyleResolver.cpp        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/css/StyleResolver.cpp        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -304,7 +304,7 @@
</span><span class="cx"> 
</span><span class="cx"> void StyleResolver::appendAuthorStyleSheets(unsigned firstNew, const Vector&lt;RefPtr&lt;CSSStyleSheet&gt;&gt;&amp; styleSheets)
</span><span class="cx"> {
</span><del>-    m_ruleSets.appendAuthorStyleSheets(firstNew, styleSheets, m_medium.get(), m_inspectorCSSOMWrappers, document().isViewSource(), this);
</del><ins>+    m_ruleSets.appendAuthorStyleSheets(firstNew, styleSheets, m_medium.get(), m_inspectorCSSOMWrappers, this);
</ins><span class="cx">     if (auto renderView = document().renderView())
</span><span class="cx">         renderView-&gt;style().font().update(fontSelector());
</span><span class="cx"> 
</span><span class="lines">@@ -791,7 +791,7 @@
</span><span class="cx">     bool needsCollection = false;
</span><span class="cx">     CSSDefaultStyleSheets::ensureDefaultStyleSheetsForElement(element, needsCollection);
</span><span class="cx">     if (needsCollection)
</span><del>-        m_ruleSets.collectFeatures(document().isViewSource());
</del><ins>+        m_ruleSets.collectFeatures();
</ins><span class="cx"> 
</span><span class="cx">     ElementRuleCollector collector(*element, state.style(), m_ruleSets, m_selectorFilter);
</span><span class="cx">     collector.setRegionForStyling(regionForStyling);
</span></span></pre></div>
<a id="trunkSourceWebCorecssviewsourcecss"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/css/view-source.css (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/view-source.css        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/css/view-source.css        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -1,162 +0,0 @@
</span><del>-/*
- * Copyright (C) 2006 Apple Computer, Inc.  All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-body {
-    margin: 0
-}
-
-table {
-    width: 100%;
-    border-spacing: 0;
-    counter-reset: lines;
-    white-space: pre-wrap !important;
-    margin: 0;
-    word-break: break-word;
-    font-size: initial;
-    font-family: monospace;
-}
-
-td {
-    padding: 0 !important;
-    vertical-align: baseline
-}
-
-.webkit-line-gutter-backdrop, .webkit-line-number {
-    /* Keep this in sync with inspector.css (.webkit-line-gutter-backdrop) */
-    box-sizing: border-box;
-    padding: 0 4px !important;
-    width: 31px;
-    background-color: rgb(240, 240, 240);
-    border-right: 1px solid rgb(187, 187, 187) !important;
-    -webkit-user-select: none;
-}
-
-.webkit-line-gutter-backdrop {
-    /* Keep this in sync with inspector.css (.webkit-line-gutter-backdrop) */
-    position: absolute;
-    z-index: -1;
-    left: 0;
-    top: 0;
-    height: 100%
-}
-
-.webkit-line-number {
-    text-align: right;
-    color: rgb(128, 128, 128);
-    word-break: normal;
-    white-space: nowrap;
-    font-size: 9px;
-    font-family: Helvetica
-}
-
-.webkit-line-number::before {
-    content: counter(lines);
-    counter-increment: lines;
-    -webkit-user-select: none
-}
-
-tbody:last-child .webkit-line-content:empty:before {
-    content: &quot; &quot;;
-}
-
-.webkit-line-content {
-    padding: 0 5px !important;
-}
-
-.webkit-html-tag {
-    /* Keep this in sync with inspector.css (.webkit-html-tag) */
-    color: rgb(136, 18, 128);
-}
-
-.webkit-html-attribute-name {
-    /* Keep this in sync with inspector.css (.webkit-html-attribute-name) */
-    color: rgb(153, 69, 0);
-}
-
-.webkit-html-attribute-value {
-    /* Keep this in sync with inspector.css (.webkit-html-attribute-value) */
-    color: rgb(26, 26, 166);
-}
-
-.webkit-html-external-link, .webkit-html-resource-link {
-    /* Keep this in sync with inspector.css (.webkit-html-external-link, .webkit-html-resource-link) */
-    color: #00e;
-}
-
-.webkit-html-external-link {
-    /* Keep this in sync with inspector.css (.webkit-html-external-link) */
-    text-decoration: none;
-}
-
-.webkit-html-external-link:hover {
-    /* Keep this in sync with inspector.css (.webkit-html-external-link:hover) */
-    text-decoration: underline;
-}
-
-.webkit-html-comment {
-    /* Keep this in sync with inspector.css (.webkit-html-comment) */
-    color: rgb(35, 110, 37);
-}
-
-.webkit-html-doctype {
-    /* Keep this in sync with inspector.css (.webkit-html-doctype) */
-    color: rgb(192, 192, 192);
-}
-
-.webkit-html-entity {
-    rgb(136, 18, 128);
-}
-
-.webkit-html-message-bubble {
-    box-shadow: black 0px 2px 5px;
-    border-radius: 9px;
-    -webkit-border-fit: lines;
-    min-height: 13px;
-    font-size: 9px;
-    font-family: Lucida Grande, sans-serif;
-    font-weight: bold;
-    margin: 6px 25px;
-    padding: 0 7px 1px;
-}
-
-.webkit-html-warning-message {
-    background-color: rgb(100%, 62%, 42%);
-    border: 2px solid rgb(100%, 52%, 21%);
-}
-
-.webkit-html-error-message {
-    background-color: rgb(100%, 42%, 42%);
-    border: 2px solid rgb(100%, 31%, 31%);
-}
-
-.webkit-html-message-line {
-    padding-left: 23px;
-    text-indent: -20px;
-}
-
-.webkit-html-message-icon {
-    position: relative;
-    top: 2px;
-    margin: 0 4px;
-}
</del></span></pre></div>
<a id="trunkSourceWebCoredomDOMImplementationcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/DOMImplementation.cpp (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/DOMImplementation.cpp        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/dom/DOMImplementation.cpp        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -35,7 +35,6 @@
</span><span class="cx"> #include &quot;FrameLoaderClient.h&quot;
</span><span class="cx"> #include &quot;FTPDirectoryDocument.h&quot;
</span><span class="cx"> #include &quot;HTMLDocument.h&quot;
</span><del>-#include &quot;HTMLViewSourceDocument.h&quot;
</del><span class="cx"> #include &quot;Image.h&quot;
</span><span class="cx"> #include &quot;ImageDocument.h&quot;
</span><span class="cx"> #include &quot;MediaDocument.h&quot;
</span><span class="lines">@@ -300,11 +299,8 @@
</span><span class="cx">     return d.release();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;Document&gt; DOMImplementation::createDocument(const String&amp; type, Frame* frame, const URL&amp; url, bool inViewSourceMode)
</del><ins>+PassRefPtr&lt;Document&gt; DOMImplementation::createDocument(const String&amp; type, Frame* frame, const URL&amp; url)
</ins><span class="cx"> {
</span><del>-    if (inViewSourceMode)
-        return HTMLViewSourceDocument::create(frame, url, type);
-
</del><span class="cx">     // Plugins cannot take HTML and XHTML from us, and we don't even need to initialize the plugin database for those.
</span><span class="cx">     if (type == &quot;text/html&quot;)
</span><span class="cx">         return HTMLDocument::create(frame, url);
</span></span></pre></div>
<a id="trunkSourceWebCoredomDOMImplementationh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/DOMImplementation.h (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/DOMImplementation.h        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/dom/DOMImplementation.h        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -64,7 +64,7 @@
</span><span class="cx">     PassRefPtr&lt;HTMLDocument&gt; createHTMLDocument(const String&amp; title);
</span><span class="cx"> 
</span><span class="cx">     // Other methods (not part of DOM)
</span><del>-    static PassRefPtr&lt;Document&gt; createDocument(const String&amp; MIMEType, Frame*, const URL&amp;, bool inViewSourceMode);
</del><ins>+    static PassRefPtr&lt;Document&gt; createDocument(const String&amp; MIMEType, Frame*, const URL&amp;);
</ins><span class="cx"> 
</span><span class="cx">     static bool isXMLMIMEType(const String&amp; MIMEType);
</span><span class="cx">     static bool isTextMIMEType(const String&amp; MIMEType);
</span></span></pre></div>
<a id="trunkSourceWebCoredomDocumentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Document.cpp (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Document.cpp        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/dom/Document.cpp        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -458,7 +458,6 @@
</span><span class="cx">     , m_documentClasses(documentClasses)
</span><span class="cx">     , m_isSynthesized(constructionFlags &amp; Synthesized)
</span><span class="cx">     , m_isNonRenderedPlaceholder(constructionFlags &amp; NonRenderedPlaceholder)
</span><del>-    , m_isViewSource(false)
</del><span class="cx">     , m_sawElementsInKnownNamespaces(false)
</span><span class="cx">     , m_isSrcdocDocument(false)
</span><span class="cx">     , m_eventQueue(*this)
</span><span class="lines">@@ -1918,15 +1917,6 @@
</span><span class="cx">     marginLeft = style-&gt;marginLeft().isAuto() ? marginLeft : intValueForLength(style-&gt;marginLeft(), width, view);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void Document::setIsViewSource(bool isViewSource)
-{
-    m_isViewSource = isViewSource;
-    if (!m_isViewSource)
-        return;
-
-    setSecurityOrigin(SecurityOrigin::createUnique());
-}
-
</del><span class="cx"> void Document::createStyleResolver()
</span><span class="cx"> {
</span><span class="cx">     bool matchAuthorAndUserStyles = true;
</span></span></pre></div>
<a id="trunkSourceWebCoredomDocumenth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Document.h (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Document.h        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/dom/Document.h        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -516,9 +516,6 @@
</span><span class="cx"> 
</span><span class="cx">     StyleResolver* styleResolverIfExists() const { return m_styleResolver.get(); }
</span><span class="cx"> 
</span><del>-    bool isViewSource() const { return m_isViewSource; }
-    void setIsViewSource(bool);
-
</del><span class="cx">     bool sawElementsInKnownNamespaces() const { return m_sawElementsInKnownNamespaces; }
</span><span class="cx"> 
</span><span class="cx">     StyleResolver&amp; ensureStyleResolver()
</span><span class="lines">@@ -1537,7 +1534,6 @@
</span><span class="cx">     bool m_isSynthesized;
</span><span class="cx">     bool m_isNonRenderedPlaceholder;
</span><span class="cx"> 
</span><del>-    bool m_isViewSource;
</del><span class="cx">     bool m_sawElementsInKnownNamespaces;
</span><span class="cx">     bool m_isSrcdocDocument;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLAttributeNamesin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLAttributeNames.in (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLAttributeNames.in        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/html/HTMLAttributeNames.in        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -341,7 +341,6 @@
</span><span class="cx"> value
</span><span class="cx"> valuetype
</span><span class="cx"> version
</span><del>-viewsource
</del><span class="cx"> vlink
</span><span class="cx"> vspace
</span><span class="cx"> webkitallowfullscreen
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLFrameElementBasecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLFrameElementBase.cpp (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLFrameElementBase.cpp        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/html/HTMLFrameElementBase.cpp        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -49,7 +49,6 @@
</span><span class="cx">     , m_scrolling(ScrollbarAuto)
</span><span class="cx">     , m_marginWidth(-1)
</span><span class="cx">     , m_marginHeight(-1)
</span><del>-    , m_viewSource(false)
</del><span class="cx"> {
</span><span class="cx">     setHasCustomStyleResolveCallbacks();
</span><span class="cx"> }
</span><span class="lines">@@ -87,8 +86,6 @@
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="cx">     parentFrame-&gt;loader().subframeLoader().requestFrame(*this, m_URL, m_frameName, lockHistory, lockBackForwardList);
</span><del>-    if (contentFrame())
-        contentFrame()-&gt;setInViewSourceMode(viewSourceMode());
</del><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void HTMLFrameElementBase::parseAttribute(const QualifiedName&amp; name, const AtomicString&amp; value)
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLFrameElementBaseh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLFrameElementBase.h (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLFrameElementBase.h        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/html/HTMLFrameElementBase.h        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -63,8 +63,6 @@
</span><span class="cx"> 
</span><span class="cx">     virtual bool isFrameElementBase() const override { return true; }
</span><span class="cx"> 
</span><del>-    bool viewSourceMode() const { return m_viewSource; }
-
</del><span class="cx">     void setNameAndOpenURL();
</span><span class="cx">     void openURL(bool lockHistory = true, bool lockBackForwardList = true);
</span><span class="cx"> 
</span><span class="lines">@@ -75,8 +73,6 @@
</span><span class="cx"> 
</span><span class="cx">     int m_marginWidth;
</span><span class="cx">     int m_marginHeight;
</span><del>-
-    bool m_viewSource;
</del><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> void isHTMLFrameElementBase(const HTMLFrameElementBase&amp;); // Catch unnecessary runtime check of type known at compile time.
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLViewSourceDocumentcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/html/HTMLViewSourceDocument.cpp (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLViewSourceDocument.cpp        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/html/HTMLViewSourceDocument.cpp        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -1,294 +0,0 @@
</span><del>-/*
- * Copyright (C) 2006, 2008, 2009, 2010 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include &quot;config.h&quot;
-#include &quot;HTMLViewSourceDocument.h&quot;
-
-#include &quot;DOMImplementation.h&quot;
-#include &quot;DocumentStyleSheetCollection.h&quot;
-#include &quot;HTMLAnchorElement.h&quot;
-#include &quot;HTMLBRElement.h&quot;
-#include &quot;HTMLBaseElement.h&quot;
-#include &quot;HTMLBodyElement.h&quot;
-#include &quot;HTMLDivElement.h&quot;
-#include &quot;HTMLHtmlElement.h&quot;
-#include &quot;HTMLTableCellElement.h&quot;
-#include &quot;HTMLTableElement.h&quot;
-#include &quot;HTMLTableRowElement.h&quot;
-#include &quot;HTMLTableSectionElement.h&quot;
-#include &quot;Text.h&quot;
-#include &quot;TextViewSourceParser.h&quot;
-
-namespace WebCore {
-
-using namespace HTMLNames;
-
-HTMLViewSourceDocument::HTMLViewSourceDocument(Frame* frame, const URL&amp; url, const String&amp; mimeType)
-    : HTMLDocument(frame, url)
-    , m_type(mimeType)
-{
-    styleSheetCollection().setUsesBeforeAfterRulesOverride(true);
-    setIsViewSource(true);
-
-    setCompatibilityMode(QuirksMode);
-    lockCompatibilityMode();
-}
-
-PassRefPtr&lt;DocumentParser&gt; HTMLViewSourceDocument::createParser()
-{
-    if (m_type == &quot;text/html&quot; || m_type == &quot;application/xhtml+xml&quot; || m_type == &quot;image/svg+xml&quot; || DOMImplementation::isXMLMIMEType(m_type))
-        return HTMLViewSourceParser::create(*this);
-
-    return TextViewSourceParser::create(*this);
-}
-
-void HTMLViewSourceDocument::createContainingTable()
-{
-    RefPtr&lt;HTMLHtmlElement&gt; html = HTMLHtmlElement::create(*this);
-    parserAppendChild(html);
-    RefPtr&lt;HTMLBodyElement&gt; body = HTMLBodyElement::create(*this);
-    html-&gt;parserAppendChild(body);
-    // Create a line gutter div that can be used to make sure the gutter extends down the height of the whole
-    // document.
-    RefPtr&lt;HTMLDivElement&gt; div = HTMLDivElement::create(*this);
-    div-&gt;setAttribute(classAttr, &quot;webkit-line-gutter-backdrop&quot;);
-    body-&gt;parserAppendChild(div);
-
-    RefPtr&lt;HTMLTableElement&gt; table = HTMLTableElement::create(*this);
-    body-&gt;parserAppendChild(table);
-    m_tbody = HTMLTableSectionElement::create(tbodyTag, *this);
-    table-&gt;parserAppendChild(m_tbody);
-    m_current = m_tbody;
-}
-
-void HTMLViewSourceDocument::addSource(const String&amp; source, HTMLToken&amp; token)
-{
-    if (!m_current)
-        createContainingTable();
-
-    switch (token.type()) {
-    case HTMLToken::Uninitialized:
-        ASSERT_NOT_REACHED();
-        break;
-    case HTMLToken::DOCTYPE:
-        processDoctypeToken(source, token);
-        break;
-    case HTMLToken::EndOfFile:
-        if (!m_tbody-&gt;hasChildNodes())
-            addLine(String());
-        break;
-    case HTMLToken::StartTag:
-    case HTMLToken::EndTag:
-        processTagToken(source, token);
-        break;
-    case HTMLToken::Comment:
-        processCommentToken(source, token);
-        break;
-    case HTMLToken::Character:
-        processCharacterToken(source, token);
-        break;
-    }
-}
-
-void HTMLViewSourceDocument::processDoctypeToken(const String&amp; source, HTMLToken&amp;)
-{
-    if (!m_current)
-        createContainingTable();
-    m_current = addSpanWithClassName(&quot;webkit-html-doctype&quot;);
-    addText(source, &quot;webkit-html-doctype&quot;);
-    m_current = m_td;
-}
-
-void HTMLViewSourceDocument::processTagToken(const String&amp; source, HTMLToken&amp; token)
-{
-    m_current = addSpanWithClassName(&quot;webkit-html-tag&quot;);
-
-    AtomicString tagName(token.name());
-
-    unsigned index = 0;
-    HTMLToken::AttributeList::const_iterator iter = token.attributes().begin();
-    while (index &lt; source.length()) {
-        if (iter == token.attributes().end()) {
-            // We want to show the remaining characters in the token.
-            index = addRange(source, index, source.length(), &quot;&quot;);
-            ASSERT(index == source.length());
-            break;
-        }
-
-        AtomicString name(iter-&gt;name);
-        String value = StringImpl::create8BitIfPossible(iter-&gt;value);
-
-        index = addRange(source, index, iter-&gt;nameRange.start - token.startIndex(), &quot;&quot;);
-        index = addRange(source, index, iter-&gt;nameRange.end - token.startIndex(), &quot;webkit-html-attribute-name&quot;);
-
-        if (tagName == baseTag &amp;&amp; name == hrefAttr)
-            m_current = addBase(value);
-
-        index = addRange(source, index, iter-&gt;valueRange.start - token.startIndex(), &quot;&quot;);
-
-        bool isLink = name == srcAttr || name == hrefAttr;
-        index = addRange(source, index, iter-&gt;valueRange.end - token.startIndex(), &quot;webkit-html-attribute-value&quot;, isLink, tagName == aTag, value);
-
-        ++iter;
-    }
-    m_current = m_td;
-}
-
-void HTMLViewSourceDocument::processCommentToken(const String&amp; source, HTMLToken&amp;)
-{
-    m_current = addSpanWithClassName(&quot;webkit-html-comment&quot;);
-    addText(source, &quot;webkit-html-comment&quot;);
-    m_current = m_td;
-}
-
-void HTMLViewSourceDocument::processCharacterToken(const String&amp; source, HTMLToken&amp;)
-{
-    addText(source, &quot;&quot;);
-}
-
-PassRefPtr&lt;Element&gt; HTMLViewSourceDocument::addSpanWithClassName(const AtomicString&amp; className)
-{
-    if (m_current == m_tbody) {
-        addLine(className);
-        return m_current;
-    }
-
-    RefPtr&lt;HTMLElement&gt; span = HTMLElement::create(spanTag, *this);
-    span-&gt;setAttribute(classAttr, className);
-    m_current-&gt;parserAppendChild(span);
-    return span.release();
-}
-
-void HTMLViewSourceDocument::addLine(const AtomicString&amp; className)
-{
-    // Create a table row.
-    RefPtr&lt;HTMLTableRowElement&gt; trow = HTMLTableRowElement::create(*this);
-    m_tbody-&gt;parserAppendChild(trow);
-
-    // Create a cell that will hold the line number (it is generated in the stylesheet using counters).
-    RefPtr&lt;HTMLTableCellElement&gt; td = HTMLTableCellElement::create(tdTag, *this);
-    td-&gt;setAttribute(classAttr, &quot;webkit-line-number&quot;);
-    trow-&gt;parserAppendChild(td);
-
-    // Create a second cell for the line contents
-    td = HTMLTableCellElement::create(tdTag, *this);
-    td-&gt;setAttribute(classAttr, &quot;webkit-line-content&quot;);
-    trow-&gt;parserAppendChild(td);
-    m_current = m_td = td;
-
-#ifdef DEBUG_LINE_NUMBERS
-    RefPtr&lt;Text&gt; lineNumberText = Text::create(*this, String::number(parser()-&gt;lineNumber() + 1) + &quot; &quot;);
-    td-&gt;addChild(lineNumberText);
-#endif
-
-    // Open up the needed spans.
-    if (!className.isEmpty()) {
-        if (className == &quot;webkit-html-attribute-name&quot; || className == &quot;webkit-html-attribute-value&quot;)
-            m_current = addSpanWithClassName(&quot;webkit-html-tag&quot;);
-        m_current = addSpanWithClassName(className);
-    }
-}
-
-void HTMLViewSourceDocument::finishLine()
-{
-    if (!m_current-&gt;hasChildNodes()) {
-        RefPtr&lt;HTMLBRElement&gt; br = HTMLBRElement::create(*this);
-        m_current-&gt;parserAppendChild(br);
-    }
-    m_current = m_tbody;
-}
-
-void HTMLViewSourceDocument::addText(const String&amp; text, const AtomicString&amp; className)
-{
-    if (text.isEmpty())
-        return;
-
-    // Add in the content, splitting on newlines.
-    Vector&lt;String&gt; lines;
-    text.split('\n', true, lines);
-    unsigned size = lines.size();
-    for (unsigned i = 0; i &lt; size; i++) {
-        String substring = lines[i];
-        if (m_current == m_tbody)
-            addLine(className);
-        if (substring.isEmpty()) {
-            if (i == size - 1)
-                break;
-            finishLine();
-            continue;
-        }
-        RefPtr&lt;Text&gt; text = Text::create(*this, substring);
-        m_current-&gt;parserAppendChild(text);
-        if (i &lt; size - 1)
-            finishLine();
-    }
-}
-
-int HTMLViewSourceDocument::addRange(const String&amp; source, int start, int end, const String&amp; className, bool isLink, bool isAnchor, const String&amp; link)
-{
-    ASSERT(start &lt;= end);
-    if (start == end)
-        return start;
-
-    String text = source.substring(start, end - start);
-    if (!className.isEmpty()) {
-        if (isLink)
-            m_current = addLink(link, isAnchor);
-        else
-            m_current = addSpanWithClassName(className);
-    }
-    addText(text, className);
-    if (!className.isEmpty() &amp;&amp; m_current != m_tbody)
-        m_current = toElement(m_current-&gt;parentNode());
-    return end;
-}
-
-PassRefPtr&lt;Element&gt; HTMLViewSourceDocument::addBase(const AtomicString&amp; href)
-{
-    RefPtr&lt;HTMLBaseElement&gt; base = HTMLBaseElement::create(baseTag, *this);
-    base-&gt;setAttribute(hrefAttr, href);
-    m_current-&gt;parserAppendChild(base);
-    return base.release();
-}
-
-PassRefPtr&lt;Element&gt; HTMLViewSourceDocument::addLink(const AtomicString&amp; url, bool isAnchor)
-{
-    if (m_current == m_tbody)
-        addLine(&quot;webkit-html-tag&quot;);
-
-    // Now create a link for the attribute value instead of a span.
-    RefPtr&lt;HTMLAnchorElement&gt; anchor = HTMLAnchorElement::create(*this);
-    const char* classValue;
-    if (isAnchor)
-        classValue = &quot;webkit-html-attribute-value webkit-html-external-link&quot;;
-    else
-        classValue = &quot;webkit-html-attribute-value webkit-html-resource-link&quot;;
-    anchor-&gt;setAttribute(classAttr, classValue);
-    anchor-&gt;setAttribute(targetAttr, &quot;_blank&quot;);
-    anchor-&gt;setAttribute(hrefAttr, url);
-    m_current-&gt;parserAppendChild(anchor);
-    return anchor.release();
-}
-
-}
</del></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLViewSourceDocumenth"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/html/HTMLViewSourceDocument.h (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLViewSourceDocument.h        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/html/HTMLViewSourceDocument.h        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-/*
- * Copyright (C) 2006, 2008, 2009 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#ifndef HTMLViewSourceDocument_h
-#define HTMLViewSourceDocument_h
-
-#include &quot;HTMLDocument.h&quot;
-
-namespace WebCore {
-
-class HTMLTableCellElement;
-class HTMLTableSectionElement;
-class HTMLToken;
-
-class HTMLViewSourceDocument final : public HTMLDocument {
-public:
-    static PassRefPtr&lt;HTMLViewSourceDocument&gt; create(Frame* frame, const URL&amp; url, const String&amp; mimeType)
-    {
-        return adoptRef(new HTMLViewSourceDocument(frame, url, mimeType));
-    }
-
-    void addSource(const String&amp;, HTMLToken&amp;);
-
-private:
-    HTMLViewSourceDocument(Frame*, const URL&amp;, const String&amp; mimeType);
-
-    // Returns HTMLViewSourceParser or TextDocumentParser based on m_type.
-    virtual PassRefPtr&lt;DocumentParser&gt; createParser() override;
-
-    void processDoctypeToken(const String&amp; source, HTMLToken&amp;);
-    void processTagToken(const String&amp; source, HTMLToken&amp;);
-    void processCommentToken(const String&amp; source, HTMLToken&amp;);
-    void processCharacterToken(const String&amp; source, HTMLToken&amp;);
-
-    void createContainingTable();
-    PassRefPtr&lt;Element&gt; addSpanWithClassName(const AtomicString&amp;);
-    void addLine(const AtomicString&amp; className);
-    void finishLine();
-    void addText(const String&amp; text, const AtomicString&amp; className);
-    int addRange(const String&amp; source, int start, int end, const String&amp; className, bool isLink = false, bool isAnchor = false, const String&amp; link = String());
-    PassRefPtr&lt;Element&gt; addLink(const AtomicString&amp; url, bool isAnchor);
-    PassRefPtr&lt;Element&gt; addBase(const AtomicString&amp; href);
-
-    String m_type;
-    RefPtr&lt;Element&gt; m_current;
-    RefPtr&lt;HTMLTableSectionElement&gt; m_tbody;
-    RefPtr&lt;HTMLTableCellElement&gt; m_td;
-};
-
-}
-
-#endif // HTMLViewSourceDocument_h
</del></span></pre></div>
<a id="trunkSourceWebCorehtmlparserHTMLTokenh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/parser/HTMLToken.h (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/parser/HTMLToken.h        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/html/parser/HTMLToken.h        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -114,7 +114,7 @@
</span><span class="cx">         m_type = EndOfFile;
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    /* Range and offset methods exposed for HTMLSourceTracker and HTMLViewSourceParser */
</del><ins>+    /* Range and offset methods exposed for HTMLSourceTracker */
</ins><span class="cx">     int startIndex() const { return m_range.start; }
</span><span class="cx">     int endIndex() const { return m_range.end; }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlparserHTMLViewSourceParsercpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/html/parser/HTMLViewSourceParser.cpp (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/parser/HTMLViewSourceParser.cpp        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/html/parser/HTMLViewSourceParser.cpp        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -1,90 +0,0 @@
</span><del>-/*
- * Copyright (C) 2010 Google, Inc. All Rights Reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include &quot;config.h&quot;
-#include &quot;HTMLViewSourceParser.h&quot;
-
-#include &quot;HTMLDocumentParser.h&quot;
-#include &quot;HTMLNames.h&quot;
-
-namespace WebCore {
-
-HTMLViewSourceParser::HTMLViewSourceParser(HTMLViewSourceDocument&amp; document)
-    : DecodedDataDocumentParser(document)
-    , m_tokenizer(std::make_unique&lt;HTMLTokenizer&gt;(HTMLParserOptions(document)))
-{
-}
-
-HTMLViewSourceParser::~HTMLViewSourceParser()
-{
-}
-
-void HTMLViewSourceParser::insert(const SegmentedString&amp;)
-{
-    ASSERT_NOT_REACHED();
-}
-
-void HTMLViewSourceParser::pumpTokenizer()
-{
-    while (true) {
-        m_sourceTracker.start(m_input.current(), m_tokenizer.get(), m_token);
-        if (!m_tokenizer-&gt;nextToken(m_input.current(), m_token))
-            break;
-        m_sourceTracker.end(m_input.current(), m_tokenizer.get(), m_token);
-
-        document()-&gt;addSource(sourceForToken(), m_token);
-        updateTokenizerState();
-        m_token.clear();
-    }
-}
-
-void HTMLViewSourceParser::append(PassRefPtr&lt;StringImpl&gt; input)
-{
-    m_input.appendToEnd(String(input));
-    pumpTokenizer();
-}
-
-String HTMLViewSourceParser::sourceForToken()
-{
-    return m_sourceTracker.sourceForToken(m_token);
-}
-
-void HTMLViewSourceParser::updateTokenizerState()
-{
-    // FIXME: The tokenizer should do this work for us.
-    if (m_token.type() != HTMLToken::StartTag)
-        return;
-    m_tokenizer-&gt;updateStateFor(AtomicString(m_token.name()));
-}
-
-void HTMLViewSourceParser::finish()
-{
-    if (!m_input.haveSeenEndOfFile())
-        m_input.markEndOfFile();
-    pumpTokenizer();
-    document()-&gt;finishedParsing();
-}
-
-}
</del></span></pre></div>
<a id="trunkSourceWebCorehtmlparserHTMLViewSourceParserh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/html/parser/HTMLViewSourceParser.h (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/parser/HTMLViewSourceParser.h        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/html/parser/HTMLViewSourceParser.h        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -1,79 +0,0 @@
</span><del>-/*
- * Copyright (C) 2010 Google, Inc. All Rights Reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef HTMLViewSourceParser_h
-#define HTMLViewSourceParser_h
-
-#include &quot;DecodedDataDocumentParser.h&quot;
-#include &quot;HTMLInputStream.h&quot;
-#include &quot;HTMLSourceTracker.h&quot;
-#include &quot;HTMLToken.h&quot;
-#include &quot;HTMLTokenizer.h&quot;
-#include &quot;HTMLViewSourceDocument.h&quot;
-#include &lt;wtf/PassOwnPtr.h&gt;
-
-namespace WebCore {
-
-class HTMLTokenizer;
-class HTMLScriptRunner;
-class HTMLTreeBuilder;
-class HTMLPreloadScanner;
-class ScriptController;
-class ScriptSourceCode;
-
-class HTMLViewSourceParser : public DecodedDataDocumentParser {
-public:
-    static PassRefPtr&lt;HTMLViewSourceParser&gt; create(HTMLViewSourceDocument&amp; document)
-    {
-        return adoptRef(new HTMLViewSourceParser(document));
-    }
-    virtual ~HTMLViewSourceParser();
-
-protected:
-    explicit HTMLViewSourceParser(HTMLViewSourceDocument&amp;);
-
-    HTMLTokenizer* tokenizer() const { return m_tokenizer.get(); }
-
-private:
-    // DocumentParser
-    virtual void insert(const SegmentedString&amp;) override;
-    virtual void append(PassRefPtr&lt;StringImpl&gt;) override;
-    virtual void finish() override;
-
-    HTMLViewSourceDocument* document() const { return static_cast&lt;HTMLViewSourceDocument*&gt;(DecodedDataDocumentParser::document()); }
-
-    void pumpTokenizer();
-    String sourceForToken();
-    void updateTokenizerState();
-
-    HTMLInputStream m_input;
-    HTMLToken m_token;
-    HTMLSourceTracker m_sourceTracker;
-    std::unique_ptr&lt;HTMLTokenizer&gt; m_tokenizer;
-};
-
-}
-
-#endif
</del></span></pre></div>
<a id="trunkSourceWebCorehtmlparserTextViewSourceParsercpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/html/parser/TextViewSourceParser.cpp (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/parser/TextViewSourceParser.cpp        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/html/parser/TextViewSourceParser.cpp        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -1,43 +0,0 @@
</span><del>-/*
- * Copyright (C) 2010 Google, Inc. All Rights Reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include &quot;config.h&quot;
-#include &quot;TextViewSourceParser.h&quot;
-
-#include &quot;HTMLTokenizer.h&quot;
-
-namespace WebCore {
-
-TextViewSourceParser::TextViewSourceParser(HTMLViewSourceDocument&amp; document)
-    : HTMLViewSourceParser(document)
-{
-    tokenizer()-&gt;setState(HTMLTokenizer::PLAINTEXTState);
-}
-
-TextViewSourceParser::~TextViewSourceParser()
-{
-}
-
-}
</del></span></pre></div>
<a id="trunkSourceWebCorehtmlparserTextViewSourceParserh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/html/parser/TextViewSourceParser.h (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/parser/TextViewSourceParser.h        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/html/parser/TextViewSourceParser.h        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -1,47 +0,0 @@
</span><del>-/*
- * Copyright (C) 2010 Google, Inc. All Rights Reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef TextViewSourceParser_h
-#define TextViewSourceParser_h
-
-#include &quot;HTMLViewSourceParser.h&quot;
-
-namespace WebCore {
-
-class TextViewSourceParser final : public HTMLViewSourceParser {
-public:
-    static PassRefPtr&lt;TextViewSourceParser&gt; create(HTMLViewSourceDocument&amp; document)
-    {
-        return adoptRef(new TextViewSourceParser(document));
-    }
-    virtual ~TextViewSourceParser();
-
-private:
-    explicit TextViewSourceParser(HTMLViewSourceDocument&amp;);
-};
-
-}
-
-#endif
</del></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorOverlayPagecss"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorOverlayPage.css (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorOverlayPage.css        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/inspector/InspectorOverlayPage.css        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -56,17 +56,17 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> .tag-name {
</span><del>-    /* Keep this in sync with view-source.css (.webkit-html-tag-name) */
</del><ins>+    /* Keep this in sync with XMLViewer.css (.tag) */
</ins><span class="cx">     color: rgb(136, 18, 128);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> .node-id {
</span><del>-    /* Keep this in sync with view-source.css (.webkit-html-attribute-value) */
</del><ins>+    /* Keep this in sync with XMLViewer.css (.attribute-value) */
</ins><span class="cx">     color: rgb(26, 26, 166);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> .class-name {
</span><del>-    /* Keep this in sync with view-source.css (.webkit-html-attribute-name) */
</del><ins>+    /* Keep this in sync with XMLViewer.css (.attribute-name) */
</ins><span class="cx">     color: rgb(153, 69, 0);
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreloaderDocumentWritercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/loader/DocumentWriter.cpp (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/loader/DocumentWriter.cpp        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/loader/DocumentWriter.cpp        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -112,7 +112,7 @@
</span><span class="cx"> #endif
</span><span class="cx">     if (!m_frame-&gt;loader().client().hasHTMLView())
</span><span class="cx">         return Document::createNonRenderedPlaceholder(m_frame, url);
</span><del>-    return DOMImplementation::createDocument(m_mimeType, m_frame, url, m_frame-&gt;inViewSourceMode());
</del><ins>+    return DOMImplementation::createDocument(m_mimeType, m_frame, url);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void DocumentWriter::begin(const URL&amp; urlReference, bool dispatch, Document* ownerDocument)
</span></span></pre></div>
<a id="trunkSourceWebCoreloaderFrameLoadercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/loader/FrameLoader.cpp (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/loader/FrameLoader.cpp        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/loader/FrameLoader.cpp        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -663,8 +663,6 @@
</span><span class="cx"> 
</span><span class="cx">     if (!m_documentLoader)
</span><span class="cx">         return;
</span><del>-    if (m_frame.document()-&gt;isViewSource())
-        return;
</del><span class="cx"> 
</span><span class="cx">     double delay;
</span><span class="cx">     String url;
</span></span></pre></div>
<a id="trunkSourceWebCorepageFramecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/Frame.cpp (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/Frame.cpp        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/page/Frame.cpp        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -176,7 +176,6 @@
</span><span class="cx"> #if ENABLE(ORIENTATION_EVENTS)
</span><span class="cx">     , m_orientation(0)
</span><span class="cx"> #endif
</span><del>-    , m_inViewSourceMode(false)
</del><span class="cx">     , m_activeDOMObjectsAndAnimationsSuspendedCount(0)
</span><span class="cx"> {
</span><span class="cx">     AtomicString::init();
</span></span></pre></div>
<a id="trunkSourceWebCorepageFrameh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/Frame.h (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/Frame.h        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/page/Frame.h        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -181,9 +181,6 @@
</span><span class="cx">         bool shouldUsePrintingLayout() const;
</span><span class="cx">         FloatSize resizePageRectsKeepingRatio(const FloatSize&amp; originalSize, const FloatSize&amp; expectedSize);
</span><span class="cx"> 
</span><del>-        bool inViewSourceMode() const;
-        void setInViewSourceMode(bool = true);
-
</del><span class="cx">         void setDocument(PassRefPtr&lt;Document&gt;);
</span><span class="cx"> 
</span><span class="cx">         void setPageZoomFactor(float factor);
</span><span class="lines">@@ -338,8 +335,6 @@
</span><span class="cx">         int m_orientation;
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-        bool m_inViewSourceMode;
-
</del><span class="cx"> #if USE(TILED_BACKING_STORE)
</span><span class="cx">     // FIXME: The tiled backing store belongs in FrameView, not Frame.
</span><span class="cx"> 
</span><span class="lines">@@ -412,16 +407,6 @@
</span><span class="cx">         return m_ownerElement;
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    inline bool Frame::inViewSourceMode() const
-    {
-        return m_inViewSourceMode;
-    }
-
-    inline void Frame::setInViewSourceMode(bool mode)
-    {
-        m_inViewSourceMode = mode;
-    }
-
</del><span class="cx">     inline FrameTree&amp; Frame::tree() const
</span><span class="cx">     {
</span><span class="cx">         return m_treeNode;
</span></span></pre></div>
<a id="trunkSourceWebCorexmlDOMParsercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/xml/DOMParser.cpp (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/xml/DOMParser.cpp        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/xml/DOMParser.cpp        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -36,7 +36,7 @@
</span><span class="cx">         return 0;
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    RefPtr&lt;Document&gt; doc = DOMImplementation::createDocument(contentType, 0, URL(), false);
</del><ins>+    RefPtr&lt;Document&gt; doc = DOMImplementation::createDocument(contentType, 0, URL());
</ins><span class="cx">     doc-&gt;setContent(str);
</span><span class="cx">     return doc.release();
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorexmlXMLViewercss"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/xml/XMLViewer.css (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/xml/XMLViewer.css        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/xml/XMLViewer.css        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -59,7 +59,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> .tag {
</span><del>-    /* Keep this in sync with inspector.css (.webkit-html-tag) */
</del><ins>+    /* Keep this in sync with inspector.css (.tag-name) */
</ins><span class="cx">     color: rgb(136, 18, 128);
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorexmlXSLTProcessorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/xml/XSLTProcessor.cpp (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/xml/XSLTProcessor.cpp        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebCore/xml/XSLTProcessor.cpp        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -79,7 +79,7 @@
</span><span class="cx">         result = Document::create(frame, sourceIsDocument ? ownerDocument-&gt;url() : URL());
</span><span class="cx">         transformTextStringToXHTMLDocumentString(documentSource);
</span><span class="cx">     } else
</span><del>-        result = DOMImplementation::createDocument(sourceMIMEType, frame, sourceIsDocument ? ownerDocument-&gt;url() : URL(), false);
</del><ins>+        result = DOMImplementation::createDocument(sourceMIMEType, frame, sourceIsDocument ? ownerDocument-&gt;url() : URL());
</ins><span class="cx"> 
</span><span class="cx">     // Before parsing, we need to save &amp; detach the old document and get the new document
</span><span class="cx">     // in place. We have to do this only if we're rendering the result document.
</span></span></pre></div>
<a id="trunkSourceWebKitmacChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/ChangeLog (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/ChangeLog        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebKit/mac/ChangeLog        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -1,3 +1,13 @@
</span><ins>+2014-02-17  Anders Carlsson  &lt;andersca@apple.com&gt;
+
+        Remove view source code
+        https://bugs.webkit.org/show_bug.cgi?id=127233
+
+        Reviewed by Antti Koivisto.
+
+        * WebView/WebView.mm:
+        * WebView/WebViewPrivate.h:
+
</ins><span class="cx"> 2014-02-17  Sergio Correia  &lt;sergio.correia@openbossa.org&gt;
</span><span class="cx"> 
</span><span class="cx">         Replace uses of PassOwnPtr/OwnPtr with std::unique_ptr in WebCore/inspector
</span></span></pre></div>
<a id="trunkSourceWebKitmacWebViewWebViewmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/WebView/WebView.mm (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/WebView/WebView.mm        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebKit/mac/WebView/WebView.mm        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -3331,18 +3331,6 @@
</span><span class="cx"> }
</span><span class="cx"> #endif // !PLATFORM(IOS)
</span><span class="cx"> 
</span><del>-- (void)_setInViewSourceMode:(BOOL)flag
-{
-    if (Frame* mainFrame = [self _mainCoreFrame])
-        mainFrame-&gt;setInViewSourceMode(flag);
-}
-
-- (BOOL)_inViewSourceMode
-{
-    Frame* mainFrame = [self _mainCoreFrame];
-    return mainFrame &amp;&amp; mainFrame-&gt;inViewSourceMode();
-}
-
</del><span class="cx"> - (void)_setUseFastImageScalingMode:(BOOL)flag
</span><span class="cx"> {
</span><span class="cx">     if (_private-&gt;page &amp;&amp; _private-&gt;page-&gt;inLowQualityImageInterpolationMode() != flag) {
</span></span></pre></div>
<a id="trunkSourceWebKitmacWebViewWebViewPrivateh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/WebView/WebViewPrivate.h (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/WebView/WebViewPrivate.h        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebKit/mac/WebView/WebViewPrivate.h        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -697,18 +697,6 @@
</span><span class="cx"> #endif /* TARGET_OS_IPHONE */
</span><span class="cx"> 
</span><span class="cx"> /*!
</span><del>-    @method _setInViewSourceMode:
-    @abstract Used to place a WebView into a special source-viewing mode.
-  */
-- (void)_setInViewSourceMode:(BOOL)flag;
-
-/*!
-    @method _inViewSourceMode;
-    @abstract Whether or not the WebView is in source-view mode for HTML.
-  */
-- (BOOL)_inViewSourceMode;
-
-/*!
</del><span class="cx">     @method _attachScriptDebuggerToAllFrames
</span><span class="cx">     @abstract Attaches a script debugger to all frames belonging to the receiver.
</span><span class="cx">  */
</span></span></pre></div>
<a id="trunkSourceWebKitwinChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/win/ChangeLog (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/win/ChangeLog        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebKit/win/ChangeLog        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -1,3 +1,17 @@
</span><ins>+2014-02-17  Anders Carlsson  &lt;andersca@apple.com&gt;
+
+        Remove view source code
+        https://bugs.webkit.org/show_bug.cgi?id=127233
+
+        Reviewed by Antti Koivisto.
+
+        * WebFrame.cpp:
+        (WebFrame::inViewSourceMode):
+        (WebFrame::setInViewSourceMode):
+        * WebView.cpp:
+        (WebView::setInViewSourceMode):
+        (WebView::inViewSourceMode):
+
</ins><span class="cx"> 2014-02-17  Sergio Correia  &lt;sergio.correia@openbossa.org&gt;
</span><span class="cx"> 
</span><span class="cx">         Replace uses of PassOwnPtr/OwnPtr with std::unique_ptr in WebCore/inspector
</span></span></pre></div>
<a id="trunkSourceWebKitwinWebFramecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/win/WebFrame.cpp (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/win/WebFrame.cpp        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebKit/win/WebFrame.cpp        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -1113,29 +1113,12 @@
</span><span class="cx"> 
</span><span class="cx"> HRESULT WebFrame::inViewSourceMode(BOOL* flag)
</span><span class="cx"> {
</span><del>-    if (!flag) {
-        ASSERT_NOT_REACHED();
-        return E_POINTER;
-    }
-
-    *flag = FALSE;
-
-    Frame* coreFrame = core(this);
-    if (!coreFrame)
-        return E_FAIL;
-
-    *flag = coreFrame-&gt;inViewSourceMode() ? TRUE : FALSE;
-    return S_OK;
</del><ins>+    return E_NOTIMPL;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> HRESULT WebFrame::setInViewSourceMode(BOOL flag)
</span><span class="cx"> {
</span><del>-    Frame* coreFrame = core(this);
-    if (!coreFrame)
-        return E_FAIL;
-
-    coreFrame-&gt;setInViewSourceMode(!!flag);
-    return S_OK;
</del><ins>+    return E_NOTIMPL;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> HRESULT WebFrame::elementWithName(BSTR name, IDOMElement* form, IDOMElement** element)
</span></span></pre></div>
<a id="trunkSourceWebKitwinWebViewcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/win/WebView.cpp (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/win/WebView.cpp        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebKit/win/WebView.cpp        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -5114,19 +5114,13 @@
</span><span class="cx"> HRESULT STDMETHODCALLTYPE WebView::setInViewSourceMode( 
</span><span class="cx">         /* [in] */ BOOL flag)
</span><span class="cx"> {
</span><del>-    if (!m_mainFrame)
-        return E_FAIL;
-
-    return m_mainFrame-&gt;setInViewSourceMode(flag);
</del><ins>+    return E_NOTIMPL;
</ins><span class="cx"> }
</span><span class="cx">     
</span><span class="cx"> HRESULT STDMETHODCALLTYPE WebView::inViewSourceMode( 
</span><span class="cx">         /* [retval][out] */ BOOL* flag)
</span><span class="cx"> {
</span><del>-    if (!m_mainFrame)
-        return E_FAIL;
-
-    return m_mainFrame-&gt;inViewSourceMode(flag);
</del><ins>+    return E_NOTIMPL;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> HRESULT STDMETHODCALLTYPE WebView::viewWindow( 
</span></span></pre></div>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebKit2/ChangeLog        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -1,3 +1,17 @@
</span><ins>+2014-02-17  Anders Carlsson  &lt;andersca@apple.com&gt;
+
+        Remove view source code
+        https://bugs.webkit.org/show_bug.cgi?id=127233
+
+        Reviewed by Antti Koivisto.
+
+        * UIProcess/WebPageProxy.cpp:
+        (WebKit::WebPageProxy::WebPageProxy):
+        * UIProcess/WebPageProxy.h:
+        * WebProcess/WebPage/WebPage.cpp:
+        * WebProcess/WebPage/WebPage.h:
+        * WebProcess/WebPage/WebPage.messages.in:
+
</ins><span class="cx"> 2014-02-17  Sergio Correia  &lt;sergio.correia@openbossa.org&gt;
</span><span class="cx"> 
</span><span class="cx">         Replace uses of PassOwnPtr/OwnPtr with std::unique_ptr in WebCore/inspector
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessWebPageProxycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -324,7 +324,6 @@
</span><span class="cx">     , m_rubberBandsAtTop(true)
</span><span class="cx">     , m_rubberBandsAtBottom(true)
</span><span class="cx">     , m_backgroundExtendsBeyondPage(false)
</span><del>-    , m_mainFrameInViewSourceMode(false)
</del><span class="cx">     , m_shouldRecordNavigationSnapshots(false)
</span><span class="cx">     , m_pageCount(0)
</span><span class="cx">     , m_renderTreeSize(0)
</span><span class="lines">@@ -4453,17 +4452,6 @@
</span><span class="cx"> }
</span><span class="cx"> #endif // PLATFORM(GTK)
</span><span class="cx"> 
</span><del>-void WebPageProxy::setMainFrameInViewSourceMode(bool mainFrameInViewSourceMode)
-{
-    if (m_mainFrameInViewSourceMode == mainFrameInViewSourceMode)
-        return;
-
-    m_mainFrameInViewSourceMode = mainFrameInViewSourceMode;
-
-    if (isValid())
-        m_process-&gt;send(Messages::WebPage::SetMainFrameInViewSourceMode(mainFrameInViewSourceMode), m_pageID);
-}
-
</del><span class="cx"> void WebPageProxy::didSaveToPageCache()
</span><span class="cx"> {
</span><span class="cx">     m_process-&gt;didSaveToPageCache();
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessWebPageProxyh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/WebPageProxy.h (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/WebPageProxy.h        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebKit2/UIProcess/WebPageProxy.h        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -861,9 +861,6 @@
</span><span class="cx">     bool autoSizingShouldExpandToViewHeight() const { return m_autoSizingShouldExpandToViewHeight; }
</span><span class="cx">     void setAutoSizingShouldExpandToViewHeight(bool);
</span><span class="cx"> 
</span><del>-    bool mainFrameInViewSourceMode() const { return m_mainFrameInViewSourceMode; }
-    void setMainFrameInViewSourceMode(bool);
-
</del><span class="cx">     void didReceiveAuthenticationChallengeProxy(uint64_t frameID, PassRefPtr&lt;AuthenticationChallengeProxy&gt;);
</span><span class="cx"> 
</span><span class="cx">     int64_t spellDocumentTag();
</span><span class="lines">@@ -1395,8 +1392,6 @@
</span><span class="cx"> 
</span><span class="cx">     bool m_backgroundExtendsBeyondPage;
</span><span class="cx"> 
</span><del>-    bool m_mainFrameInViewSourceMode;
-
</del><span class="cx">     bool m_shouldRecordNavigationSnapshots;
</span><span class="cx"> 
</span><span class="cx">     unsigned m_pageCount;
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebPageWebPagecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -3841,11 +3841,6 @@
</span><span class="cx">     send(Messages::WebPageProxy::EditorStateChanged(editorState()));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebPage::setMainFrameInViewSourceMode(bool inViewSourceMode)
-{
-    m_mainFrame-&gt;coreFrame()-&gt;setInViewSourceMode(inViewSourceMode);
-}
-
</del><span class="cx"> void WebPage::setMinimumLayoutSize(const IntSize&amp; minimumLayoutSize)
</span><span class="cx"> {
</span><span class="cx">     if (m_minimumLayoutSize == minimumLayoutSize)
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebPageWebPageh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebPage.h (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebPage/WebPage.h        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebPage.h        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -887,8 +887,6 @@
</span><span class="cx"> 
</span><span class="cx">     bool canHandleUserEvents() const;
</span><span class="cx"> 
</span><del>-    void setMainFrameInViewSourceMode(bool);
-
</del><span class="cx">     static bool platformCanHandleRequest(const WebCore::ResourceRequest&amp;);
</span><span class="cx"> 
</span><span class="cx">     static PluginView* focusedPluginViewForFrame(WebCore::Frame&amp;);
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebPageWebPagemessagesin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebPage.messages.in (164253 => 164254)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebPage/WebPage.messages.in        2014-02-17 23:53:14 UTC (rev 164253)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebPage.messages.in        2014-02-17 23:53:29 UTC (rev 164254)
</span><span class="lines">@@ -321,8 +321,6 @@
</span><span class="cx"> #if PLATFORM(GTK) &amp;&amp; USE(TEXTURE_MAPPER_GL)
</span><span class="cx">     SetAcceleratedCompositingWindowId(int64_t id)
</span><span class="cx"> #endif
</span><del>-
-    SetMainFrameInViewSourceMode(bool inViewSourceMode)
-    
</del><ins>+  
</ins><span class="cx">     SetScrollPinningBehavior(uint32_t pinning)
</span><span class="cx"> }
</span></span></pre>
</div>
</div>

</body>
</html>