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

Issue 6992034: Changed CLB to select all text when active tab is clicked. (Closed)

Created:
9 years, 7 months ago by SteveT
Modified:
9 years, 7 months ago
Reviewers:
MAD
CC:
chromium-reviews
Visibility:
Public.

Description

Changed CLB to select all text when active tab is clicked. BUG=83537 TEST=In compact nav mode, ensure that clicking an active (foreground) tab shows the compact location bar with the text selected. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86670

Patch Set 1 #

Total comments: 2

Patch Set 2 : Changed call to go through child view instead of browser view. #

Patch Set 3 : Added original Update call to show CLB. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M chrome/browser/ui/views/compact_nav/compact_location_bar_view_host.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
SteveT
9 years, 7 months ago (2011-05-24 21:20:30 UTC) #1
MAD
How about this counter-proposal? http://codereview.chromium.org/6992034/diff/1/chrome/browser/ui/views/compact_nav/compact_location_bar_view_host.cc File chrome/browser/ui/views/compact_nav/compact_location_bar_view_host.cc (right): http://codereview.chromium.org/6992034/diff/1/chrome/browser/ui/views/compact_nav/compact_location_bar_view_host.cc#newcode354 chrome/browser/ui/views/compact_nav/compact_location_bar_view_host.cc:354: browser_view()->SetFocusToLocationBar(true); Feels a bit weird ...
9 years, 7 months ago (2011-05-25 00:21:18 UTC) #2
SteveT
Back to you for a look. Agreed with your proposal. http://codereview.chromium.org/6992034/diff/1/chrome/browser/ui/views/compact_nav/compact_location_bar_view_host.cc File chrome/browser/ui/views/compact_nav/compact_location_bar_view_host.cc (right): http://codereview.chromium.org/6992034/diff/1/chrome/browser/ui/views/compact_nav/compact_location_bar_view_host.cc#newcode354 ...
9 years, 7 months ago (2011-05-25 04:16:42 UTC) #3
MAD
Did you try it? As I read the code, I thought it wouldn't, so I ...
9 years, 7 months ago (2011-05-25 14:28:12 UTC) #4
SteveT
Yeah I left it to compile overnight and tried it just now to see the ...
9 years, 7 months ago (2011-05-25 15:54:19 UTC) #5
MAD
9 years, 7 months ago (2011-05-25 15:55:59 UTC) #6
LGTM! :-)

Thanks!

BYE
MAD

Powered by Google App Engine
This is Rietveld 408576698