OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 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 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 852 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
863 void WebFrameLoaderClient::postProgressFinishedNotification() | 863 void WebFrameLoaderClient::postProgressFinishedNotification() |
864 { | 864 { |
865 [[NSNotificationCenter defaultCenter] postNotificationName:WebViewProgressFi
nishedNotification object:getWebView(m_webFrame.get())]; | 865 [[NSNotificationCenter defaultCenter] postNotificationName:WebViewProgressFi
nishedNotification object:getWebView(m_webFrame.get())]; |
866 } | 866 } |
867 | 867 |
868 void WebFrameLoaderClient::setMainFrameDocumentReady(bool ready) | 868 void WebFrameLoaderClient::setMainFrameDocumentReady(bool ready) |
869 { | 869 { |
870 [getWebView(m_webFrame.get()) setMainFrameDocumentReady:ready]; | 870 [getWebView(m_webFrame.get()) setMainFrameDocumentReady:ready]; |
871 } | 871 } |
872 | 872 |
873 void WebFrameLoaderClient::startDownload(const ResourceRequest& request) | 873 void WebFrameLoaderClient::startDownload(const ResourceRequest& request, const S
tring& /* suggestedName */) |
874 { | 874 { |
875 // FIXME: Should download full request. | 875 // FIXME: Should download full request. |
876 WebDownload *download = [getWebView(m_webFrame.get()) _downloadURL:request.u
rl()]; | 876 WebDownload *download = [getWebView(m_webFrame.get()) _downloadURL:request.u
rl()]; |
877 | 877 |
878 setOriginalURLForDownload(download, request); | 878 setOriginalURLForDownload(download, request); |
879 } | 879 } |
880 | 880 |
881 void WebFrameLoaderClient::willChangeTitle(DocumentLoader* loader) | 881 void WebFrameLoaderClient::willChangeTitle(DocumentLoader* loader) |
882 { | 882 { |
883 // FIXME: Should do this only in main frame case, right? | 883 // FIXME: Should do this only in main frame case, right? |
(...skipping 1235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2119 { | 2119 { |
2120 [self receivedPolicyDecision:PolicyUse]; | 2120 [self receivedPolicyDecision:PolicyUse]; |
2121 } | 2121 } |
2122 | 2122 |
2123 - (void)continue | 2123 - (void)continue |
2124 { | 2124 { |
2125 [self receivedPolicyDecision:PolicyUse]; | 2125 [self receivedPolicyDecision:PolicyUse]; |
2126 } | 2126 } |
2127 | 2127 |
2128 @end | 2128 @end |
OLD | NEW |