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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 virtual void dispatchDidFinishLoad() = 0; | 115 virtual void dispatchDidFinishLoad() = 0; |
116 virtual void dispatchDidFirstVisuallyNonEmptyLayout() = 0; | 116 virtual void dispatchDidFirstVisuallyNonEmptyLayout() = 0; |
117 | 117 |
118 virtual NavigationPolicy decidePolicyForNavigation(const ResourceRequest
&, DocumentLoader*, NavigationPolicy) = 0; | 118 virtual NavigationPolicy decidePolicyForNavigation(const ResourceRequest
&, DocumentLoader*, NavigationPolicy) = 0; |
119 | 119 |
120 virtual void dispatchWillRequestResource(FetchRequest*) { } | 120 virtual void dispatchWillRequestResource(FetchRequest*) { } |
121 | 121 |
122 virtual void dispatchWillSendSubmitEvent(HTMLFormElement*) = 0; | 122 virtual void dispatchWillSendSubmitEvent(HTMLFormElement*) = 0; |
123 virtual void dispatchWillSubmitForm(HTMLFormElement*) = 0; | 123 virtual void dispatchWillSubmitForm(HTMLFormElement*) = 0; |
124 | 124 |
125 // Maybe these should go into a ProgressTrackerClient some day | 125 virtual void didStartLoading(LoadStartType) = 0; |
126 virtual void postProgressStartedNotification(LoadStartType) = 0; | 126 virtual void progressEstimateChanged(double progressEstimate) = 0; |
127 virtual void postProgressEstimateChangedNotification() = 0; | 127 virtual void didStopLoading() = 0; |
128 virtual void postProgressFinishedNotification() = 0; | |
129 | 128 |
130 virtual void loadURLExternally(const ResourceRequest&, NavigationPolicy,
const String& suggestedName = String()) = 0; | 129 virtual void loadURLExternally(const ResourceRequest&, NavigationPolicy,
const String& suggestedName = String()) = 0; |
131 | 130 |
132 virtual bool navigateBackForward(int offset) const = 0; | 131 virtual bool navigateBackForward(int offset) const = 0; |
133 | 132 |
134 // Another page has accessed the initial empty document of this frame. | 133 // Another page has accessed the initial empty document of this frame. |
135 // It is no longer safe to display a provisional URL, since a URL spoof | 134 // It is no longer safe to display a provisional URL, since a URL spoof |
136 // is now possible. | 135 // is now possible. |
137 virtual void didAccessInitialDocument() { } | 136 virtual void didAccessInitialDocument() { } |
138 | 137 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 virtual PassOwnPtr<blink::WebApplicationCacheHost> createApplicationCach
eHost(blink::WebApplicationCacheHostClient*) = 0; | 226 virtual PassOwnPtr<blink::WebApplicationCacheHost> createApplicationCach
eHost(blink::WebApplicationCacheHostClient*) = 0; |
228 | 227 |
229 virtual void didStopAllLoaders() { } | 228 virtual void didStopAllLoaders() { } |
230 | 229 |
231 virtual bool isFrameLoaderClientImpl() const { return false; } | 230 virtual bool isFrameLoaderClientImpl() const { return false; } |
232 }; | 231 }; |
233 | 232 |
234 } // namespace WebCore | 233 } // namespace WebCore |
235 | 234 |
236 #endif // FrameLoaderClient_h | 235 #endif // FrameLoaderClient_h |
OLD | NEW |