| 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/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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 | 181 |
| 182 WebRemoteFrameClient* client() const { return m_client; } | 182 WebRemoteFrameClient* client() const { return m_client; } |
| 183 | 183 |
| 184 static WebRemoteFrameImpl* fromFrame(RemoteFrame&); | 184 static WebRemoteFrameImpl* fromFrame(RemoteFrame&); |
| 185 | 185 |
| 186 virtual void initializeFromFrame(WebLocalFrame*) const override; | 186 virtual void initializeFromFrame(WebLocalFrame*) const override; |
| 187 | 187 |
| 188 virtual void setReplicatedOrigin(const WebSecurityOrigin&) const override; | 188 virtual void setReplicatedOrigin(const WebSecurityOrigin&) const override; |
| 189 virtual void setReplicatedSandboxFlags(WebSandboxFlags) const override; | 189 virtual void setReplicatedSandboxFlags(WebSandboxFlags) const override; |
| 190 virtual void setReplicatedName(const WebString&) const override; | 190 virtual void setReplicatedName(const WebString&) const override; |
| 191 virtual void DispatchLoadEventForFrameOwner() const override; |
| 191 | 192 |
| 192 void didStartLoading() override; | 193 void didStartLoading() override; |
| 193 void didStopLoading() override; | 194 void didStopLoading() override; |
| 194 | 195 |
| 195 #if ENABLE(OILPAN) | 196 #if ENABLE(OILPAN) |
| 196 void trace(Visitor*); | 197 void trace(Visitor*); |
| 197 #endif | 198 #endif |
| 198 | 199 |
| 199 private: | 200 private: |
| 200 RemoteFrameClientImpl m_frameClient; | 201 RemoteFrameClientImpl m_frameClient; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 213 GC_PLUGIN_IGNORE("340522") | 214 GC_PLUGIN_IGNORE("340522") |
| 214 Persistent<WebRemoteFrameImpl> m_selfKeepAlive; | 215 Persistent<WebRemoteFrameImpl> m_selfKeepAlive; |
| 215 #endif | 216 #endif |
| 216 }; | 217 }; |
| 217 | 218 |
| 218 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); | 219 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); |
| 219 | 220 |
| 220 } // namespace blink | 221 } // namespace blink |
| 221 | 222 |
| 222 #endif // WebRemoteFrameImpl_h | 223 #endif // WebRemoteFrameImpl_h |
| OLD | NEW |