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

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

Issue 2103733004: Set navigationStart correctly for all load types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 ~FrameLoaderClient() override {} 89 ~FrameLoaderClient() override {}
90 90
91 virtual bool hasWebView() const = 0; // mainly for assertions 91 virtual bool hasWebView() const = 0; // mainly for assertions
92 92
93 virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long identifi er, ResourceRequest&, const ResourceResponse& redirectResponse) = 0; 93 virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long identifi er, ResourceRequest&, const ResourceResponse& redirectResponse) = 0;
94 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long ident ifier, const ResourceResponse&) = 0; 94 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long ident ifier, const ResourceResponse&) = 0;
95 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long identif ier) = 0; 95 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long identif ier) = 0;
96 virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceRequest&, const ResourceResponse&) = 0; 96 virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceRequest&, const ResourceResponse&) = 0;
97 97
98 virtual void dispatchDidHandleOnloadEvents() = 0; 98 virtual void dispatchDidHandleOnloadEvents() = 0;
99 virtual void dispatchDidHandleOnBeforeUnloadEvent(bool eventListenerCalled) = 0;
99 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() = 0; 100 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() = 0;
100 virtual void dispatchDidNavigateWithinPage(HistoryItem*, HistoryCommitType, bool contentInitiated) { } 101 virtual void dispatchDidNavigateWithinPage(HistoryItem*, HistoryCommitType, bool contentInitiated) { }
101 virtual void dispatchWillClose() = 0; 102 virtual void dispatchWillClose() = 0;
102 virtual void dispatchDidStartProvisionalLoad(double triggeringEventTime) = 0 ; 103 virtual void dispatchDidStartProvisionalLoad(double triggeringEventTime) = 0 ;
103 virtual void dispatchDidReceiveTitle(const String&) = 0; 104 virtual void dispatchDidReceiveTitle(const String&) = 0;
104 virtual void dispatchDidChangeIcons(IconType) = 0; 105 virtual void dispatchDidChangeIcons(IconType) = 0;
105 virtual void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) = 0; 106 virtual void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) = 0;
106 virtual void dispatchDidFailProvisionalLoad(const ResourceError&, HistoryCom mitType) = 0; 107 virtual void dispatchDidFailProvisionalLoad(const ResourceError&, HistoryCom mitType) = 0;
107 virtual void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) = 0; 108 virtual void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) = 0;
108 virtual void dispatchDidFinishDocumentLoad() = 0; 109 virtual void dispatchDidFinishDocumentLoad() = 0;
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 272
272 virtual LinkResource* createServiceWorkerLinkResource(HTMLLinkElement*) { re turn nullptr; } 273 virtual LinkResource* createServiceWorkerLinkResource(HTMLLinkElement*) { re turn nullptr; }
273 274
274 // Effective connection type when this frame was loaded. 275 // Effective connection type when this frame was loaded.
275 virtual WebEffectiveConnectionType getEffectiveConnectionType() { return Web EffectiveConnectionType::TypeUnknown; } 276 virtual WebEffectiveConnectionType getEffectiveConnectionType() { return Web EffectiveConnectionType::TypeUnknown; }
276 }; 277 };
277 278
278 } // namespace blink 279 } // namespace blink
279 280
280 #endif // FrameLoaderClient_h 281 #endif // FrameLoaderClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698