| 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 "platform/heap/SelfKeepAlive.h" | 9 #include "platform/heap/SelfKeepAlive.h" |
| 10 #include "public/web/WebRemoteFrame.h" | 10 #include "public/web/WebRemoteFrame.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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 // Accomplish that by keeping a self-referential Persistent<>. It is | 190 // Accomplish that by keeping a self-referential Persistent<>. It is |
| 189 // cleared upon close(). | 191 // cleared upon close(). |
| 190 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; | 192 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; |
| 191 }; | 193 }; |
| 192 | 194 |
| 193 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); | 195 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); |
| 194 | 196 |
| 195 } // namespace blink | 197 } // namespace blink |
| 196 | 198 |
| 197 #endif // WebRemoteFrameImpl_h | 199 #endif // WebRemoteFrameImpl_h |
| OLD | NEW |