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

Side by Side Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.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: Rebase, clean-up Created 4 years, 11 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 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 int pageIndex, 191 int pageIndex,
192 WebSize& pageSize, 192 WebSize& pageSize,
193 int& marginTop, 193 int& marginTop,
194 int& marginRight, 194 int& marginRight,
195 int& marginBottom, 195 int& marginBottom,
196 int& marginLeft) override; 196 int& marginLeft) override;
197 WebString pageProperty(const WebString& propertyName, int pageIndex) overrid e; 197 WebString pageProperty(const WebString& propertyName, int pageIndex) overrid e;
198 void printPagesWithBoundaries(WebCanvas*, const WebSize&) override; 198 void printPagesWithBoundaries(WebCanvas*, const WebSize&) override;
199 bool find( 199 bool find(
200 int identifier, const WebString& searchText, const WebFindOptions&, 200 int identifier, const WebString& searchText, const WebFindOptions&,
201 bool wrapWithinFrame, WebRect* selectionRect) override; 201 bool wrapWithinFrame, WebRect* selectionRect, bool& newTextFound) overri de;
202 void stopFinding(bool clearSelection) override; 202 void stopFinding(bool clearSelection) override;
203 void scopeStringMatches( 203 void scopeStringMatches(
204 int identifier, const WebString& searchText, const WebFindOptions&, 204 int identifier, const WebString& searchText, const WebFindOptions&,
205 bool reset) override; 205 bool reset) override;
206 void cancelPendingScopingEffort() override; 206 void cancelPendingScopingEffort() override;
207 void increaseMatchCount(int count, int identifier) override; 207 void increaseMatchCount(int count, int identifier) override;
208 void resetMatchCount() override; 208 void resetMatchCount() override;
209 int findMatchMarkersVersion() const override; 209 int findMatchMarkersVersion() const override;
210 WebFloatRect activeFindMatchRect() override; 210 WebFloatRect activeFindMatchRect() override;
211 void findMatchRects(WebVector<WebFloatRect>&) override; 211 void findMatchRects(WebVector<WebFloatRect>&) override;
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 // cleared upon close(). 409 // cleared upon close().
410 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; 410 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive;
411 #endif 411 #endif
412 }; 412 };
413 413
414 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 414 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
415 415
416 } // namespace blink 416 } // namespace blink
417 417
418 #endif 418 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698