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

Side by Side Diff: Source/WebKit/wx/WebKitSupport/FrameLoaderClientWx.h

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/wx/ChangeLog ('k') | Source/WebKit/wx/WebKitSupport/FrameLoaderClientWx.cpp » ('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 Kevin Ollivier <kevino@theolliviers.com> 2 * Copyright (C) 2007 Kevin Ollivier <kevino@theolliviers.com>
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 virtual bool dispatchDidLoadResourceFromMemoryCache(DocumentLoader*, con st ResourceRequest&, const ResourceResponse&, int); 199 virtual bool dispatchDidLoadResourceFromMemoryCache(DocumentLoader*, con st ResourceRequest&, const ResourceResponse&, int);
200 200
201 virtual void dispatchDidFailProvisionalLoad(const ResourceError&); 201 virtual void dispatchDidFailProvisionalLoad(const ResourceError&);
202 virtual void dispatchDidFailLoad(const ResourceError&); 202 virtual void dispatchDidFailLoad(const ResourceError&);
203 virtual Frame* dispatchCreatePage(const WebCore::NavigationAction&); 203 virtual Frame* dispatchCreatePage(const WebCore::NavigationAction&);
204 virtual void dispatchDecidePolicyForResponse(FramePolicyFunction functio n, const ResourceResponse&, const ResourceRequest&); 204 virtual void dispatchDecidePolicyForResponse(FramePolicyFunction functio n, const ResourceResponse&, const ResourceRequest&);
205 virtual void dispatchDecidePolicyForNewWindowAction(FramePolicyFunction function, const NavigationAction&, const ResourceRequest&, PassRefPtr<FormState> , const String&); 205 virtual void dispatchDecidePolicyForNewWindowAction(FramePolicyFunction function, const NavigationAction&, const ResourceRequest&, PassRefPtr<FormState> , const String&);
206 virtual void dispatchDecidePolicyForNavigationAction(FramePolicyFunction function, const NavigationAction&, const ResourceRequest&, PassRefPtr<FormState >); 206 virtual void dispatchDecidePolicyForNavigationAction(FramePolicyFunction function, const NavigationAction&, const ResourceRequest&, PassRefPtr<FormState >);
207 virtual void dispatchUnableToImplementPolicy(const ResourceError&); 207 virtual void dispatchUnableToImplementPolicy(const ResourceError&);
208 208
209 virtual void startDownload(const ResourceRequest&); 209 virtual void startDownload(const ResourceRequest&, const String& suggest edName = String());
210 210
211 // FIXME: This should probably not be here, but it's needed for the test s currently 211 // FIXME: This should probably not be here, but it's needed for the test s currently
212 virtual void partClearedInBegin(); 212 virtual void partClearedInBegin();
213 213
214 virtual PassRefPtr<Frame> createFrame(const KURL& url, const String& nam e, HTMLFrameOwnerElement* ownerElement, 214 virtual PassRefPtr<Frame> createFrame(const KURL& url, const String& nam e, HTMLFrameOwnerElement* ownerElement,
215 const String& referrer, bool allowsScrolling, int marginWidth, int marginHeight); 215 const String& referrer, bool allowsScrolling, int marginWidth, int marginHeight);
216 virtual void didTransferChildFrameToNewDocument(Page*); 216 virtual void didTransferChildFrameToNewDocument(Page*);
217 virtual void transferLoadingResourceFromPage(unsigned long, DocumentLoad er*, const ResourceRequest&, Page*); 217 virtual void transferLoadingResourceFromPage(unsigned long, DocumentLoad er*, const ResourceRequest&, Page*);
218 virtual PassRefPtr<Widget> createPlugin(const IntSize&, HTMLPlugInElemen t*, const KURL&, const Vector<String>&, const Vector<String>&, const String&, bo ol loadManually) ; 218 virtual PassRefPtr<Widget> createPlugin(const IntSize&, HTMLPlugInElemen t*, const KURL&, const Vector<String>&, const Vector<String>&, const String&, bo ol loadManually) ;
219 virtual void redirectDataToPlugin(Widget* pluginWidget); 219 virtual void redirectDataToPlugin(Widget* pluginWidget);
(...skipping 21 matching lines...) Expand all
241 wxWebView *m_webView; 241 wxWebView *m_webView;
242 PluginView* m_pluginView; 242 PluginView* m_pluginView;
243 bool m_hasSentResponseToPlugin; 243 bool m_hasSentResponseToPlugin;
244 ResourceResponse m_response; 244 ResourceResponse m_response;
245 bool m_firstData; 245 bool m_firstData;
246 }; 246 };
247 247
248 } 248 }
249 249
250 #endif 250 #endif
OLDNEW
« no previous file with comments | « Source/WebKit/wx/ChangeLog ('k') | Source/WebKit/wx/WebKitSupport/FrameLoaderClientWx.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698