Index: chrome/browser/ui/views/compact_nav/compact_location_bar_view_host.cc |
=================================================================== |
--- chrome/browser/ui/views/compact_nav/compact_location_bar_view_host.cc (revision 86419) |
+++ chrome/browser/ui/views/compact_nav/compact_location_bar_view_host.cc (working copy) |
@@ -349,7 +349,9 @@ |
} |
void CompactLocationBarViewHost::ActiveTabClicked(int index) { |
- UpdateOnTabChange(index, true); |
+ // On active tab click, show the compact location bar and also select all the |
+ // contents for quick editing. |
+ browser_view()->SetFocusToLocationBar(true); |
MAD
2011/05/25 00:21:18
Feels a bit weird to have to go back to the browse
SteveT
2011/05/25 04:16:42
Agreed. I forgot that the CLBView had a method to
|
} |
//////////////////////////////////////////////////////////////////////////////// |