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

Unified Diff: android_webview/browser/find_helper.h

Issue 1913543002: Fix for problem with activating find-in-page match via find tickbar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased and fixed typo in comment. Created 4 years, 8 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 | android_webview/browser/find_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/find_helper.h
diff --git a/android_webview/browser/find_helper.h b/android_webview/browser/find_helper.h
index ada90849fa73da8ab0004cb79b9f8550c4f3d61a..b72d7830213ffc029da3dcf32c7fcb4c29e03c90 100644
--- a/android_webview/browser/find_helper.h
+++ b/android_webview/browser/find_helper.h
@@ -53,11 +53,15 @@ class FindHelper : public content::WebContentsObserver {
// Used to check the validity of FindNext operations.
bool async_find_started_;
- // Used to provide different ids to each request and for result
+ // Used to provide different IDs to each request and for result
// verification in asynchronous calls.
int find_request_id_counter_;
int current_request_id_;
+ // Used to mark the beginning of the current find session. This is the ID of
+ // the first find request in the current session.
+ int current_session_id_;
+
// Required by FindNext and the incremental find replies.
base::string16 last_search_string_;
int last_match_count_;
« no previous file with comments | « no previous file | android_webview/browser/find_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698