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

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

Issue 117493002: Invert the owning relationship between WebFrame and Frame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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/web/FrameLoaderClientImpl.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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 class SharedBuffer; 81 class SharedBuffer;
82 class SharedWorkerRepositoryClient; 82 class SharedWorkerRepositoryClient;
83 class SocketStreamHandle; 83 class SocketStreamHandle;
84 class SubstituteData; 84 class SubstituteData;
85 class Widget; 85 class Widget;
86 86
87 class FrameLoaderClient { 87 class FrameLoaderClient {
88 public: 88 public:
89 virtual ~FrameLoaderClient() { } 89 virtual ~FrameLoaderClient() { }
90 90
91 virtual void frameLoaderDestroyed() = 0;
92
93 virtual bool hasWebView() const = 0; // mainly for assertions 91 virtual bool hasWebView() const = 0; // mainly for assertions
94 92
93 virtual void willDetachParent() = 0;
95 virtual void detachedFromParent() = 0; 94 virtual void detachedFromParent() = 0;
96 95
97 virtual void dispatchWillRequestAfterPreconnect(ResourceRequest&) { } 96 virtual void dispatchWillRequestAfterPreconnect(ResourceRequest&) { }
98 virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long iden tifier, ResourceRequest&, const ResourceResponse& redirectResponse) = 0; 97 virtual void dispatchWillSendRequest(DocumentLoader*, unsigned long iden tifier, ResourceRequest&, const ResourceResponse& redirectResponse) = 0;
99 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long i dentifier, const ResourceResponse&) = 0; 98 virtual void dispatchDidReceiveResponse(DocumentLoader*, unsigned long i dentifier, const ResourceResponse&) = 0;
100 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long ide ntifier) = 0; 99 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long ide ntifier) = 0;
101 virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceReques t&, const ResourceResponse&) = 0; 100 virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceReques t&, const ResourceResponse&) = 0;
102 101
103 virtual void dispatchDidHandleOnloadEvents() = 0; 102 virtual void dispatchDidHandleOnloadEvents() = 0;
104 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() = 0; 103 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() = 0;
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 virtual SharedWorkerRepositoryClient* sharedWorkerRepositoryClient() { r eturn 0; } 227 virtual SharedWorkerRepositoryClient* sharedWorkerRepositoryClient() { r eturn 0; }
229 228
230 virtual void didStopAllLoaders() { } 229 virtual void didStopAllLoaders() { }
231 230
232 virtual bool isFrameLoaderClientImpl() const { return false; } 231 virtual bool isFrameLoaderClientImpl() const { return false; }
233 }; 232 };
234 233
235 } // namespace WebCore 234 } // namespace WebCore
236 235
237 #endif // FrameLoaderClient_h 236 #endif // FrameLoaderClient_h
OLDNEW
« no previous file with comments | « Source/core/loader/FrameLoader.cpp ('k') | Source/web/FrameLoaderClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698