Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1998)

Unified Diff: Source/web/WebLocalFrameImpl.cpp

Issue 1140153006: Remove Navigation Transitions from Blink. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed layout tests. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/WebLocalFrameImpl.h ('k') | Source/web/WebRuntimeFeatures.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebLocalFrameImpl.cpp
diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp
index b4b9eaedcccf30a82306f5b2da1d1a06845429a3..1aa35a2156319a3f7e0ebbef0c86e1bc28a1b05a 100644
--- a/Source/web/WebLocalFrameImpl.cpp
+++ b/Source/web/WebLocalFrameImpl.cpp
@@ -2013,24 +2013,6 @@ void WebLocalFrameImpl::setCommittedFirstRealLoad()
ensureFrameLoaderHasCommitted(frame()->loader());
}
-void WebLocalFrameImpl::addStyleSheetByURL(const WebString& url)
-{
- RefPtrWillBeRawPtr<Element> styleElement = frame()->document()->createElement(HTMLNames::linkTag, false);
-
- styleElement->setAttribute(HTMLNames::typeAttr, "text/css");
- styleElement->setAttribute(HTMLNames::relAttr, "stylesheet");
- styleElement->setAttribute(HTMLNames::hrefAttr, url);
-
- frame()->document()->head()->appendChild(styleElement.release(), IGNORE_EXCEPTION);
-}
-
-void WebLocalFrameImpl::navigateToSandboxedMarkup(const WebData& markup)
-{
- ASSERT(document().securityOrigin().isUnique());
- frame()->loader().forceSandboxFlags(SandboxAll);
- loadHTMLString(markup, document().url(), WebURL(), true);
-}
-
void WebLocalFrameImpl::sendOrientationChangeEvent()
{
if (!frame())
« no previous file with comments | « Source/web/WebLocalFrameImpl.h ('k') | Source/web/WebRuntimeFeatures.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698