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 void printNavigationErrorMessage(const Frame&, const char* reason) { } | 32 void printNavigationErrorMessage(const Frame&, const char* reason) { } |
34 | 33 |
35 // FIXME: Remove this method once we have input routing in the browser | 34 // FIXME: Remove this method once we have input routing in the browser |
36 // process. See http://crbug.com/339659. | 35 // process. See http://crbug.com/339659. |
37 void forwardInputEvent(Event*); | 36 void forwardInputEvent(Event*); |
38 | 37 |
39 void setView(PassRefPtrWillBeRawPtr<RemoteFrameView>); | 38 void setView(PassRefPtrWillBeRawPtr<RemoteFrameView>); |
40 void createView(); | 39 void createView(); |
41 | 40 |
42 RemoteFrameView* view() const; | 41 RemoteFrameView* view() const; |
(...skipping 12 matching lines...) Expand all Loading... |
55 inline RemoteFrameView* RemoteFrame::view() const | 54 inline RemoteFrameView* RemoteFrame::view() const |
56 { | 55 { |
57 return m_view.get(); | 56 return m_view.get(); |
58 } | 57 } |
59 | 58 |
60 DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(),
remoteFrame.isRemoteFrame()); | 59 DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(),
remoteFrame.isRemoteFrame()); |
61 | 60 |
62 } // namespace blink | 61 } // namespace blink |
63 | 62 |
64 #endif // RemoteFrame_h | 63 #endif // RemoteFrame_h |
OLD | NEW |