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