| 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 WebRemoteFrameImpl_h | 5 #ifndef WebRemoteFrameImpl_h |
| 6 #define WebRemoteFrameImpl_h | 6 #define WebRemoteFrameImpl_h |
| 7 | 7 |
| 8 #include "core/frame/RemoteFrame.h" | 8 #include "core/frame/RemoteFrame.h" |
| 9 #include "public/web/WebRemoteFrame.h" | 9 #include "public/web/WebRemoteFrame.h" |
| 10 #include "public/web/WebRemoteFrameClient.h" | 10 #include "public/web/WebRemoteFrameClient.h" |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 int& marginLeft) override; | 125 int& marginLeft) override; |
| 126 WebString pageProperty(const WebString& propertyName, int pageIndex) overrid
e; | 126 WebString pageProperty(const WebString& propertyName, int pageIndex) overrid
e; |
| 127 void printPagesWithBoundaries(WebCanvas*, const WebSize&) override; | 127 void printPagesWithBoundaries(WebCanvas*, const WebSize&) override; |
| 128 void dispatchMessageEventWithOriginCheck( | 128 void dispatchMessageEventWithOriginCheck( |
| 129 const WebSecurityOrigin& intendedTargetOrigin, | 129 const WebSecurityOrigin& intendedTargetOrigin, |
| 130 const WebDOMEvent&) override; | 130 const WebDOMEvent&) override; |
| 131 | 131 |
| 132 WebRect selectionBoundsRect() const override; | 132 WebRect selectionBoundsRect() const override; |
| 133 | 133 |
| 134 bool selectionStartHasSpellingMarkerFor(int from, int length) const override
; | 134 bool selectionStartHasSpellingMarkerFor(int from, int length) const override
; |
| 135 void copyImageAt(const WebPoint&) override; |
| 136 void saveImageAt(const WebPoint&) override; |
| 135 WebString layerTreeAsText(bool showDebugInfo = false) const override; | 137 WebString layerTreeAsText(bool showDebugInfo = false) const override; |
| 136 | 138 |
| 137 WebFrameImplBase* toImplBase() { return this; } | 139 WebFrameImplBase* toImplBase() { return this; } |
| 138 | 140 |
| 139 // WebFrameImplBase methods: | 141 // WebFrameImplBase methods: |
| 140 void initializeCoreFrame(FrameHost*, FrameOwner*, const AtomicString& name,
const AtomicString& uniqueName) override; | 142 void initializeCoreFrame(FrameHost*, FrameOwner*, const AtomicString& name,
const AtomicString& uniqueName) override; |
| 141 RemoteFrame* frame() const override { return m_frame.get(); } | 143 RemoteFrame* frame() const override { return m_frame.get(); } |
| 142 | 144 |
| 143 void setCoreFrame(RemoteFrame*); | 145 void setCoreFrame(RemoteFrame*); |
| 144 | 146 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 // Accomplish that by keeping a self-referential Persistent<>. It is | 186 // Accomplish that by keeping a self-referential Persistent<>. It is |
| 185 // cleared upon close(). | 187 // cleared upon close(). |
| 186 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; | 188 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; |
| 187 }; | 189 }; |
| 188 | 190 |
| 189 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); | 191 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); |
| 190 | 192 |
| 191 } // namespace blink | 193 } // namespace blink |
| 192 | 194 |
| 193 #endif // WebRemoteFrameImpl_h | 195 #endif // WebRemoteFrameImpl_h |
| OLD | NEW |