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

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: Added default value for local var Created 4 years, 9 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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 void sendOrientationChangeEvent() override; 232 void sendOrientationChangeEvent() override;
233 void willShowInstallBannerPrompt(int requestId, const WebVector<WebString>& platforms, WebAppBannerPromptReply*) override; 233 void willShowInstallBannerPrompt(int requestId, const WebVector<WebString>& platforms, WebAppBannerPromptReply*) override;
234 WebSandboxFlags effectiveSandboxFlags() const override; 234 WebSandboxFlags effectiveSandboxFlags() const override;
235 void forceSandboxFlags(WebSandboxFlags) override; 235 void forceSandboxFlags(WebSandboxFlags) override;
236 void requestRunTask(WebSuspendableTask*) const override; 236 void requestRunTask(WebSuspendableTask*) const override;
237 void didCallAddSearchProvider() override; 237 void didCallAddSearchProvider() override;
238 void didCallIsSearchProviderInstalled() override; 238 void didCallIsSearchProviderInstalled() override;
239 void replaceSelection(const WebString&) override; 239 void replaceSelection(const WebString&) override;
240 bool find( 240 bool find(
241 int identifier, const WebString& searchText, const WebFindOptions&, 241 int identifier, const WebString& searchText, const WebFindOptions&,
242 bool wrapWithinFrame, WebRect* selectionRect) override; 242 bool wrapWithinFrame, WebRect* selectionRect, bool* activeNow = nullptr) override;
243 void stopFinding(bool clearSelection) override; 243 void stopFinding(bool clearSelection) override;
244 void scopeStringMatches( 244 void scopeStringMatches(
245 int identifier, const WebString& searchText, const WebFindOptions&, 245 int identifier, const WebString& searchText, const WebFindOptions&,
246 bool reset) override; 246 bool reset) override;
247 void cancelPendingScopingEffort() override; 247 void cancelPendingScopingEffort() override;
248 void increaseMatchCount(int count, int identifier) override; 248 void increaseMatchCount(int count, int identifier) override;
249 void resetMatchCount() override; 249 void resetMatchCount() override;
250 int findMatchMarkersVersion() const override; 250 int findMatchMarkersVersion() const override;
251 WebFloatRect activeFindMatchRect() override; 251 WebFloatRect activeFindMatchRect() override;
252 void findMatchRects(WebVector<WebFloatRect>&) override; 252 void findMatchRects(WebVector<WebFloatRect>&) override;
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 // cleared upon close(). 410 // cleared upon close().
411 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; 411 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive;
412 #endif 412 #endif
413 }; 413 };
414 414
415 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 415 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
416 416
417 } // namespace blink 417 } // namespace blink
418 418
419 #endif 419 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/TextFinder.cpp ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698