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" |
(...skipping 11 matching lines...) Expand all Loading... |
22 public: | 22 public: |
23 static PassRefPtrWillBeRawPtr<RemoteFrame> create(RemoteFrameClient*, FrameH
ost*, FrameOwner*); | 23 static PassRefPtrWillBeRawPtr<RemoteFrame> create(RemoteFrameClient*, FrameH
ost*, FrameOwner*); |
24 | 24 |
25 virtual ~RemoteFrame(); | 25 virtual ~RemoteFrame(); |
26 | 26 |
27 // Frame overrides: | 27 // Frame overrides: |
28 DECLARE_VIRTUAL_TRACE(); | 28 DECLARE_VIRTUAL_TRACE(); |
29 bool isRemoteFrame() const override { return true; } | 29 bool isRemoteFrame() const override { return true; } |
30 DOMWindow* domWindow() const override; | 30 DOMWindow* domWindow() const override; |
31 WindowProxy* windowProxy(DOMWrapperWorld&) override; | 31 WindowProxy* windowProxy(DOMWrapperWorld&) override; |
| 32 Widget* widget() const override; |
32 void navigate(Document& originDocument, const KURL&, bool lockBackForwardLis
t) override; | 33 void navigate(Document& originDocument, const KURL&, bool lockBackForwardLis
t) override; |
33 void reload(ReloadPolicy, ClientRedirectPolicy) override; | 34 void reload(ReloadPolicy, ClientRedirectPolicy) override; |
34 void detach() override; | 35 void detach() override; |
35 RemoteSecurityContext* securityContext() const override; | 36 RemoteSecurityContext* securityContext() const override; |
36 void printNavigationErrorMessage(const Frame&, const char* reason) override
{ } | 37 void printNavigationErrorMessage(const Frame&, const char* reason) override
{ } |
37 void disconnectOwnerElement() override; | 38 void disconnectOwnerElement() override; |
38 | 39 |
39 // FIXME: Remove this method once we have input routing in the browser | 40 // FIXME: Remove this method once we have input routing in the browser |
40 // process. See http://crbug.com/339659. | 41 // process. See http://crbug.com/339659. |
41 void forwardInputEvent(Event*); | 42 void forwardInputEvent(Event*); |
(...skipping 24 matching lines...) Expand all Loading... |
66 inline RemoteFrameView* RemoteFrame::view() const | 67 inline RemoteFrameView* RemoteFrame::view() const |
67 { | 68 { |
68 return m_view.get(); | 69 return m_view.get(); |
69 } | 70 } |
70 | 71 |
71 DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(),
remoteFrame.isRemoteFrame()); | 72 DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(),
remoteFrame.isRemoteFrame()); |
72 | 73 |
73 } // namespace blink | 74 } // namespace blink |
74 | 75 |
75 #endif // RemoteFrame_h | 76 #endif // RemoteFrame_h |
OLD | NEW |