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

Issue 1913543002: Fix for problem with activating find-in-page match via find tickbar. (Closed)

Created:
4 years, 8 months ago by paulmeyer
Modified:
4 years, 8 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, android-webview-reviews_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix for problem with activating find-in-page match via find tickbar. The problem was that the TabFindHelper was throwing out certain valid find replies because the helper was only comparing them against the latest find request ID it knows about (which is usually the ID that valid replies will have). This patch makes it so that this and another android-specific find helper now properly track the current find session ID (in addition to the latest request ID) so that they can accept all valid find replies relevant to the current find session. BUG=605297 Committed: https://crrev.com/1cfca29de5756e4f3e5b5210d21cf6f4461d0aa8 Cr-Commit-Position: refs/heads/master@{#389603}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Rebased and fixed typo in comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -7 lines) Patch
M android_webview/browser/find_helper.h View 1 chunk +5 lines, -1 line 0 comments Download
M android_webview/browser/find_helper.cc View 3 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/find_bar/find_tab_helper.h View 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/ui/find_bar/find_tab_helper.cc View 1 3 chunks +6 lines, -4 lines 0 comments Download
M content/browser/find_request_manager.cc View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (9 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1913543002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1913543002/20001
4 years, 8 months ago (2016-04-22 20:13:10 UTC) #3
paulmeyer
+nick@ for review of changes to find_request_manager.cc
4 years, 8 months ago (2016-04-22 21:09:57 UTC) #5
paulmeyer
+sky@ for OWNER review of chrome/
4 years, 8 months ago (2016-04-22 21:10:52 UTC) #7
paulmeyer
+sgurun@ for OWNER review of android_webview/
4 years, 8 months ago (2016-04-22 21:11:27 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-22 21:27:55 UTC) #11
sky
I have to admit this doesn't make sense to me. Where are the ids documented?
4 years, 8 months ago (2016-04-22 21:38:34 UTC) #12
paulmeyer
On 2016/04/22 21:38:34, sky wrote: > I have to admit this doesn't make sense to ...
4 years, 8 months ago (2016-04-25 15:49:39 UTC) #13
sky
Thanks for the update. The ids should be documented in code some where. Perhaps in ...
4 years, 8 months ago (2016-04-25 16:10:26 UTC) #14
paulmeyer
On 2016/04/25 16:10:26, sky wrote: > Thanks for the update. The ids should be documented ...
4 years, 8 months ago (2016-04-25 17:52:15 UTC) #15
ncarter (slow)
lgtm https://codereview.chromium.org/1913543002/diff/20001/chrome/browser/ui/find_bar/find_tab_helper.cc File chrome/browser/ui/find_bar/find_tab_helper.cc (right): https://codereview.chromium.org/1913543002/diff/20001/chrome/browser/ui/find_bar/find_tab_helper.cc#newcode163 chrome/browser/ui/find_bar/find_tab_helper.cc:163: // requests from previous sessiona. That way we ...
4 years, 8 months ago (2016-04-25 18:02:38 UTC) #16
sky
Why wouldn't it be closer to the place where the api is, like in WebContents ...
4 years, 8 months ago (2016-04-25 18:25:54 UTC) #17
sky
LGTM - the documentation can be straightened out separately.
4 years, 8 months ago (2016-04-25 18:26:40 UTC) #18
sgurun-gerrit only
On 2016/04/25 18:26:40, sky wrote: > LGTM - the documentation can be straightened out separately. ...
4 years, 8 months ago (2016-04-25 21:25:08 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1913543002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1913543002/40001
4 years, 8 months ago (2016-04-25 21:41:49 UTC) #22
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 8 months ago (2016-04-25 23:26:09 UTC) #23
commit-bot: I haz the power
4 years, 8 months ago (2016-04-25 23:28:08 UTC) #25
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1cfca29de5756e4f3e5b5210d21cf6f4461d0aa8
Cr-Commit-Position: refs/heads/master@{#389603}

Powered by Google App Engine
This is Rietveld 408576698