| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 void disconnectOwnerElement() override; | 42 void disconnectOwnerElement() override; |
| 43 bool prepareForCommit() override; | 43 bool prepareForCommit() override; |
| 44 bool shouldClose() override; | 44 bool shouldClose() override; |
| 45 | 45 |
| 46 // FIXME: Remove this method once we have input routing in the browser | 46 // FIXME: Remove this method once we have input routing in the browser |
| 47 // process. See http://crbug.com/339659. | 47 // process. See http://crbug.com/339659. |
| 48 void forwardInputEvent(Event*); | 48 void forwardInputEvent(Event*); |
| 49 | 49 |
| 50 void frameRectsChanged(const IntRect& frameRect); | 50 void frameRectsChanged(const IntRect& frameRect); |
| 51 | 51 |
| 52 void visibilityChanged(bool visible); |
| 53 |
| 52 void setRemotePlatformLayer(WebLayer*); | 54 void setRemotePlatformLayer(WebLayer*); |
| 53 WebLayer* remotePlatformLayer() const { return m_remotePlatformLayer; } | 55 WebLayer* remotePlatformLayer() const { return m_remotePlatformLayer; } |
| 54 | 56 |
| 55 void advanceFocus(WebFocusType, LocalFrame* source); | 57 void advanceFocus(WebFocusType, LocalFrame* source); |
| 56 | 58 |
| 57 void setView(PassRefPtrWillBeRawPtr<RemoteFrameView>); | 59 void setView(PassRefPtrWillBeRawPtr<RemoteFrameView>); |
| 58 void createView(); | 60 void createView(); |
| 59 | 61 |
| 60 RemoteFrameView* view() const; | 62 RemoteFrameView* view() const; |
| 61 | 63 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 77 inline RemoteFrameView* RemoteFrame::view() const | 79 inline RemoteFrameView* RemoteFrame::view() const |
| 78 { | 80 { |
| 79 return m_view.get(); | 81 return m_view.get(); |
| 80 } | 82 } |
| 81 | 83 |
| 82 DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(),
remoteFrame.isRemoteFrame()); | 84 DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(),
remoteFrame.isRemoteFrame()); |
| 83 | 85 |
| 84 } // namespace blink | 86 } // namespace blink |
| 85 | 87 |
| 86 #endif // RemoteFrame_h | 88 #endif // RemoteFrame_h |
| OLD | NEW |