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

Side by Side Diff: Source/WebKit/win/WebFrame.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, 4 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/qt/WebCoreSupport/FrameLoaderClientQt.cpp ('k') | Source/WebKit/win/WebFrame.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) 2006, 2007, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 virtual bool shouldFallBack(const WebCore::ResourceError&); 335 virtual bool shouldFallBack(const WebCore::ResourceError&);
336 virtual void dispatchDecidePolicyForResponse(WebCore::FramePolicyFunction, c onst WebCore::ResourceResponse&, const WebCore::ResourceRequest&); 336 virtual void dispatchDecidePolicyForResponse(WebCore::FramePolicyFunction, c onst WebCore::ResourceResponse&, const WebCore::ResourceRequest&);
337 virtual void dispatchDecidePolicyForNewWindowAction(WebCore::FramePolicyFunc tion, const WebCore::NavigationAction&, const WebCore::ResourceRequest&, PassRef Ptr<WebCore::FormState>, const WTF::String& frameName); 337 virtual void dispatchDecidePolicyForNewWindowAction(WebCore::FramePolicyFunc tion, const WebCore::NavigationAction&, const WebCore::ResourceRequest&, PassRef Ptr<WebCore::FormState>, const WTF::String& frameName);
338 virtual void dispatchDecidePolicyForNavigationAction(WebCore::FramePolicyFun ction, const WebCore::NavigationAction&, const WebCore::ResourceRequest&, PassRe fPtr<WebCore::FormState>); 338 virtual void dispatchDecidePolicyForNavigationAction(WebCore::FramePolicyFun ction, const WebCore::NavigationAction&, const WebCore::ResourceRequest&, PassRe fPtr<WebCore::FormState>);
339 virtual void dispatchUnableToImplementPolicy(const WebCore::ResourceError&); 339 virtual void dispatchUnableToImplementPolicy(const WebCore::ResourceError&);
340 virtual void download(WebCore::ResourceHandle*, const WebCore::ResourceReque st&, const WebCore::ResourceRequest&, const WebCore::ResourceResponse&); 340 virtual void download(WebCore::ResourceHandle*, const WebCore::ResourceReque st&, const WebCore::ResourceRequest&, const WebCore::ResourceResponse&);
341 341
342 virtual bool dispatchDidLoadResourceFromMemoryCache(WebCore::DocumentLoader* , const WebCore::ResourceRequest&, const WebCore::ResourceResponse&, int length) ; 342 virtual bool dispatchDidLoadResourceFromMemoryCache(WebCore::DocumentLoader* , const WebCore::ResourceRequest&, const WebCore::ResourceResponse&, int length) ;
343 virtual void dispatchDidFailProvisionalLoad(const WebCore::ResourceError&); 343 virtual void dispatchDidFailProvisionalLoad(const WebCore::ResourceError&);
344 virtual void dispatchDidFailLoad(const WebCore::ResourceError&); 344 virtual void dispatchDidFailLoad(const WebCore::ResourceError&);
345 virtual void startDownload(const WebCore::ResourceRequest&); 345 virtual void startDownload(const WebCore::ResourceRequest&, const String& su ggestedName = String());
346 346
347 virtual PassRefPtr<WebCore::Widget> createJavaAppletWidget(const WebCore::In tSize&, WebCore::HTMLAppletElement*, const WebCore::KURL& baseURL, const Vector< WTF::String>& paramNames, const Vector<WTF::String>& paramValues); 347 virtual PassRefPtr<WebCore::Widget> createJavaAppletWidget(const WebCore::In tSize&, WebCore::HTMLAppletElement*, const WebCore::KURL& baseURL, const Vector< WTF::String>& paramNames, const Vector<WTF::String>& paramValues);
348 348
349 virtual WebCore::ObjectContentType objectContentType(const WebCore::KURL&, c onst WTF::String& mimeType, bool shouldPreferPlugInsForImages); 349 virtual WebCore::ObjectContentType objectContentType(const WebCore::KURL&, c onst WTF::String& mimeType, bool shouldPreferPlugInsForImages);
350 virtual WTF::String overrideMediaType() const; 350 virtual WTF::String overrideMediaType() const;
351 351
352 virtual void dispatchDidClearWindowObjectInWorld(WebCore::DOMWrapperWorld*); 352 virtual void dispatchDidClearWindowObjectInWorld(WebCore::DOMWrapperWorld*);
353 virtual void documentElementAvailable(); 353 virtual void documentElementAvailable();
354 virtual void didPerformFirstNavigation() const; 354 virtual void didPerformFirstNavigation() const;
355 355
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 WebFramePrivate* d; 404 WebFramePrivate* d;
405 bool m_quickRedirectComing; 405 bool m_quickRedirectComing;
406 WebCore::KURL m_originalRequestURL; 406 WebCore::KURL m_originalRequestURL;
407 bool m_inPrintingMode; 407 bool m_inPrintingMode;
408 Vector<WebCore::IntRect> m_pageRects; 408 Vector<WebCore::IntRect> m_pageRects;
409 int m_pageHeight; // height of the page adjusted by margins 409 int m_pageHeight; // height of the page adjusted by margins
410 mutable COMPtr<AccessibleDocument> m_accessible; 410 mutable COMPtr<AccessibleDocument> m_accessible;
411 }; 411 };
412 412
413 #endif 413 #endif
OLDNEW
« no previous file with comments | « Source/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp ('k') | Source/WebKit/win/WebFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698