Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Side by Side Diff: Source/core/loader/FrameLoaderClient.h

Issue 215533004: Revert of Make start/stop loading notifications per-frame (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/loader/FrameLoader.cpp ('k') | Source/core/loader/ProgressTracker.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 virtual void didStartLoading(LoadStartType) = 0; 125 // Maybe these should go into a ProgressTrackerClient some day
126 virtual void progressEstimateChanged(double progressEstimate) = 0; 126 virtual void postProgressStartedNotification(LoadStartType) = 0;
127 virtual void didStopLoading() = 0; 127 virtual void postProgressEstimateChangedNotification() = 0;
128 virtual void postProgressFinishedNotification() = 0;
128 129
129 virtual void loadURLExternally(const ResourceRequest&, NavigationPolicy, const String& suggestedName = String()) = 0; 130 virtual void loadURLExternally(const ResourceRequest&, NavigationPolicy, const String& suggestedName = String()) = 0;
130 131
131 virtual bool navigateBackForward(int offset) const = 0; 132 virtual bool navigateBackForward(int offset) const = 0;
132 133
133 // Another page has accessed the initial empty document of this frame. 134 // Another page has accessed the initial empty document of this frame.
134 // It is no longer safe to display a provisional URL, since a URL spoof 135 // It is no longer safe to display a provisional URL, since a URL spoof
135 // is now possible. 136 // is now possible.
136 virtual void didAccessInitialDocument() { } 137 virtual void didAccessInitialDocument() { }
137 138
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 virtual PassOwnPtr<blink::WebApplicationCacheHost> createApplicationCach eHost(blink::WebApplicationCacheHostClient*) = 0; 227 virtual PassOwnPtr<blink::WebApplicationCacheHost> createApplicationCach eHost(blink::WebApplicationCacheHostClient*) = 0;
227 228
228 virtual void didStopAllLoaders() { } 229 virtual void didStopAllLoaders() { }
229 230
230 virtual bool isFrameLoaderClientImpl() const { return false; } 231 virtual bool isFrameLoaderClientImpl() const { return false; }
231 }; 232 };
232 233
233 } // namespace WebCore 234 } // namespace WebCore
234 235
235 #endif // FrameLoaderClient_h 236 #endif // FrameLoaderClient_h
OLDNEW
« no previous file with comments | « Source/core/loader/FrameLoader.cpp ('k') | Source/core/loader/ProgressTracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698