OLD | NEW |
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 822 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
833 (m_frame->loader()->policyChecker()->*function)(PolicyUse); | 833 (m_frame->loader()->policyChecker()->*function)(PolicyUse); |
834 | 834 |
835 } | 835 } |
836 } | 836 } |
837 | 837 |
838 void FrameLoaderClientWx::dispatchUnableToImplementPolicy(const ResourceError&) | 838 void FrameLoaderClientWx::dispatchUnableToImplementPolicy(const ResourceError&) |
839 { | 839 { |
840 notImplemented(); | 840 notImplemented(); |
841 } | 841 } |
842 | 842 |
843 void FrameLoaderClientWx::startDownload(const ResourceRequest&) | 843 void FrameLoaderClientWx::startDownload(const ResourceRequest&, const String& /*
suggestedName */) |
844 { | 844 { |
845 notImplemented(); | 845 notImplemented(); |
846 } | 846 } |
847 | 847 |
848 PassRefPtr<Frame> FrameLoaderClientWx::createFrame(const KURL& url, const String
& name, HTMLFrameOwnerElement* ownerElement, | 848 PassRefPtr<Frame> FrameLoaderClientWx::createFrame(const KURL& url, const String
& name, HTMLFrameOwnerElement* ownerElement, |
849 const String& referrer, bool allowsScrolling,
int marginWidth, int marginHeight) | 849 const String& referrer, bool allowsScrolling,
int marginWidth, int marginHeight) |
850 { | 850 { |
851 WebViewFrameData* data = new WebViewFrameData(); | 851 WebViewFrameData* data = new WebViewFrameData(); |
852 data->name = name; | 852 data->name = name; |
853 data->ownerElement = ownerElement; | 853 data->ownerElement = ownerElement; |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
999 // not be used for pages with plugins in them. | 999 // not be used for pages with plugins in them. |
1000 return false; | 1000 return false; |
1001 } | 1001 } |
1002 | 1002 |
1003 PassRefPtr<FrameNetworkingContext> FrameLoaderClientWx::createNetworkingContext(
) | 1003 PassRefPtr<FrameNetworkingContext> FrameLoaderClientWx::createNetworkingContext(
) |
1004 { | 1004 { |
1005 return FrameNetworkingContextWx::create(m_frame); | 1005 return FrameNetworkingContextWx::create(m_frame); |
1006 } | 1006 } |
1007 | 1007 |
1008 } | 1008 } |
OLD | NEW |