| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 | 90 |
| 91 virtual bool hasWebView() const = 0; // mainly for assertions | 91 virtual bool hasWebView() const = 0; // mainly for assertions |
| 92 | 92 |
| 93 virtual void dispatchWillSendRequest(ResourceRequest&) = 0; | 93 virtual void dispatchWillSendRequest(ResourceRequest&) = 0; |
| 94 virtual void dispatchDidReceiveResponse(const ResourceResponse&) = 0; | 94 virtual void dispatchDidReceiveResponse(const ResourceResponse&) = 0; |
| 95 virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceRequest&,
const ResourceResponse&) = 0; | 95 virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceRequest&,
const ResourceResponse&) = 0; |
| 96 | 96 |
| 97 virtual void dispatchDidHandleOnloadEvents() = 0; | 97 virtual void dispatchDidHandleOnloadEvents() = 0; |
| 98 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() = 0; | 98 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() = 0; |
| 99 virtual void dispatchDidNavigateWithinPage(HistoryItem*, HistoryCommitType,
bool contentInitiated) { } | 99 virtual void dispatchDidNavigateWithinPage(HistoryItem*, HistoryCommitType,
bool contentInitiated) { } |
| 100 virtual void dispatchWillClose() = 0; | 100 virtual void dispatchWillCommitProvisionalLoad() = 0; |
| 101 virtual void dispatchDidStartProvisionalLoad(double triggeringEventTime) = 0
; | 101 virtual void dispatchDidStartProvisionalLoad(double triggeringEventTime) = 0
; |
| 102 virtual void dispatchDidReceiveTitle(const String&) = 0; | 102 virtual void dispatchDidReceiveTitle(const String&) = 0; |
| 103 virtual void dispatchDidChangeIcons(IconType) = 0; | 103 virtual void dispatchDidChangeIcons(IconType) = 0; |
| 104 virtual void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) = 0; | 104 virtual void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) = 0; |
| 105 virtual void dispatchDidFailProvisionalLoad(const ResourceError&, HistoryCom
mitType) = 0; | 105 virtual void dispatchDidFailProvisionalLoad(const ResourceError&, HistoryCom
mitType) = 0; |
| 106 virtual void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) =
0; | 106 virtual void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) =
0; |
| 107 virtual void dispatchDidFinishDocumentLoad() = 0; | 107 virtual void dispatchDidFinishDocumentLoad() = 0; |
| 108 virtual void dispatchDidFinishLoad() = 0; | 108 virtual void dispatchDidFinishLoad() = 0; |
| 109 virtual void dispatchDidChangeThemeColor() = 0; | 109 virtual void dispatchDidChangeThemeColor() = 0; |
| 110 | 110 |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 virtual WebEffectiveConnectionType getEffectiveConnectionType() { return Web
EffectiveConnectionType::TypeUnknown; } | 271 virtual WebEffectiveConnectionType getEffectiveConnectionType() { return Web
EffectiveConnectionType::TypeUnknown; } |
| 272 | 272 |
| 273 // Overwrites the given URL to use an HTML5 embed if possible. | 273 // Overwrites the given URL to use an HTML5 embed if possible. |
| 274 // An empty URL is returned if the URL is not overriden. | 274 // An empty URL is returned if the URL is not overriden. |
| 275 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } | 275 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } |
| 276 }; | 276 }; |
| 277 | 277 |
| 278 } // namespace blink | 278 } // namespace blink |
| 279 | 279 |
| 280 #endif // FrameLoaderClient_h | 280 #endif // FrameLoaderClient_h |
| OLD | NEW |