| 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 "platform/heap/Handle.h" |    8 #include "platform/heap/Handle.h" | 
|    9 #include "public/web/WebRemoteFrame.h" |    9 #include "public/web/WebRemoteFrame.h" | 
|   10 #include "public/web/WebRemoteFrameClient.h" |   10 #include "public/web/WebRemoteFrameClient.h" | 
|   11 #include "web/RemoteFrameClientImpl.h" |   11 #include "web/RemoteFrameClientImpl.h" | 
|   12 #include "wtf/HashMap.h" |   12 #include "wtf/HashMap.h" | 
|   13 #include "wtf/OwnPtr.h" |   13 #include "wtf/OwnPtr.h" | 
|   14 #include "wtf/RefCounted.h" |   14 #include "wtf/RefCounted.h" | 
|   15  |   15  | 
|   16 namespace blink { |   16 namespace blink { | 
|   17  |   17  | 
|   18 class FrameHost; |   18 class FrameHost; | 
|   19 class FrameOwner; |   19 class FrameOwner; | 
|   20 class RemoteFrame; |   20 class RemoteFrame; | 
|   21 class WebViewImpl; |  | 
|   22  |   21  | 
|   23 class WebRemoteFrameImpl final : public RefCountedWillBeGarbageCollectedFinalize
     d<WebRemoteFrameImpl>, public WebRemoteFrame { |   22 class WebRemoteFrameImpl final : public RefCountedWillBeGarbageCollectedFinalize
     d<WebRemoteFrameImpl>, public WebRemoteFrame { | 
|   24 public: |   23 public: | 
|   25     explicit WebRemoteFrameImpl(WebRemoteFrameClient*); |   24     explicit WebRemoteFrameImpl(WebRemoteFrameClient*); | 
|   26     virtual ~WebRemoteFrameImpl(); |   25     virtual ~WebRemoteFrameImpl(); | 
|   27  |   26  | 
|   28     // WebRemoteFrame methods. |   27     // WebRemoteFrame methods. | 
|   29     virtual bool isWebLocalFrame() const override; |   28     virtual bool isWebLocalFrame() const override; | 
|   30     virtual WebLocalFrame* toWebLocalFrame() override; |   29     virtual WebLocalFrame* toWebLocalFrame() override; | 
|   31     virtual bool isWebRemoteFrame() const override; |   30     virtual bool isWebRemoteFrame() const override; | 
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  205     GC_PLUGIN_IGNORE("340522") |  204     GC_PLUGIN_IGNORE("340522") | 
|  206     Persistent<WebRemoteFrameImpl> m_selfKeepAlive; |  205     Persistent<WebRemoteFrameImpl> m_selfKeepAlive; | 
|  207 #endif |  206 #endif | 
|  208 }; |  207 }; | 
|  209  |  208  | 
|  210 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
     , frame.isWebRemoteFrame()); |  209 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
     , frame.isWebRemoteFrame()); | 
|  211  |  210  | 
|  212 } // namespace blink |  211 } // namespace blink | 
|  213  |  212  | 
|  214 #endif // WebRemoteFrameImpl_h |  213 #endif // WebRemoteFrameImpl_h | 
| OLD | NEW |