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

Issue 1061003: [Mac] Makes ctrl-return follow links when finding in page.... (Closed)

Created:
10 years, 9 months ago by rohitrao (ping after 24h)
Modified:
9 years, 7 months ago
CC:
chromium-reviews, John Grabowski, ben+cc_chromium.org, pam+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

[Mac] Makes ctrl-return follow links when finding in page. Enables the FindInPageControllerTest browser test on Mac. BUG=38365, 37808 TEST=Do a find in page for text in a link. Pressing ctrl-return while the findbar has focus should follow the link. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=42276

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Total comments: 4

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -26 lines) Patch
M chrome/browser/cocoa/find_bar_bridge.h View 1 2 3 4 5 6 7 8 4 chunks +23 lines, -12 lines 0 comments Download
M chrome/browser/cocoa/find_bar_bridge.mm View 1 2 3 4 5 6 7 8 2 chunks +25 lines, -5 lines 0 comments Download
M chrome/browser/cocoa/find_bar_cocoa_controller.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/cocoa/find_bar_cocoa_controller.mm View 1 2 3 4 5 6 7 8 3 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/find_bar_host_browsertest.cc View 1 2 3 4 5 6 7 8 4 chunks +19 lines, -5 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
rohitrao (ping after 24h)
I gave up on the FindBarTesting::DisableFindBarAnimations() idea because SetUp() for a browsertest is called before ...
10 years, 9 months ago (2010-03-19 17:38:43 UTC) #1
Evan Stade
can you get someone else for the mac refactor? sorry, I'm not familiar with the ...
10 years, 9 months ago (2010-03-19 21:03:07 UTC) #2
rohitrao (ping after 24h)
+shess for the cocoa changes, since this code looks suspiciously like the autocomplete edit view's ...
10 years, 9 months ago (2010-03-22 15:22:37 UTC) #3
Scott Hess - ex-Googler
LGTM, w/minor style nits. On Fri, Mar 19, 2010 at 10:38 AM, <rohitrao@chromium.org> wrote: > ...
10 years, 9 months ago (2010-03-22 16:07:59 UTC) #4
rohitrao (ping after 24h)
I thought about overriding CreateBrowser(). It just felt like a misuse of what that function ...
10 years, 9 months ago (2010-03-22 16:43:27 UTC) #5
Scott Hess - ex-Googler
10 years, 9 months ago (2010-03-22 16:46:38 UTC) #6
still lgtm and all.

On Mon, Mar 22, 2010 at 9:43 AM,  <rohitrao@chromium.org> wrote:
> I thought about overriding CreateBrowser().  It just felt like a misuse of
> what
> that function is meant for, although I guess a couple other tests are using
> it
> that way.
>
>
> http://codereview.chromium.org/1061003/diff/26001/27003
> File chrome/browser/cocoa/find_bar_bridge.mm (right):
>
> http://codereview.chromium.org/1061003/diff/26001/27003#newcode25
> chrome/browser/cocoa/find_bar_bridge.mm:25: [cocoa_controller_
> showFindBar:really_animate];
> On 2010/03/22 16:07:59, shess wrote:
>>
>> Keep the explicit bool->BOOL conversion in both spots.
>
> Done.
>
> http://codereview.chromium.org/1061003/diff/26001/27003#newcode79
> chrome/browser/cocoa/find_bar_bridge.mm:79: bool window_visible = window
> && [window isVisible] ? true : false;
> On 2010/03/22 16:07:59, shess wrote:
>>
>> Given nil handling, [window isVisible] suffices.
>
> Done.
>
> http://codereview.chromium.org/1061003
>

Powered by Google App Engine
This is Rietveld 408576698