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

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

Issue 1371673002: Remove a bunch of provisionalDataSource() usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long identifi er, ResourceRequest&, const ResourceResponse& redirectResponse) = 0; 81 virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long identifi er, ResourceRequest&, const ResourceResponse& redirectResponse) = 0;
82 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long ident ifier, const ResourceResponse&) = 0; 82 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long ident ifier, const ResourceResponse&) = 0;
83 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long identif ier) = 0; 83 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long identif ier) = 0;
84 virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceRequest&, const ResourceResponse&) = 0; 84 virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceRequest&, const ResourceResponse&) = 0;
85 85
86 virtual void dispatchDidHandleOnloadEvents() = 0; 86 virtual void dispatchDidHandleOnloadEvents() = 0;
87 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() = 0; 87 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() = 0;
88 virtual void dispatchDidNavigateWithinPage(HistoryItem*, HistoryCommitType) { } 88 virtual void dispatchDidNavigateWithinPage(HistoryItem*, HistoryCommitType) { }
89 virtual void dispatchWillClose() = 0; 89 virtual void dispatchWillClose() = 0;
90 virtual void dispatchDidStartProvisionalLoad(double triggeringEventTime) = 0 ; 90 virtual void dispatchDidStartProvisionalLoad(DocumentLoader*, double trigger ingEventTime) = 0;
91 virtual void dispatchDidReceiveTitle(const String&) = 0; 91 virtual void dispatchDidReceiveTitle(const String&) = 0;
92 virtual void dispatchDidChangeIcons(IconType) = 0; 92 virtual void dispatchDidChangeIcons(IconType) = 0;
93 virtual void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) = 0; 93 virtual void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) = 0;
94 virtual void dispatchDidFailProvisionalLoad(const ResourceError&, HistoryCom mitType) = 0; 94 virtual void dispatchDidFailProvisionalLoad(DocumentLoader*, const ResourceE rror&, HistoryCommitType) = 0;
95 virtual void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) = 0; 95 virtual void dispatchDidFailLoad(DocumentLoader*, const ResourceError&, Hist oryCommitType) = 0;
96 virtual void dispatchDidFinishDocumentLoad(bool documentIsEmpty) = 0; 96 virtual void dispatchDidFinishDocumentLoad(bool documentIsEmpty) = 0;
97 virtual void dispatchDidFinishLoad() = 0; 97 virtual void dispatchDidFinishLoad() = 0;
98 virtual void dispatchDidChangeThemeColor() = 0; 98 virtual void dispatchDidChangeThemeColor() = 0;
99 99
100 virtual NavigationPolicy decidePolicyForNavigation(const ResourceRequest&, D ocumentLoader*, NavigationPolicy) = 0; 100 virtual NavigationPolicy decidePolicyForNavigation(const ResourceRequest&, D ocumentLoader*, NavigationPolicy) = 0;
101 virtual bool hasPendingNavigation() = 0; 101 virtual bool hasPendingNavigation() = 0;
102 102
103 virtual void dispatchWillSendSubmitEvent(HTMLFormElement*) = 0; 103 virtual void dispatchWillSendSubmitEvent(HTMLFormElement*) = 0;
104 virtual void dispatchWillSubmitForm(HTMLFormElement*) = 0; 104 virtual void dispatchWillSubmitForm(DocumentLoader*, HTMLFormElement*) = 0;
105 105
106 virtual void didStartLoading(LoadStartType) = 0; 106 virtual void didStartLoading(LoadStartType) = 0;
107 virtual void progressEstimateChanged(double progressEstimate) = 0; 107 virtual void progressEstimateChanged(double progressEstimate) = 0;
108 virtual void didStopLoading() = 0; 108 virtual void didStopLoading() = 0;
109 109
110 virtual void loadURLExternally(const ResourceRequest&, NavigationPolicy, con st String& suggestedName = String()) = 0; 110 virtual void loadURLExternally(const ResourceRequest&, NavigationPolicy, con st String& suggestedName = String()) = 0;
111 111
112 virtual bool navigateBackForward(int offset) const = 0; 112 virtual bool navigateBackForward(int offset) const = 0;
113 113
114 // Another page has accessed the initial empty document of this frame. 114 // Another page has accessed the initial empty document of this frame.
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 BeforeUnloadHandler, 233 BeforeUnloadHandler,
234 UnloadHandler, 234 UnloadHandler,
235 }; 235 };
236 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio nDisablerType) { } 236 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio nDisablerType) { }
237 237
238 }; 238 };
239 239
240 } // namespace blink 240 } // namespace blink
241 241
242 #endif // FrameLoaderClient_h 242 #endif // FrameLoaderClient_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameLoader.cpp ('k') | third_party/WebKit/Source/web/FrameLoaderClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698