OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |