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

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

Issue 1976573002: Only use pending navigation params for browser-initiated navigations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: consistency Created 4 years, 7 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 virtual bool hasWebView() const = 0; // mainly for assertions 86 virtual bool hasWebView() const = 0; // mainly for assertions
87 87
88 virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long identifi er, ResourceRequest&, const ResourceResponse& redirectResponse) = 0; 88 virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long identifi er, ResourceRequest&, const ResourceResponse& redirectResponse) = 0;
89 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long ident ifier, const ResourceResponse&) = 0; 89 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long ident ifier, const ResourceResponse&) = 0;
90 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long identif ier) = 0; 90 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long identif ier) = 0;
91 virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceRequest&, const ResourceResponse&) = 0; 91 virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceRequest&, const ResourceResponse&) = 0;
92 92
93 virtual void dispatchDidHandleOnloadEvents() = 0; 93 virtual void dispatchDidHandleOnloadEvents() = 0;
94 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() = 0; 94 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() = 0;
95 virtual void dispatchDidNavigateWithinPage(HistoryItem*, HistoryCommitType) { } 95 virtual void dispatchDidNavigateWithinPage(HistoryItem*, HistoryCommitType, bool contentInitiated) { }
96 virtual void dispatchWillClose() = 0; 96 virtual void dispatchWillClose() = 0;
97 virtual void dispatchDidStartProvisionalLoad(double triggeringEventTime) = 0 ; 97 virtual void dispatchDidStartProvisionalLoad(double triggeringEventTime) = 0 ;
98 virtual void dispatchDidReceiveTitle(const String&) = 0; 98 virtual void dispatchDidReceiveTitle(const String&) = 0;
99 virtual void dispatchDidChangeIcons(IconType) = 0; 99 virtual void dispatchDidChangeIcons(IconType) = 0;
100 virtual void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) = 0; 100 virtual void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) = 0;
101 virtual void dispatchDidFailProvisionalLoad(const ResourceError&, HistoryCom mitType) = 0; 101 virtual void dispatchDidFailProvisionalLoad(const ResourceError&, HistoryCom mitType) = 0;
102 virtual void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) = 0; 102 virtual void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) = 0;
103 virtual void dispatchDidFinishDocumentLoad() = 0; 103 virtual void dispatchDidFinishDocumentLoad() = 0;
104 virtual void dispatchDidFinishLoad() = 0; 104 virtual void dispatchDidFinishLoad() = 0;
105 virtual void dispatchDidChangeThemeColor() = 0; 105 virtual void dispatchDidChangeThemeColor() = 0;
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 260
261 virtual LinkResource* createServiceWorkerLinkResource(HTMLLinkElement*) { re turn nullptr; } 261 virtual LinkResource* createServiceWorkerLinkResource(HTMLLinkElement*) { re turn nullptr; }
262 262
263 // Effective connection type when this frame was loaded. 263 // Effective connection type when this frame was loaded.
264 virtual WebEffectiveConnectionType getEffectiveConnectionType() { return Web EffectiveConnectionType::TypeUnknown; } 264 virtual WebEffectiveConnectionType getEffectiveConnectionType() { return Web EffectiveConnectionType::TypeUnknown; }
265 }; 265 };
266 266
267 } // namespace blink 267 } // namespace blink
268 268
269 #endif // FrameLoaderClient_h 269 #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