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 23 matching lines...) Expand all Loading... |
34 bool replaceCurrentItem, | 34 bool replaceCurrentItem, |
35 UserGestureStatus) override; | 35 UserGestureStatus) override; |
36 void navigate(const FrameLoadRequest& passedRequest) override; | 36 void navigate(const FrameLoadRequest& passedRequest) override; |
37 void reload(FrameLoadType, ClientRedirectPolicy) override; | 37 void reload(FrameLoadType, ClientRedirectPolicy) override; |
38 void detach(FrameDetachType) override; | 38 void detach(FrameDetachType) override; |
39 RemoteSecurityContext* securityContext() const override; | 39 RemoteSecurityContext* securityContext() const override; |
40 void printNavigationErrorMessage(const Frame&, const char* reason) override {} | 40 void printNavigationErrorMessage(const Frame&, const char* reason) override {} |
41 void printNavigationWarning(const String&) override {} | 41 void printNavigationWarning(const String&) override {} |
42 bool prepareForCommit() override; | 42 bool prepareForCommit() override; |
43 bool shouldClose() override; | 43 bool shouldClose() override; |
44 void setDocumentHasReceivedUserGesture() override; | |
45 | 44 |
46 // FIXME: Remove this method once we have input routing in the browser | 45 // FIXME: Remove this method once we have input routing in the browser |
47 // process. See http://crbug.com/339659. | 46 // process. See http://crbug.com/339659. |
48 void forwardInputEvent(Event*); | 47 void forwardInputEvent(Event*); |
49 | 48 |
50 void setWebLayer(WebLayer*); | 49 void setWebLayer(WebLayer*); |
51 WebLayer* webLayer() const { return m_webLayer; } | 50 WebLayer* webLayer() const { return m_webLayer; } |
52 | 51 |
53 void advanceFocus(WebFocusType, LocalFrame* source); | 52 void advanceFocus(WebFocusType, LocalFrame* source); |
54 | 53 |
(...skipping 29 matching lines...) Expand all Loading... |
84 | 83 |
85 DEFINE_TYPE_CASTS(RemoteFrame, | 84 DEFINE_TYPE_CASTS(RemoteFrame, |
86 Frame, | 85 Frame, |
87 remoteFrame, | 86 remoteFrame, |
88 remoteFrame->isRemoteFrame(), | 87 remoteFrame->isRemoteFrame(), |
89 remoteFrame.isRemoteFrame()); | 88 remoteFrame.isRemoteFrame()); |
90 | 89 |
91 } // namespace blink | 90 } // namespace blink |
92 | 91 |
93 #endif // RemoteFrame_h | 92 #endif // RemoteFrame_h |
OLD | NEW |