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/dom/RemoteSecurityContext.h" | 8 #include "core/dom/RemoteSecurityContext.h" |
9 #include "core/frame/Frame.h" | 9 #include "core/frame/Frame.h" |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 virtual ~RemoteFrame(); | 22 virtual ~RemoteFrame(); |
23 | 23 |
24 // Frame overrides: | 24 // Frame overrides: |
25 void trace(Visitor*) override; | 25 void trace(Visitor*) override; |
26 virtual bool isRemoteFrame() const override { return true; } | 26 virtual bool isRemoteFrame() const override { return true; } |
27 virtual DOMWindow* domWindow() const override; | 27 virtual DOMWindow* domWindow() const override; |
28 virtual void navigate(Document& originDocument, const KURL&, bool lockBackFo
rwardList) override; | 28 virtual void navigate(Document& originDocument, const KURL&, bool lockBackFo
rwardList) override; |
29 virtual void reload(ReloadPolicy, ClientRedirectPolicy) override; | 29 virtual void reload(ReloadPolicy, ClientRedirectPolicy) override; |
30 virtual void detach() override; | 30 virtual void detach() override; |
31 virtual RemoteSecurityContext* securityContext() const override; | 31 virtual RemoteSecurityContext* securityContext() const override; |
32 bool checkLoadComplete() override; | |
33 | 32 |
34 // FIXME: Remove this method once we have input routing in the browser | 33 // FIXME: Remove this method once we have input routing in the browser |
35 // process. See http://crbug.com/339659. | 34 // process. See http://crbug.com/339659. |
36 void forwardInputEvent(Event*); | 35 void forwardInputEvent(Event*); |
37 | 36 |
38 void setView(PassRefPtrWillBeRawPtr<RemoteFrameView>); | 37 void setView(PassRefPtrWillBeRawPtr<RemoteFrameView>); |
39 void createView(); | 38 void createView(); |
40 | 39 |
41 RemoteFrameView* view() const; | 40 RemoteFrameView* view() const; |
42 | 41 |
(...skipping 11 matching lines...) Expand all Loading... |
54 inline RemoteFrameView* RemoteFrame::view() const | 53 inline RemoteFrameView* RemoteFrame::view() const |
55 { | 54 { |
56 return m_view.get(); | 55 return m_view.get(); |
57 } | 56 } |
58 | 57 |
59 DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(),
remoteFrame.isRemoteFrame()); | 58 DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(),
remoteFrame.isRemoteFrame()); |
60 | 59 |
61 } // namespace blink | 60 } // namespace blink |
62 | 61 |
63 #endif // RemoteFrame_h | 62 #endif // RemoteFrame_h |
OLD | NEW |