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

Issue 118038: Pasted links opened with alt-enter were opened next to the current tab instea... (Closed)

Created:
11 years, 6 months ago by Peter Kasting
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Pasted links opened with alt-enter were opened next to the current tab instead of at the end of the strip. This was because the LINK transition type triggered the TabStripModel to apply heuristics about where to open the URL, even though all URLs opened from the address bar should bypass these heuristics. There were already hooks on the low-level functions to bypass the heuristics, I just had to expose them one level higher. This meant an expansion to one of the TabContentsDelegate function's argument list, hence the number of files touched. (This seems like a good capability to expose anyway, though.)BUG=6797 TEST=Have multiple tabs in your tab strip. Select the first tab, paste in a URL, and hit alt-enter. The newly opened tab should appear at the far end of the strip. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=17432

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -109 lines) Patch
M chrome/browser/browser.h View 1 2 4 chunks +29 lines, -15 lines 0 comments Download
M chrome/browser/browser.cc View 1 2 3 chunks +104 lines, -94 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Peter Kasting
11 years, 6 months ago (2009-05-30 00:17:26 UTC) #1
Ben Goodger (Google)
Adding brettw to the reviewers list since this modifies TCD to include knowledge of tabstrip ...
11 years, 6 months ago (2009-05-31 00:57:52 UTC) #2
brettw
As far as I can tell, the only place you actually need this parameter is ...
11 years, 6 months ago (2009-05-31 04:27:43 UTC) #3
Peter Kasting
On 2009/05/31 04:27:43, brettw wrote: > As far as I can tell, the only place ...
11 years, 6 months ago (2009-06-01 01:34:03 UTC) #4
brettw
On 2009/06/01 01:34:03, pkasting wrote: > On 2009/05/31 04:27:43, brettw wrote: > > As far ...
11 years, 6 months ago (2009-06-01 02:59:41 UTC) #5
Peter Kasting
OK, new much simpler snap uploaded. I feel embarrassed that I didn't do it this ...
11 years, 6 months ago (2009-06-02 19:25:12 UTC) #6
brettw
11 years, 6 months ago (2009-06-02 19:50:06 UTC) #7
LGTM. thanks!

Powered by Google App Engine
This is Rietveld 408576698