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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 virtual void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) = 0; | 95 virtual void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) = 0; |
96 virtual void dispatchDidFailProvisionalLoad(const ResourceError&, HistoryCom
mitType) = 0; | 96 virtual void dispatchDidFailProvisionalLoad(const ResourceError&, HistoryCom
mitType) = 0; |
97 virtual void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) =
0; | 97 virtual void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) =
0; |
98 virtual void dispatchDidFinishDocumentLoad(bool documentIsEmpty) = 0; | 98 virtual void dispatchDidFinishDocumentLoad(bool documentIsEmpty) = 0; |
99 virtual void dispatchDidFinishLoad() = 0; | 99 virtual void dispatchDidFinishLoad() = 0; |
100 virtual void dispatchDidFirstVisuallyNonEmptyLayout() = 0; | 100 virtual void dispatchDidFirstVisuallyNonEmptyLayout() = 0; |
101 virtual void dispatchDidChangeThemeColor() = 0; | 101 virtual void dispatchDidChangeThemeColor() = 0; |
102 | 102 |
103 virtual NavigationPolicy decidePolicyForNavigation(const ResourceRequest&, D
ocumentLoader*, NavigationPolicy) = 0; | 103 virtual NavigationPolicy decidePolicyForNavigation(const ResourceRequest&, D
ocumentLoader*, NavigationPolicy) = 0; |
104 | 104 |
105 virtual void dispatchWillRequestResource(FetchRequest*) { } | |
106 | |
107 virtual void dispatchWillSendSubmitEvent(HTMLFormElement*) = 0; | 105 virtual void dispatchWillSendSubmitEvent(HTMLFormElement*) = 0; |
108 virtual void dispatchWillSubmitForm(HTMLFormElement*) = 0; | 106 virtual void dispatchWillSubmitForm(HTMLFormElement*) = 0; |
109 | 107 |
110 virtual void didStartLoading(LoadStartType) = 0; | 108 virtual void didStartLoading(LoadStartType) = 0; |
111 virtual void progressEstimateChanged(double progressEstimate) = 0; | 109 virtual void progressEstimateChanged(double progressEstimate) = 0; |
112 virtual void didStopLoading() = 0; | 110 virtual void didStopLoading() = 0; |
113 | 111 |
114 virtual void loadURLExternally(const ResourceRequest&, NavigationPolicy, con
st String& suggestedName = String()) = 0; | 112 virtual void loadURLExternally(const ResourceRequest&, NavigationPolicy, con
st String& suggestedName = String()) = 0; |
115 | 113 |
116 virtual bool navigateBackForward(int offset) const = 0; | 114 virtual bool navigateBackForward(int offset) const = 0; |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 BeforeUnloadHandler, | 242 BeforeUnloadHandler, |
245 UnloadHandler, | 243 UnloadHandler, |
246 }; | 244 }; |
247 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } | 245 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } |
248 | 246 |
249 }; | 247 }; |
250 | 248 |
251 } // namespace blink | 249 } // namespace blink |
252 | 250 |
253 #endif // FrameLoaderClient_h | 251 #endif // FrameLoaderClient_h |
OLD | NEW |