Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Side by Side Diff: third_party/WebKit/Source/web/WebRemoteFrameImpl.h

Issue 1605863002: Restart search in page when new text is found. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: small clean up Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 int pageIndex, 132 int pageIndex,
133 WebSize& pageSize, 133 WebSize& pageSize,
134 int& marginTop, 134 int& marginTop,
135 int& marginRight, 135 int& marginRight,
136 int& marginBottom, 136 int& marginBottom,
137 int& marginLeft) override; 137 int& marginLeft) override;
138 WebString pageProperty(const WebString& propertyName, int pageIndex) overrid e; 138 WebString pageProperty(const WebString& propertyName, int pageIndex) overrid e;
139 void printPagesWithBoundaries(WebCanvas*, const WebSize&) override; 139 void printPagesWithBoundaries(WebCanvas*, const WebSize&) override;
140 bool find( 140 bool find(
141 int identifier, const WebString& searchText, const WebFindOptions&, 141 int identifier, const WebString& searchText, const WebFindOptions&,
142 bool wrapWithinFrame, WebRect* selectionRect) override; 142 bool wrapWithinFrame, WebRect* selectionRect, bool* activeNow) override;
143 void stopFinding(bool clearSelection) override; 143 void stopFinding(bool clearSelection) override;
144 void scopeStringMatches( 144 void scopeStringMatches(
145 int identifier, const WebString& searchText, const WebFindOptions&, 145 int identifier, const WebString& searchText, const WebFindOptions&,
146 bool reset) override; 146 bool reset) override;
147 void cancelPendingScopingEffort() override; 147 void cancelPendingScopingEffort() override;
148 void increaseMatchCount(int count, int identifier) override; 148 void increaseMatchCount(int count, int identifier) override;
149 void resetMatchCount() override; 149 void resetMatchCount() override;
150 int findMatchMarkersVersion() const override; 150 int findMatchMarkersVersion() const override;
151 WebFloatRect activeFindMatchRect() override; 151 WebFloatRect activeFindMatchRect() override;
152 void findMatchRects(WebVector<WebFloatRect>&) override; 152 void findMatchRects(WebVector<WebFloatRect>&) override;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 // cleared upon close(). 211 // cleared upon close().
212 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; 212 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive;
213 #endif 213 #endif
214 }; 214 };
215 215
216 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame() , frame.isWebRemoteFrame()); 216 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame() , frame.isWebRemoteFrame());
217 217
218 } // namespace blink 218 } // namespace blink
219 219
220 #endif // WebRemoteFrameImpl_h 220 #endif // WebRemoteFrameImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698