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

Side by Side Diff: third_party/WebKit/public/web/WebLocalFrame.h

Issue 2186113002: Fix find-in-page re-scope across frame boundaries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 WebLocalFrame_h 5 #ifndef WebLocalFrame_h
6 #define WebLocalFrame_h 6 #define WebLocalFrame_h
7 7
8 #include "WebFrame.h" 8 #include "WebFrame.h"
9 #include "WebFrameLoadType.h" 9 #include "WebFrameLoadType.h"
10 10
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 // what to look for and |reset| signals whether this is a brand new 349 // what to look for and |reset| signals whether this is a brand new
350 // request or a continuation of the last scoping effort. 350 // request or a continuation of the last scoping effort.
351 virtual void scopeStringMatches(int identifier, 351 virtual void scopeStringMatches(int identifier,
352 const WebString& searchText, 352 const WebString& searchText,
353 const WebFindOptions&, 353 const WebFindOptions&,
354 bool reset) = 0; 354 bool reset) = 0;
355 355
356 // Cancels any outstanding requests for scoping string matches on a frame. 356 // Cancels any outstanding requests for scoping string matches on a frame.
357 virtual void cancelPendingScopingEffort() = 0; 357 virtual void cancelPendingScopingEffort() = 0;
358 358
359 // Indicates whether there is a scoping effort in progress.
360 virtual bool scopingInProgress() = 0;
361
359 // This function is called on the main frame during the scoping effort 362 // This function is called on the main frame during the scoping effort
360 // to keep a running tally of the accumulated total match-count for all 363 // to keep a running tally of the accumulated total match-count for all
361 // frames. After updating the count it will notify the WebViewClient 364 // frames. After updating the count it will notify the WebViewClient
362 // about the new count. 365 // about the new count.
363 virtual void increaseMatchCount(int count, int identifier) = 0; 366 virtual void increaseMatchCount(int count, int identifier) = 0;
364 367
365 // This function is called on the main frame to reset the total number 368 // This function is called on the main frame to reset the total number
366 // of matches found during the scoping effort. 369 // of matches found during the scoping effort.
367 virtual void resetMatchCount() = 0; 370 virtual void resetMatchCount() = 0;
368 371
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 // to call these on a WebLocalFrame. 431 // to call these on a WebLocalFrame.
429 bool isWebLocalFrame() const override = 0; 432 bool isWebLocalFrame() const override = 0;
430 WebLocalFrame* toWebLocalFrame() override = 0; 433 WebLocalFrame* toWebLocalFrame() override = 0;
431 bool isWebRemoteFrame() const override = 0; 434 bool isWebRemoteFrame() const override = 0;
432 WebRemoteFrame* toWebRemoteFrame() override = 0; 435 WebRemoteFrame* toWebRemoteFrame() override = 0;
433 }; 436 };
434 437
435 } // namespace blink 438 } // namespace blink
436 439
437 #endif // WebLocalFrame_h 440 #endif // WebLocalFrame_h
OLDNEW
« content/renderer/render_frame_impl.cc ('K') | « third_party/WebKit/Source/web/WebLocalFrameImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698