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

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

Issue 645623004: Reland "Streamline frame detach" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/loader/FrameLoader.cpp ('k') | Source/core/page/Page.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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 class SocketStreamHandle; 71 class SocketStreamHandle;
72 class SubstituteData; 72 class SubstituteData;
73 class Widget; 73 class Widget;
74 74
75 class FrameLoaderClient : public FrameClient { 75 class FrameLoaderClient : public FrameClient {
76 public: 76 public:
77 virtual ~FrameLoaderClient() { } 77 virtual ~FrameLoaderClient() { }
78 78
79 virtual bool hasWebView() const = 0; // mainly for assertions 79 virtual bool hasWebView() const = 0; // mainly for assertions
80 80
81 virtual void detachedFromParent() = 0;
82
83 virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long iden tifier, ResourceRequest&, const ResourceResponse& redirectResponse) = 0; 81 virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long iden tifier, ResourceRequest&, const ResourceResponse& redirectResponse) = 0;
84 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long i dentifier, const ResourceResponse&) = 0; 82 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long i dentifier, const ResourceResponse&) = 0;
85 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long ide ntifier) = 0; 83 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long ide ntifier) = 0;
86 virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceReques t&, const ResourceResponse&) = 0; 84 virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceReques t&, const ResourceResponse&) = 0;
87 85
88 virtual void dispatchDidHandleOnloadEvents() = 0; 86 virtual void dispatchDidHandleOnloadEvents() = 0;
89 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() = 0; 87 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() = 0;
90 virtual void dispatchDidNavigateWithinPage(HistoryItem*, HistoryCommitTy pe) { } 88 virtual void dispatchDidNavigateWithinPage(HistoryItem*, HistoryCommitTy pe) { }
91 virtual void dispatchWillClose() = 0; 89 virtual void dispatchWillClose() = 0;
92 virtual void dispatchDidStartProvisionalLoad(bool isTransitionNavigation ) = 0; 90 virtual void dispatchDidStartProvisionalLoad(bool isTransitionNavigation ) = 0;
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 virtual void didStopAllLoaders() { } 220 virtual void didStopAllLoaders() { }
223 221
224 virtual void dispatchDidChangeManifest() { } 222 virtual void dispatchDidChangeManifest() { }
225 223
226 virtual bool isFrameLoaderClientImpl() const { return false; } 224 virtual bool isFrameLoaderClientImpl() const { return false; }
227 }; 225 };
228 226
229 } // namespace blink 227 } // namespace blink
230 228
231 #endif // FrameLoaderClient_h 229 #endif // FrameLoaderClient_h
OLDNEW
« no previous file with comments | « Source/core/loader/FrameLoader.cpp ('k') | Source/core/page/Page.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698