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

Unified Diff: Tools/DumpRenderTree/chromium/WebViewHost.cpp

Issue 7521007: Merge 91797 - Add support for download='filename' attribute in anchors. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/835/
Patch Set: Created 9 years, 5 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 | « Tools/DumpRenderTree/chromium/WebViewHost.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/DumpRenderTree/chromium/WebViewHost.cpp
===================================================================
--- Tools/DumpRenderTree/chromium/WebViewHost.cpp (revision 91866)
+++ Tools/DumpRenderTree/chromium/WebViewHost.cpp (working copy)
@@ -799,8 +799,13 @@
return enabledPerSettings;
}
-void WebViewHost::loadURLExternally(WebFrame*, const WebURLRequest& request, WebNavigationPolicy policy)
+void WebViewHost::loadURLExternally(WebFrame* frame, const WebURLRequest& request, WebNavigationPolicy policy)
{
+ loadURLExternally(frame, request, policy, WebString());
+}
+
+void WebViewHost::loadURLExternally(WebFrame*, const WebURLRequest& request, WebNavigationPolicy policy, const WebString& downloadName)
+{
ASSERT(policy != WebKit::WebNavigationPolicyCurrentTab);
WebViewHost* another = m_shell->createNewWindow(request.url());
if (another)
« no previous file with comments | « Tools/DumpRenderTree/chromium/WebViewHost.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698