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

Issue 8899019: Handle AddNewContents in BackgroundContents so we can open windows. (Closed)

Created:
9 years ago by Andrew T Wilson (Slow)
Modified:
9 years ago
Reviewers:
jam
CC:
chromium-reviews, Avi (use Gerrit), ajwong+watch_chromium.org, creis+watch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Handle AddNewContents in BackgroundContents so we can open windows. window.open() in BackgroundContents was failing in M17 because we were no longer hooking ShowCreatedWindow() and forwarding the request to our delegate. Now that BackgroundContents wraps a real TabContents, we now hook AddNewContents() and pass it off to our Delegate to open a new window. BUG=105992 TEST=instructions in bug. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113955

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -1 line) Patch
M chrome/browser/tab_contents/background_contents.h View 2 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/tab_contents/background_contents.cc View 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Andrew T Wilson (Slow)
Please take a look.
9 years ago (2011-12-10 01:07:45 UTC) #1
jam
lgtm!
9 years ago (2011-12-10 01:42:36 UTC) #2
jam
can we add a browser test, based on the repro case, to avoid this regressing ...
9 years ago (2011-12-10 01:43:00 UTC) #3
Andrew T Wilson (Slow)
On 2011/12/10 01:43:00, John Abd-El-Malek wrote: > can we add a browser test, based on ...
9 years ago (2011-12-10 02:25:17 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/atwilson@chromium.org/8899019/1
9 years ago (2011-12-10 16:30:07 UTC) #5
jam
On Sat, Dec 10, 2011 at 4:25 AM, <atwilson@chromium.org> wrote: > On 2011/12/10 01:43:00, John ...
9 years ago (2011-12-10 16:56:39 UTC) #6
commit-bot: I haz the power
9 years ago (2011-12-10 17:39:50 UTC) #7
Change committed as 113955

Powered by Google App Engine
This is Rietveld 408576698