| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 virtual void dispatchDidReceiveTitle(const String&) = 0; | 103 virtual void dispatchDidReceiveTitle(const String&) = 0; |
| 104 virtual void dispatchDidChangeIcons(IconType) = 0; | 104 virtual void dispatchDidChangeIcons(IconType) = 0; |
| 105 virtual void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) = 0; | 105 virtual void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) = 0; |
| 106 virtual void dispatchDidFailProvisionalLoad(const ResourceError&, HistoryCom
mitType) = 0; | 106 virtual void dispatchDidFailProvisionalLoad(const ResourceError&, HistoryCom
mitType) = 0; |
| 107 virtual void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) =
0; | 107 virtual void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) =
0; |
| 108 virtual void dispatchDidFinishDocumentLoad() = 0; | 108 virtual void dispatchDidFinishDocumentLoad() = 0; |
| 109 virtual void dispatchDidFinishLoad() = 0; | 109 virtual void dispatchDidFinishLoad() = 0; |
| 110 virtual void dispatchDidChangeThemeColor() = 0; | 110 virtual void dispatchDidChangeThemeColor() = 0; |
| 111 | 111 |
| 112 virtual NavigationPolicy decidePolicyForNavigation(const ResourceRequest&, D
ocumentLoader*, NavigationType, NavigationPolicy, bool shouldReplaceCurrentEntry
, bool isClientRedirect) = 0; | 112 virtual NavigationPolicy decidePolicyForNavigation(const ResourceRequest&, D
ocumentLoader*, NavigationType, NavigationPolicy, bool shouldReplaceCurrentEntry
, bool isClientRedirect) = 0; |
| 113 virtual bool hasPendingNavigation() = 0; | |
| 114 | 113 |
| 115 virtual void dispatchWillSendSubmitEvent(HTMLFormElement*) = 0; | 114 virtual void dispatchWillSendSubmitEvent(HTMLFormElement*) = 0; |
| 116 virtual void dispatchWillSubmitForm(HTMLFormElement*) = 0; | 115 virtual void dispatchWillSubmitForm(HTMLFormElement*) = 0; |
| 117 | 116 |
| 118 virtual void didStartLoading(LoadStartType) = 0; | 117 virtual void didStartLoading(LoadStartType) = 0; |
| 119 virtual void progressEstimateChanged(double progressEstimate) = 0; | 118 virtual void progressEstimateChanged(double progressEstimate) = 0; |
| 120 virtual void didStopLoading() = 0; | 119 virtual void didStopLoading() = 0; |
| 121 | 120 |
| 122 virtual void loadURLExternally(const ResourceRequest&, NavigationPolicy, con
st String& suggestedName, bool replacesCurrentHistoryItem) = 0; | 121 virtual void loadURLExternally(const ResourceRequest&, NavigationPolicy, con
st String& suggestedName, bool replacesCurrentHistoryItem) = 0; |
| 123 | 122 |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 | 270 |
| 272 virtual LinkResource* createServiceWorkerLinkResource(HTMLLinkElement*) { re
turn nullptr; } | 271 virtual LinkResource* createServiceWorkerLinkResource(HTMLLinkElement*) { re
turn nullptr; } |
| 273 | 272 |
| 274 // Effective connection type when this frame was loaded. | 273 // Effective connection type when this frame was loaded. |
| 275 virtual WebEffectiveConnectionType getEffectiveConnectionType() { return Web
EffectiveConnectionType::TypeUnknown; } | 274 virtual WebEffectiveConnectionType getEffectiveConnectionType() { return Web
EffectiveConnectionType::TypeUnknown; } |
| 276 }; | 275 }; |
| 277 | 276 |
| 278 } // namespace blink | 277 } // namespace blink |
| 279 | 278 |
| 280 #endif // FrameLoaderClient_h | 279 #endif // FrameLoaderClient_h |
| OLD | NEW |