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/FrameOwner.h" | 8 #include "core/frame/FrameOwner.h" |
9 #include "core/frame/RemoteFrame.h" | 9 #include "core/frame/RemoteFrame.h" |
10 #include "public/web/WebRemoteFrame.h" | 10 #include "public/web/WebRemoteFrame.h" |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 int pageIndex, | 133 int pageIndex, |
134 WebSize& pageSize, | 134 WebSize& pageSize, |
135 int& marginTop, | 135 int& marginTop, |
136 int& marginRight, | 136 int& marginRight, |
137 int& marginBottom, | 137 int& marginBottom, |
138 int& marginLeft) override; | 138 int& marginLeft) override; |
139 WebString pageProperty(const WebString& propertyName, int pageIndex) overrid
e; | 139 WebString pageProperty(const WebString& propertyName, int pageIndex) overrid
e; |
140 void printPagesWithBoundaries(WebCanvas*, const WebSize&) override; | 140 void printPagesWithBoundaries(WebCanvas*, const WebSize&) override; |
141 bool find( | 141 bool find( |
142 int identifier, const WebString& searchText, const WebFindOptions&, | 142 int identifier, const WebString& searchText, const WebFindOptions&, |
143 bool wrapWithinFrame, WebRect* selectionRect) override; | 143 bool wrapWithinFrame, WebRect* selectionRect, bool& newTextFound) overri
de; |
144 void stopFinding(bool clearSelection) override; | 144 void stopFinding(bool clearSelection) override; |
145 void scopeStringMatches( | 145 void scopeStringMatches( |
146 int identifier, const WebString& searchText, const WebFindOptions&, | 146 int identifier, const WebString& searchText, const WebFindOptions&, |
147 bool reset) override; | 147 bool reset) override; |
148 void cancelPendingScopingEffort() override; | 148 void cancelPendingScopingEffort() override; |
149 void increaseMatchCount(int count, int identifier) override; | 149 void increaseMatchCount(int count, int identifier) override; |
150 void resetMatchCount() override; | 150 void resetMatchCount() override; |
151 int findMatchMarkersVersion() const override; | 151 int findMatchMarkersVersion() const override; |
152 WebFloatRect activeFindMatchRect() override; | 152 WebFloatRect activeFindMatchRect() override; |
153 void findMatchRects(WebVector<WebFloatRect>&) override; | 153 void findMatchRects(WebVector<WebFloatRect>&) override; |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 // cleared upon close(). | 212 // cleared upon close(). |
213 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; | 213 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; |
214 #endif | 214 #endif |
215 }; | 215 }; |
216 | 216 |
217 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); | 217 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); |
218 | 218 |
219 } // namespace blink | 219 } // namespace blink |
220 | 220 |
221 #endif // WebRemoteFrameImpl_h | 221 #endif // WebRemoteFrameImpl_h |
OLD | NEW |