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

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 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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 void sendOrientationChangeEvent() override; 236 void sendOrientationChangeEvent() override;
237 void willShowInstallBannerPrompt(int requestId, const WebVector<WebString>& platforms, WebAppBannerPromptReply*) override; 237 void willShowInstallBannerPrompt(int requestId, const WebVector<WebString>& platforms, WebAppBannerPromptReply*) override;
238 WebSandboxFlags effectiveSandboxFlags() const override; 238 WebSandboxFlags effectiveSandboxFlags() const override;
239 void forceSandboxFlags(WebSandboxFlags) override; 239 void forceSandboxFlags(WebSandboxFlags) override;
240 void requestRunTask(WebSuspendableTask*) const override; 240 void requestRunTask(WebSuspendableTask*) const override;
241 void didCallAddSearchProvider() override; 241 void didCallAddSearchProvider() override;
242 void didCallIsSearchProviderInstalled() override; 242 void didCallIsSearchProviderInstalled() override;
243 void replaceSelection(const WebString&) override; 243 void replaceSelection(const WebString&) override;
244 bool find( 244 bool find(
245 int identifier, const WebString& searchText, const WebFindOptions&, 245 int identifier, const WebString& searchText, const WebFindOptions&,
246 bool wrapWithinFrame, WebRect* selectionRect) override; 246 bool wrapWithinFrame, WebRect* selectionRect, bool* activeNow) override;
247 void stopFinding(bool clearSelection) override; 247 void stopFinding(bool clearSelection) override;
248 void scopeStringMatches( 248 void scopeStringMatches(
249 int identifier, const WebString& searchText, const WebFindOptions&, 249 int identifier, const WebString& searchText, const WebFindOptions&,
250 bool reset) override; 250 bool reset) override;
251 void cancelPendingScopingEffort() override; 251 void cancelPendingScopingEffort() override;
252 void increaseMatchCount(int count, int identifier) override; 252 void increaseMatchCount(int count, int identifier) override;
253 void resetMatchCount() override; 253 void resetMatchCount() override;
254 int findMatchMarkersVersion() const override; 254 int findMatchMarkersVersion() const override;
255 WebFloatRect activeFindMatchRect() override; 255 WebFloatRect activeFindMatchRect() override;
256 void findMatchRects(WebVector<WebFloatRect>&) override; 256 void findMatchRects(WebVector<WebFloatRect>&) override;
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 // cleared upon close(). 407 // cleared upon close().
408 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; 408 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive;
409 #endif 409 #endif
410 }; 410 };
411 411
412 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 412 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
413 413
414 } // namespace blink 414 } // namespace blink
415 415
416 #endif 416 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698