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

Issue 4534002: Fix showing some foreground tabs. (Closed)

Created:
10 years, 1 month ago by sadrul
Modified:
9 years, 6 months ago
CC:
chromium-reviews, ben+cc_chromium.org
Visibility:
Public.

Description

Fix showing some foreground tabs. Some tabs (e.g. 'view source', opening a bookmark from the bookmark bar's context menu) open in background, although they are supposed to open as foreground tabs. This small changeset fixes the problem. BUG=61735 TEST=see bug Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=65551

Patch Set 1 #

Total comments: 2

Patch Set 2 : Let NormalizeDisposition take care of setting ADD_SELECTED flag. #

Patch Set 3 : Merge with trunk. #

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

Messages

Total messages: 10 (0 generated)
sadrul
10 years, 1 month ago (2010-11-06 06:01:18 UTC) #1
sky
http://codereview.chromium.org/4534002/diff/1/2 File chrome/browser/browser.cc (right): http://codereview.chromium.org/4534002/diff/1/2#newcode2712 chrome/browser/browser.cc:2712: params.tabstrip_add_types = disposition == NEW_FOREGROUND_TAB ? I tend to ...
10 years, 1 month ago (2010-11-08 17:19:49 UTC) #2
Ben Goodger (Google)
http://codereview.chromium.org/4534002/diff/1/2 File chrome/browser/browser.cc (right): http://codereview.chromium.org/4534002/diff/1/2#newcode2712 chrome/browser/browser.cc:2712: params.tabstrip_add_types = disposition == NEW_FOREGROUND_TAB ? On 2010/11/08 17:19:49, ...
10 years, 1 month ago (2010-11-08 17:45:56 UTC) #3
Ben Goodger (Google)
yes. On Mon, Nov 8, 2010 at 9:48 AM, <sadrul@chromium.org> wrote: > > I tend ...
10 years, 1 month ago (2010-11-08 17:50:48 UTC) #4
sadrul
Done.
10 years, 1 month ago (2010-11-08 19:40:23 UTC) #5
sadrul
Merged with trunk.
10 years, 1 month ago (2010-11-09 15:09:02 UTC) #6
Ben Goodger (Google)
Didn't you say you had to patch a few call sites?
10 years, 1 month ago (2010-11-09 15:49:38 UTC) #7
sadrul
On 2010/11/09 15:49:38, Ben Goodger wrote: > Didn't you say you had to patch a ...
10 years, 1 month ago (2010-11-09 15:55:27 UTC) #8
Ben Goodger (Google)
Very well. LGTM if the tests pass.
10 years, 1 month ago (2010-11-09 16:02:12 UTC) #9
sadrul
10 years, 1 month ago (2010-11-09 16:15:32 UTC) #10
The trybots don't seem to have the revision that moved browser.cc into ui/ yet.
That's why they are failing. I will resend when the trybots get newer revs.

Powered by Google App Engine
This is Rietveld 408576698