| OLD | NEW |
| 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/RemoteFrame.h" | 8 #include "core/frame/RemoteFrame.h" |
| 9 #include "platform/heap/SelfKeepAlive.h" |
| 9 #include "public/web/WebRemoteFrame.h" | 10 #include "public/web/WebRemoteFrame.h" |
| 10 #include "public/web/WebRemoteFrameClient.h" | 11 #include "public/web/WebRemoteFrameClient.h" |
| 11 #include "web/RemoteFrameClientImpl.h" | 12 #include "web/RemoteFrameClientImpl.h" |
| 12 #include "web/WebExport.h" | 13 #include "web/WebExport.h" |
| 13 #include "web/WebFrameImplBase.h" | 14 #include "web/WebFrameImplBase.h" |
| 14 #include "wtf/Compiler.h" | 15 #include "wtf/Compiler.h" |
| 15 #include "wtf/OwnPtr.h" | 16 #include "wtf/OwnPtr.h" |
| 16 | 17 |
| 17 namespace blink { | 18 namespace blink { |
| 18 | 19 |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 // Accomplish that by keeping a self-referential Persistent<>. It is | 187 // Accomplish that by keeping a self-referential Persistent<>. It is |
| 187 // cleared upon close(). | 188 // cleared upon close(). |
| 188 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; | 189 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; |
| 189 }; | 190 }; |
| 190 | 191 |
| 191 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); | 192 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); |
| 192 | 193 |
| 193 } // namespace blink | 194 } // namespace blink |
| 194 | 195 |
| 195 #endif // WebRemoteFrameImpl_h | 196 #endif // WebRemoteFrameImpl_h |
| OLD | NEW |