OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights |
3 * reserved. | 3 * reserved. |
4 * Copyright (C) 2012 Google Inc. All rights reserved. | 4 * Copyright (C) 2012 Google Inc. All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * | 9 * |
10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 virtual void dispatchWillSubmitForm(HTMLFormElement*) = 0; | 126 virtual void dispatchWillSubmitForm(HTMLFormElement*) = 0; |
127 | 127 |
128 virtual void didStartLoading(LoadStartType) = 0; | 128 virtual void didStartLoading(LoadStartType) = 0; |
129 virtual void progressEstimateChanged(double progressEstimate) = 0; | 129 virtual void progressEstimateChanged(double progressEstimate) = 0; |
130 virtual void didStopLoading() = 0; | 130 virtual void didStopLoading() = 0; |
131 | 131 |
132 virtual void loadURLExternally(const ResourceRequest&, | 132 virtual void loadURLExternally(const ResourceRequest&, |
133 NavigationPolicy, | 133 NavigationPolicy, |
134 const String& suggestedName, | 134 const String& suggestedName, |
135 bool replacesCurrentHistoryItem) = 0; | 135 bool replacesCurrentHistoryItem) = 0; |
| 136 virtual void loadErrorPage(int reason) = 0; |
136 | 137 |
137 virtual bool navigateBackForward(int offset) const = 0; | 138 virtual bool navigateBackForward(int offset) const = 0; |
138 | 139 |
139 // Another page has accessed the initial empty document of this frame. It is | 140 // Another page has accessed the initial empty document of this frame. It is |
140 // no longer safe to display a provisional URL, since a URL spoof is now | 141 // no longer safe to display a provisional URL, since a URL spoof is now |
141 // possible. | 142 // possible. |
142 virtual void didAccessInitialDocument() {} | 143 virtual void didAccessInitialDocument() {} |
143 | 144 |
144 // This frame has displayed inactive content (such as an image) from an | 145 // This frame has displayed inactive content (such as an image) from an |
145 // insecure source. Inactive content cannot spread to other frames. | 146 // insecure source. Inactive content cannot spread to other frames. |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 } | 339 } |
339 | 340 |
340 // Overwrites the given URL to use an HTML5 embed if possible. An empty URL is | 341 // Overwrites the given URL to use an HTML5 embed if possible. An empty URL is |
341 // returned if the URL is not overriden. | 342 // returned if the URL is not overriden. |
342 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } | 343 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } |
343 }; | 344 }; |
344 | 345 |
345 } // namespace blink | 346 } // namespace blink |
346 | 347 |
347 #endif // FrameLoaderClient_h | 348 #endif // FrameLoaderClient_h |
OLD | NEW |