| 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 virtual void dispatchWillSubmitForm(HTMLFormElement*) = 0; | 125 virtual void dispatchWillSubmitForm(HTMLFormElement*) = 0; |
| 126 | 126 |
| 127 virtual void didStartLoading(LoadStartType) = 0; | 127 virtual void didStartLoading(LoadStartType) = 0; |
| 128 virtual void progressEstimateChanged(double progressEstimate) = 0; | 128 virtual void progressEstimateChanged(double progressEstimate) = 0; |
| 129 virtual void didStopLoading() = 0; | 129 virtual void didStopLoading() = 0; |
| 130 | 130 |
| 131 virtual void loadURLExternally(const ResourceRequest&, | 131 virtual void loadURLExternally(const ResourceRequest&, |
| 132 NavigationPolicy, | 132 NavigationPolicy, |
| 133 const String& suggestedName, | 133 const String& suggestedName, |
| 134 bool replacesCurrentHistoryItem) = 0; | 134 bool replacesCurrentHistoryItem) = 0; |
| 135 virtual void loadErrorPage(int reason) = 0; |
| 135 | 136 |
| 136 virtual bool navigateBackForward(int offset) const = 0; | 137 virtual bool navigateBackForward(int offset) const = 0; |
| 137 | 138 |
| 138 // Another page has accessed the initial empty document of this frame. It is | 139 // Another page has accessed the initial empty document of this frame. It is |
| 139 // no longer safe to display a provisional URL, since a URL spoof is now | 140 // no longer safe to display a provisional URL, since a URL spoof is now |
| 140 // possible. | 141 // possible. |
| 141 virtual void didAccessInitialDocument() {} | 142 virtual void didAccessInitialDocument() {} |
| 142 | 143 |
| 143 // This frame has displayed inactive content (such as an image) from an | 144 // This frame has displayed inactive content (such as an image) from an |
| 144 // insecure source. Inactive content cannot spread to other frames. | 145 // insecure source. Inactive content cannot spread to other frames. |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 } | 333 } |
| 333 | 334 |
| 334 // Overwrites the given URL to use an HTML5 embed if possible. An empty URL is | 335 // Overwrites the given URL to use an HTML5 embed if possible. An empty URL is |
| 335 // returned if the URL is not overriden. | 336 // returned if the URL is not overriden. |
| 336 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } | 337 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } |
| 337 }; | 338 }; |
| 338 | 339 |
| 339 } // namespace blink | 340 } // namespace blink |
| 340 | 341 |
| 341 #endif // FrameLoaderClient_h | 342 #endif // FrameLoaderClient_h |
| OLD | NEW |