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

Side by Side Diff: Source/web/WebRemoteFrameImpl.h

Issue 1306793003: Oilpan: Move FrameLoaderClient class hierarchy into Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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/web/WebPagePopupImpl.cpp ('k') | Source/web/WebRemoteFrameImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebRemoteFrameImpl_h 5 #ifndef WebRemoteFrameImpl_h
6 #define WebRemoteFrameImpl_h 6 #define WebRemoteFrameImpl_h
7 7
8 #include "core/frame/FrameOwner.h" 8 #include "core/frame/FrameOwner.h"
9 #include "platform/heap/Handle.h" 9 #include "platform/heap/Handle.h"
10 #include "public/web/WebRemoteFrame.h" 10 #include "public/web/WebRemoteFrame.h"
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 void didStartLoading() override; 188 void didStartLoading() override;
189 void didStopLoading() override; 189 void didStopLoading() override;
190 190
191 #if ENABLE(OILPAN) 191 #if ENABLE(OILPAN)
192 DECLARE_TRACE(); 192 DECLARE_TRACE();
193 #endif 193 #endif
194 194
195 private: 195 private:
196 WebRemoteFrameImpl(WebTreeScopeType, WebRemoteFrameClient*); 196 WebRemoteFrameImpl(WebTreeScopeType, WebRemoteFrameClient*);
197 197
198 RemoteFrameClientImpl m_frameClient; 198 OwnPtrWillBeMember<RemoteFrameClientImpl> m_frameClient;
199 RefPtrWillBeMember<RemoteFrame> m_frame; 199 RefPtrWillBeMember<RemoteFrame> m_frame;
200 WebRemoteFrameClient* m_client; 200 WebRemoteFrameClient* m_client;
201 201
202 WillBeHeapHashMap<WebFrame*, OwnPtrWillBeMember<FrameOwner>> m_ownersForChil dren; 202 WillBeHeapHashMap<WebFrame*, OwnPtrWillBeMember<FrameOwner>> m_ownersForChil dren;
203 203
204 #if ENABLE(OILPAN) 204 #if ENABLE(OILPAN)
205 // Oilpan: WebRemoteFrameImpl must remain alive until close() is called. 205 // Oilpan: WebRemoteFrameImpl must remain alive until close() is called.
206 // Accomplish that by keeping a self-referential Persistent<>. It is 206 // Accomplish that by keeping a self-referential Persistent<>. It is
207 // cleared upon close(). 207 // cleared upon close().
208 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; 208 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive;
209 #endif 209 #endif
210 }; 210 };
211 211
212 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame() , frame.isWebRemoteFrame()); 212 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame() , frame.isWebRemoteFrame());
213 213
214 } // namespace blink 214 } // namespace blink
215 215
216 #endif // WebRemoteFrameImpl_h 216 #endif // WebRemoteFrameImpl_h
OLDNEW
« no previous file with comments | « Source/web/WebPagePopupImpl.cpp ('k') | Source/web/WebRemoteFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698