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