| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 class SocketStreamHandle; | 69 class SocketStreamHandle; |
| 70 class SubstituteData; | 70 class SubstituteData; |
| 71 class Widget; | 71 class Widget; |
| 72 | 72 |
| 73 class FrameLoaderClient : public FrameClient { | 73 class FrameLoaderClient : public FrameClient { |
| 74 public: | 74 public: |
| 75 virtual ~FrameLoaderClient() { } | 75 virtual ~FrameLoaderClient() { } |
| 76 | 76 |
| 77 virtual bool hasWebView() const = 0; // mainly for assertions | 77 virtual bool hasWebView() const = 0; // mainly for assertions |
| 78 | 78 |
| 79 virtual void detachedFromParent() = 0; | |
| 80 | |
| 81 virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long iden
tifier, ResourceRequest&, const ResourceResponse& redirectResponse) = 0; | 79 virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long iden
tifier, ResourceRequest&, const ResourceResponse& redirectResponse) = 0; |
| 82 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long i
dentifier, const ResourceResponse&) = 0; | 80 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long i
dentifier, const ResourceResponse&) = 0; |
| 83 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long ide
ntifier) = 0; | 81 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long ide
ntifier) = 0; |
| 84 virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceReques
t&, const ResourceResponse&) = 0; | 82 virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceReques
t&, const ResourceResponse&) = 0; |
| 85 | 83 |
| 86 virtual void dispatchDidHandleOnloadEvents() = 0; | 84 virtual void dispatchDidHandleOnloadEvents() = 0; |
| 87 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() = 0; | 85 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() = 0; |
| 88 virtual void dispatchDidNavigateWithinPage(HistoryItem*, HistoryCommitTy
pe) { } | 86 virtual void dispatchDidNavigateWithinPage(HistoryItem*, HistoryCommitTy
pe) { } |
| 89 virtual void dispatchWillClose() = 0; | 87 virtual void dispatchWillClose() = 0; |
| 90 virtual void dispatchDidStartProvisionalLoad(bool isTransitionNavigation
) = 0; | 88 virtual void dispatchDidStartProvisionalLoad(bool isTransitionNavigation
) = 0; |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 virtual void didStopAllLoaders() { } | 213 virtual void didStopAllLoaders() { } |
| 216 | 214 |
| 217 virtual void dispatchDidChangeManifest() { } | 215 virtual void dispatchDidChangeManifest() { } |
| 218 | 216 |
| 219 virtual bool isFrameLoaderClientImpl() const { return false; } | 217 virtual bool isFrameLoaderClientImpl() const { return false; } |
| 220 }; | 218 }; |
| 221 | 219 |
| 222 } // namespace blink | 220 } // namespace blink |
| 223 | 221 |
| 224 #endif // FrameLoaderClient_h | 222 #endif // FrameLoaderClient_h |
| OLD | NEW |