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

Issue 505013: All browser types should should open CURRENT_TAB in the current tab (Closed)

Created:
11 years ago by dhg
Modified:
9 years, 7 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews_googlegroups.com, ben+cc_chromium.org, sky
Visibility:
Public.

Description

For popup/app windows, even dispositions of CURRENT_TAB are routed to new browser windows, which is overreaching. Doesn't affect normal user actions since these windows have no address bar and link clicks don't go through this code, but does affect programmatic URL changes. BUG=30529 TEST=None

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 1

Patch Set 4 : '' #

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

Messages

Total messages: 15 (0 generated)
dhg
Hey, so i figured this was the easiest way to start the discussion about this ...
11 years ago (2009-12-16 00:46:55 UTC) #1
Peter Kasting
I have no idea what this is doing, since your description is vague and non-grammatical, ...
11 years ago (2009-12-16 00:58:04 UTC) #2
sky
I would also make the type_ conditional first as that makes it more clear this ...
11 years ago (2009-12-16 01:04:29 UTC) #3
dhg
It has no bug. I have attempted to make the description more descriptive. On Tue, ...
11 years ago (2009-12-16 01:06:23 UTC) #4
dhg
great idea scott. changed. On Tue, Dec 15, 2009 at 5:04 PM, Scott Violet <sky@chromium.org> ...
11 years ago (2009-12-16 01:08:55 UTC) #5
Peter Kasting
On 2009/12/16 01:06:23, dhg wrote: > It has no bug. I have attempted to make ...
11 years ago (2009-12-16 01:14:26 UTC) #6
dhg
How about I put it here. The problem is, I am working on the usb ...
11 years ago (2009-12-16 01:22:42 UTC) #7
Peter Kasting
On 2009/12/16 01:22:42, dhg wrote: > How about I put it here. That helps me, ...
11 years ago (2009-12-16 01:28:57 UTC) #8
dhg
We use a popup so that it gets created as a mole. (moles are defined ...
11 years ago (2009-12-16 01:32:36 UTC) #9
dhg
Just tried out cnn, and a couple other sites. clicking on a link on the ...
11 years ago (2009-12-16 01:53:14 UTC) #10
sky
>> tab->OpenURL(GURL(url), GURL(), CURRENT_TAB, >> PageTransition::GENERATED); > > I doubt you want GENERATED here. Scott, ...
11 years ago (2009-12-16 17:04:57 UTC) #11
dhg
k changed it in my other code, not a big deal. On Wed, Dec 16, ...
11 years ago (2009-12-16 17:12:03 UTC) #12
Peter Kasting
I updated the description to try and be clearer. LGTM http://codereview.chromium.org/505013/diff/7001/7002 File chrome/browser/browser.cc (right): http://codereview.chromium.org/505013/diff/7001/7002#newcode2978 ...
11 years ago (2009-12-16 18:50:03 UTC) #13
dhg
done and uploaded. (i'm not a comitter) On Wed, Dec 16, 2009 at 10:50 AM, ...
11 years ago (2009-12-16 20:25:21 UTC) #14
Peter Kasting
11 years ago (2009-12-19 01:12:51 UTC) #15
Landed in r35017.

Powered by Google App Engine
This is Rietveld 408576698