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

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

Issue 551973005: Streamline frame detach (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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
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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 class SocketStreamHandle; 81 class SocketStreamHandle;
82 class SubstituteData; 82 class SubstituteData;
83 class Widget; 83 class Widget;
84 84
85 class FrameLoaderClient : public FrameClient { 85 class FrameLoaderClient : public FrameClient {
86 public: 86 public:
87 virtual ~FrameLoaderClient() { } 87 virtual ~FrameLoaderClient() { }
88 88
89 virtual bool hasWebView() const = 0; // mainly for assertions 89 virtual bool hasWebView() const = 0; // mainly for assertions
90 90
91 virtual void detachedFromParent() = 0;
92
93 virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long iden tifier, ResourceRequest&, const ResourceResponse& redirectResponse) = 0; 91 virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long iden tifier, ResourceRequest&, const ResourceResponse& redirectResponse) = 0;
94 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long i dentifier, const ResourceResponse&) = 0; 92 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long i dentifier, const ResourceResponse&) = 0;
95 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long ide ntifier) = 0; 93 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long ide ntifier) = 0;
96 virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceReques t&, const ResourceResponse&) = 0; 94 virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceReques t&, const ResourceResponse&) = 0;
97 95
98 virtual void dispatchDidHandleOnloadEvents() = 0; 96 virtual void dispatchDidHandleOnloadEvents() = 0;
99 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() = 0; 97 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() = 0;
100 virtual void dispatchDidNavigateWithinPage(HistoryItem*, HistoryCommitTy pe) { } 98 virtual void dispatchDidNavigateWithinPage(HistoryItem*, HistoryCommitTy pe) { }
101 virtual void dispatchWillClose() = 0; 99 virtual void dispatchWillClose() = 0;
102 virtual void dispatchDidStartProvisionalLoad(bool isTransitionNavigation ) = 0; 100 virtual void dispatchDidStartProvisionalLoad(bool isTransitionNavigation ) = 0;
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 virtual void didStopAllLoaders() { } 228 virtual void didStopAllLoaders() { }
231 229
232 virtual void dispatchDidChangeManifest() { } 230 virtual void dispatchDidChangeManifest() { }
233 231
234 virtual bool isFrameLoaderClientImpl() const { return false; } 232 virtual bool isFrameLoaderClientImpl() const { return false; }
235 }; 233 };
236 234
237 } // namespace blink 235 } // namespace blink
238 236
239 #endif // FrameLoaderClient_h 237 #endif // FrameLoaderClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698