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

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: 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 /* 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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 int pageIndex, 190 int pageIndex,
191 WebSize& pageSize, 191 WebSize& pageSize,
192 int& marginTop, 192 int& marginTop,
193 int& marginRight, 193 int& marginRight,
194 int& marginBottom, 194 int& marginBottom,
195 int& marginLeft) override; 195 int& marginLeft) override;
196 WebString pageProperty(const WebString& propertyName, int pageIndex) overrid e; 196 WebString pageProperty(const WebString& propertyName, int pageIndex) overrid e;
197 void printPagesWithBoundaries(WebCanvas*, const WebSize&) override; 197 void printPagesWithBoundaries(WebCanvas*, const WebSize&) override;
198 bool find( 198 bool find(
199 int identifier, const WebString& searchText, const WebFindOptions&, 199 int identifier, const WebString& searchText, const WebFindOptions&,
200 bool wrapWithinFrame, WebRect* selectionRect) override; 200 bool wrapWithinFrame, WebRect* selectionRect, bool* activeNow) override;
201 void stopFinding(bool clearSelection) override; 201 void stopFinding(bool clearSelection) override;
202 void scopeStringMatches( 202 void scopeStringMatches(
203 int identifier, const WebString& searchText, const WebFindOptions&, 203 int identifier, const WebString& searchText, const WebFindOptions&,
204 bool reset) override; 204 bool reset) override;
205 void cancelPendingScopingEffort() override; 205 void cancelPendingScopingEffort() override;
206 void increaseMatchCount(int count, int identifier) override; 206 void increaseMatchCount(int count, int identifier) override;
207 void resetMatchCount() override; 207 void resetMatchCount() override;
208 int findMatchMarkersVersion() const override; 208 int findMatchMarkersVersion() const override;
209 WebFloatRect activeFindMatchRect() override; 209 WebFloatRect activeFindMatchRect() override;
210 void findMatchRects(WebVector<WebFloatRect>&) override; 210 void findMatchRects(WebVector<WebFloatRect>&) override;
(...skipping 198 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