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

Issue 498133002: Findbox should disappear once we reload and open new tab and come back to previous tab. (Closed)

Created:
6 years, 4 months ago by Deepak
Modified:
6 years, 3 months ago
Reviewers:
msw, Finnur
CC:
chromium-reviews, lgombos
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Count in the FindBar is not cleared when page get focus again. The count in the FindBar should be cleared. and focus should be on default position when we come back to page again after reload. and when user select up or down in FindBar then selection should happen and selection should move. This have same behavior as FF. BUG=88235

Patch Set 1 #

Total comments: 2

Patch Set 2 : Changes done for accomodating Reviewers test case. #

Patch Set 3 : Changes as per reviewer comments and Checked all test cases. #

Patch Set 4 : make same logic for removing Findbox on reload. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -1 line) Patch
M AUTHORS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/find_bar/find_bar_controller.cc View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/find_bar/find_bar_host_browsertest.cc View 1 2 3 1 chunk +52 lines, -0 lines 0 comments Download
M chrome/browser/ui/find_bar/find_tab_helper.h View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/find_bar/find_tab_helper.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 16 (2 generated)
Deepak
PTAL. 1. Navigate to crbug.com and Ctrl+F and then search for a word (say: crash) ...
6 years, 4 months ago (2014-08-25 06:55:46 UTC) #1
Finnur
> This have same behavior as FF. You are comparing apples and oranges here. FF ...
6 years, 4 months ago (2014-08-25 10:50:42 UTC) #2
Deepak
https://codereview.chromium.org/498133002/diff/1/chrome/browser/ui/find_bar/find_bar_controller.cc File chrome/browser/ui/find_bar/find_bar_controller.cc (right): https://codereview.chromium.org/498133002/diff/1/chrome/browser/ui/find_bar/find_bar_controller.cc#newcode124 chrome/browser/ui/find_bar/find_bar_controller.cc:124: find_tab_helper->StopFinding(kClearSelectionOnPage); On 2014/08/25 10:50:41, Finnur wrote: > This fix ...
6 years, 4 months ago (2014-08-25 14:22:42 UTC) #3
Deepak
On 2014/08/25 14:22:42, deepak.m1 wrote: > https://codereview.chromium.org/498133002/diff/1/chrome/browser/ui/find_bar/find_bar_controller.cc > File chrome/browser/ui/find_bar/find_bar_controller.cc (right): > > https://codereview.chromium.org/498133002/diff/1/chrome/browser/ui/find_bar/find_bar_controller.cc#newcode124 > ...
6 years, 4 months ago (2014-08-26 03:16:54 UTC) #4
Finnur
I don't exactly know where the fault lies and I haven't had time to look ...
6 years, 3 months ago (2014-08-26 10:04:30 UTC) #5
Deepak
On 2014/08/26 10:04:30, Finnur wrote: > I don't exactly know where the fault lies and ...
6 years, 3 months ago (2014-08-28 06:19:50 UTC) #6
Deepak
I have done changes that take care of scenerio that you have mentione in previous ...
6 years, 3 months ago (2014-08-28 07:16:14 UTC) #7
Finnur
This is failing some tests (see FindInPageControllerTest.PrepopulatePreserveLast). Suggest running that locally to see what the ...
6 years, 3 months ago (2014-08-28 16:57:22 UTC) #8
Deepak
On 2014/08/28 16:57:22, Finnur wrote: > This is failing some tests (see > FindInPageControllerTest.PrepopulatePreserveLast). > ...
6 years, 3 months ago (2014-08-29 13:50:14 UTC) #9
Deepak
PTAL.
6 years, 3 months ago (2014-09-01 16:02:44 UTC) #10
Deepak
PTAL
6 years, 3 months ago (2014-09-04 14:12:11 UTC) #13
Finnur
I can't repro any issue from the bug referenced. Maybe continue this discussion there?
6 years, 3 months ago (2014-09-05 10:13:44 UTC) #14
Deepak
On 2014/09/05 10:13:44, Finnur wrote: > I can't repro any issue from the bug referenced. ...
6 years, 3 months ago (2014-09-05 12:18:46 UTC) #15
Finnur
6 years, 3 months ago (2014-09-05 12:28:04 UTC) #16
Yes, that's a separate issue, tracked in another CL and another bug. I'm closing
this out then.

Powered by Google App Engine
This is Rietveld 408576698