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

Side by Side Diff: Source/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.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 unified diff | Download patch
« no previous file with comments | « Source/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.h ('k') | Source/WebKit/haiku/ChangeLog » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008 Alp Toker <alp@atoker.com> 2 * Copyright (C) 2007, 2008 Alp Toker <alp@atoker.com>
3 * Copyright (C) 2007, 2008, 2009 Holger Hans Peter Freyther 3 * Copyright (C) 2007, 2008, 2009 Holger Hans Peter Freyther
4 * Copyright (C) 2007 Christian Dywan <christian@twotoasts.de> 4 * Copyright (C) 2007 Christian Dywan <christian@twotoasts.de>
5 * Copyright (C) 2008, 2009 Collabora Ltd. All rights reserved. 5 * Copyright (C) 2008, 2009 Collabora Ltd. All rights reserved.
6 * Copyright (C) 2009, 2010 Gustavo Noronha Silva <gns@gnome.org> 6 * Copyright (C) 2009, 2010 Gustavo Noronha Silva <gns@gnome.org>
7 * Copyright (C) Research In Motion Limited 2009. All rights reserved. 7 * Copyright (C) Research In Motion Limited 2009. All rights reserved.
8 * Copyright (C) 2010 Igalia S.L. 8 * Copyright (C) 2010 Igalia S.L.
9 * Copyright (C) 2011 Apple Inc. All rights reserved. 9 * Copyright (C) 2011 Apple Inc. All rights reserved.
10 * 10 *
(...skipping 1203 matching lines...) Expand 10 before | Expand all | Expand 10 after
1214 1214
1215 void FrameLoaderClient::setMainDocumentError(WebCore::DocumentLoader*, const Res ourceError& error) 1215 void FrameLoaderClient::setMainDocumentError(WebCore::DocumentLoader*, const Res ourceError& error)
1216 { 1216 {
1217 if (m_pluginView) { 1217 if (m_pluginView) {
1218 m_pluginView->didFail(error); 1218 m_pluginView->didFail(error);
1219 m_pluginView = 0; 1219 m_pluginView = 0;
1220 m_hasSentResponseToPlugin = false; 1220 m_hasSentResponseToPlugin = false;
1221 } 1221 }
1222 } 1222 }
1223 1223
1224 void FrameLoaderClient::startDownload(const ResourceRequest& request) 1224 void FrameLoaderClient::startDownload(const ResourceRequest& request, const Stri ng& /* suggestedName */)
1225 { 1225 {
1226 GRefPtr<WebKitNetworkRequest> networkRequest(adoptGRef(kitNew(request))); 1226 GRefPtr<WebKitNetworkRequest> networkRequest(adoptGRef(kitNew(request)));
1227 WebKitWebView* view = getViewFromFrame(m_frame); 1227 WebKitWebView* view = getViewFromFrame(m_frame);
1228 1228
1229 webkit_web_view_request_download(view, networkRequest.get()); 1229 webkit_web_view_request_download(view, networkRequest.get());
1230 } 1230 }
1231 1231
1232 void FrameLoaderClient::updateGlobalHistory() 1232 void FrameLoaderClient::updateGlobalHistory()
1233 { 1233 {
1234 notImplemented(); 1234 notImplemented();
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
1310 void FrameLoaderClient::dispatchDidBecomeFrameset(bool) 1310 void FrameLoaderClient::dispatchDidBecomeFrameset(bool)
1311 { 1311 {
1312 } 1312 }
1313 1313
1314 PassRefPtr<FrameNetworkingContext> FrameLoaderClient::createNetworkingContext() 1314 PassRefPtr<FrameNetworkingContext> FrameLoaderClient::createNetworkingContext()
1315 { 1315 {
1316 return FrameNetworkingContextGtk::create(core(m_frame)); 1316 return FrameNetworkingContextGtk::create(core(m_frame));
1317 } 1317 }
1318 1318
1319 } 1319 }
OLDNEW
« no previous file with comments | « Source/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.h ('k') | Source/WebKit/haiku/ChangeLog » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698