| 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 RemoteFrame_h | 5 #ifndef RemoteFrame_h |
| 6 #define RemoteFrame_h | 6 #define RemoteFrame_h |
| 7 | 7 |
| 8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "core/dom/RemoteSecurityContext.h" | 9 #include "core/dom/RemoteSecurityContext.h" |
| 10 #include "core/frame/Frame.h" | 10 #include "core/frame/Frame.h" |
| 11 #include "public/platform/WebFocusType.h" | 11 #include "public/platform/WebFocusType.h" |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 class Event; | 15 class Event; |
| 16 class IntRect; | 16 class IntRect; |
| 17 class LocalFrame; | 17 class LocalFrame; |
| 18 class RemoteDOMWindow; | 18 class RemoteDOMWindow; |
| 19 class RemoteFrameClient; | 19 class RemoteFrameClient; |
| 20 class RemoteFrameView; | 20 class RemoteFrameView; |
| 21 class WebLayer; | 21 class WebLayer; |
| 22 class WindowProxyManager; | 22 class WindowProxyManager; |
| 23 struct FrameLoadRequest; | 23 struct FrameLoadRequest; |
| 24 | 24 |
| 25 class CORE_EXPORT RemoteFrame: public Frame { | 25 class CORE_EXPORT RemoteFrame final : public Frame { |
| 26 public: | 26 public: |
| 27 static RemoteFrame* create(RemoteFrameClient*, FrameHost*, FrameOwner*); | 27 static RemoteFrame* create(RemoteFrameClient*, FrameHost*, FrameOwner*); |
| 28 | 28 |
| 29 ~RemoteFrame() override; | 29 ~RemoteFrame() override; |
| 30 | 30 |
| 31 // Frame overrides: | 31 // Frame overrides: |
| 32 DECLARE_VIRTUAL_TRACE(); | 32 DECLARE_VIRTUAL_TRACE(); |
| 33 DOMWindow* domWindow() const override; | 33 DOMWindow* domWindow() const override; |
| 34 WindowProxy* windowProxy(DOMWrapperWorld&) override; | 34 WindowProxy* windowProxy(DOMWrapperWorld&) override; |
| 35 void navigate(Document& originDocument, const KURL&, bool replaceCurrentItem
, UserGestureStatus) override; | 35 void navigate(Document& originDocument, const KURL&, bool replaceCurrentItem
, UserGestureStatus) override; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 inline RemoteFrameView* RemoteFrame::view() const | 81 inline RemoteFrameView* RemoteFrame::view() const |
| 82 { | 82 { |
| 83 return m_view.get(); | 83 return m_view.get(); |
| 84 } | 84 } |
| 85 | 85 |
| 86 DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(),
remoteFrame.isRemoteFrame()); | 86 DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(),
remoteFrame.isRemoteFrame()); |
| 87 | 87 |
| 88 } // namespace blink | 88 } // namespace blink |
| 89 | 89 |
| 90 #endif // RemoteFrame_h | 90 #endif // RemoteFrame_h |
| OLD | NEW |