OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. |
3 * Copyright (C) 2012 Google Inc. All rights reserved. | 3 * Copyright (C) 2012 Google Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 class WebApplicationCacheHost; | 66 class WebApplicationCacheHost; |
67 class WebApplicationCacheHostClient; | 67 class WebApplicationCacheHostClient; |
68 class WebCookieJar; | 68 class WebCookieJar; |
69 class WebRTCPeerConnectionHandler; | 69 class WebRTCPeerConnectionHandler; |
70 class WebServiceWorkerProvider; | 70 class WebServiceWorkerProvider; |
71 class WebSocketHandle; | 71 class WebSocketHandle; |
72 class Widget; | 72 class Widget; |
73 | 73 |
74 class CORE_EXPORT FrameLoaderClient : public FrameClient { | 74 class CORE_EXPORT FrameLoaderClient : public FrameClient { |
75 public: | 75 public: |
76 virtual ~FrameLoaderClient() { } | 76 ~FrameLoaderClient() override {} |
77 | 77 |
78 virtual bool hasWebView() const = 0; // mainly for assertions | 78 virtual bool hasWebView() const = 0; // mainly for assertions |
79 | 79 |
80 virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long iden
tifier, ResourceRequest&, const ResourceResponse& redirectResponse) = 0; | 80 virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long iden
tifier, ResourceRequest&, const ResourceResponse& redirectResponse) = 0; |
81 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long i
dentifier, const ResourceResponse&) = 0; | 81 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long i
dentifier, const ResourceResponse&) = 0; |
82 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long ide
ntifier) = 0; | 82 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long ide
ntifier) = 0; |
83 virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceReques
t&, const ResourceResponse&) = 0; | 83 virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceReques
t&, const ResourceResponse&) = 0; |
84 | 84 |
85 virtual void dispatchDidHandleOnloadEvents() = 0; | 85 virtual void dispatchDidHandleOnloadEvents() = 0; |
86 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() = 0; | 86 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() = 0; |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 BeforeUnloadHandler, | 238 BeforeUnloadHandler, |
239 UnloadHandler, | 239 UnloadHandler, |
240 }; | 240 }; |
241 virtual void suddenTerminationDisablerChanged(bool present, SuddenTermin
ationDisablerType) { } | 241 virtual void suddenTerminationDisablerChanged(bool present, SuddenTermin
ationDisablerType) { } |
242 | 242 |
243 }; | 243 }; |
244 | 244 |
245 } // namespace blink | 245 } // namespace blink |
246 | 246 |
247 #endif // FrameLoaderClient_h | 247 #endif // FrameLoaderClient_h |
OLD | NEW |