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

Unified Diff: content/browser/find_request_manager.h

Issue 2249133002: Changes to how FindRequestManager reports find results. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/find_request_manager.cc » ('j') | content/browser/find_request_manager.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/find_request_manager.h
diff --git a/content/browser/find_request_manager.h b/content/browser/find_request_manager.h
index 59713ffec2734ff0f6bc672362c786c3a8495439..bc5fb5dfe9af48e3c89896321264bb25c9f81bf4 100644
--- a/content/browser/find_request_manager.h
+++ b/content/browser/find_request_manager.h
@@ -252,10 +252,15 @@ class CONTENT_EXPORT FindRequestManager : public WebContentsObserver {
// The current find request.
FindRequest current_request_;
- // The set of frames that are still expected to reply to a pending find
- // request. Frames are removed from |pending_replies_| when their reply with
- // |final_update| set to true is received.
- std::unordered_set<RenderFrameHost*> pending_replies_;
+ // The set of frames that are still expected to reply to a pending initial
+ // find request. Frames are removed from |pending_initial_replies_| when their
+ // reply to the initial find request is received with |final_update| set to
+ // true.
+ std::unordered_set<RenderFrameHost*> pending_initial_replies_;
+
+ // The frame (if any) that is still expected to reply to the last pending
+ // "find next" request.
+ RenderFrameHost* pending_find_next_reply_;
// Indicates whether an update to the active match ordinal is expected. Once
// set, |pending_active_match_ordinal_| will not reset until an update to the
« no previous file with comments | « no previous file | content/browser/find_request_manager.cc » ('j') | content/browser/find_request_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698