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 7046041: Removes RenderViewHostDelegate::GetBrowserWindowID. Instead the places (Closed)

Created:
9 years, 6 months ago by sky
Modified:
9 years, 6 months ago
Reviewers:
jam, Matt Perry
CC:
chromium-reviews, Avi (use Gerrit), Erik does not do reviews, jam, joi+watch-content_chromium.org, Aaron Boodman, pam+watch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Removes RenderViewHostDelegate::GetBrowserWindowID. Instead the places that care send the correct message. This change is motivated by wanting to remove SessionID from content. At later cl will remove TabContentsDelegate::RenderViewCreated. BUG=none TEST=none R=jam@chromium.org,mpcomplete@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=88376

Patch Set 1 #

Patch Set 2 : Fix interstitialpage #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -47 lines) Patch
M chrome/browser/extensions/extension_host.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_host.cc View 2 chunks +13 lines, -19 lines 0 comments Download
M chrome/browser/extensions/extension_message_handler.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/notifications/balloon_host.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/notifications/balloon_host.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/tab_contents/background_contents.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/tab_contents/background_contents.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser.cc View 2 chunks +9 lines, -0 lines 2 comments Download
M content/browser/renderer_host/render_view_host_delegate.h View 1 chunk +0 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/tab_contents/interstitial_page.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/tab_contents/interstitial_page.cc View 1 1 chunk +0 lines, -4 lines 2 comments Download
M content/browser/tab_contents/tab_contents.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/tab_contents/tab_contents.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M content/browser/tab_contents/tab_contents_delegate.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/tab_contents/tab_contents_delegate.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
sky
TabContentsDelegate::RenderViewCreated is temporary. I'll move it onto a TabContentsObserver in a later patch. -Scott
9 years, 6 months ago (2011-06-08 14:55:44 UTC) #1
jam
lgtm http://codereview.chromium.org/7046041/diff/2001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): http://codereview.chromium.org/7046041/diff/2001/chrome/browser/ui/browser.cc#newcode3441 chrome/browser/ui/browser.cc:3441: // TODO(sky): move this to a TabContentsObserver hung ...
9 years, 6 months ago (2011-06-08 17:09:30 UTC) #2
sky
http://codereview.chromium.org/7046041/diff/2001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): http://codereview.chromium.org/7046041/diff/2001/chrome/browser/ui/browser.cc#newcode3441 chrome/browser/ui/browser.cc:3441: // TODO(sky): move this to a TabContentsObserver hung off ...
9 years, 6 months ago (2011-06-08 17:19:43 UTC) #3
jam
On Wed, Jun 8, 2011 at 10:19 AM, <sky@chromium.org> wrote: > > http://codereview.chromium.**org/7046041/diff/2001/chrome/** > browser/ui/browser.cc<http://codereview.chromium.org/7046041/diff/2001/chrome/browser/ui/browser.cc> ...
9 years, 6 months ago (2011-06-08 17:25:14 UTC) #4
Matt Perry
OK, this seems reasonable. http://codereview.chromium.org/7046041/diff/2001/content/browser/tab_contents/interstitial_page.cc File content/browser/tab_contents/interstitial_page.cc (left): http://codereview.chromium.org/7046041/diff/2001/content/browser/tab_contents/interstitial_page.cc#oldcode722 content/browser/tab_contents/interstitial_page.cc:722: int InterstitialPage::GetBrowserWindowID() const { does ...
9 years, 6 months ago (2011-06-08 18:18:42 UTC) #5
Matt Perry
lgtm
9 years, 6 months ago (2011-06-08 18:19:10 UTC) #6
jam
http://codereview.chromium.org/7046041/diff/2001/content/browser/tab_contents/interstitial_page.cc File content/browser/tab_contents/interstitial_page.cc (left): http://codereview.chromium.org/7046041/diff/2001/content/browser/tab_contents/interstitial_page.cc#oldcode722 content/browser/tab_contents/interstitial_page.cc:722: int InterstitialPage::GetBrowserWindowID() const { On 2011/06/08 18:18:42, Matt Perry ...
9 years, 6 months ago (2011-06-08 18:30:08 UTC) #7
Matt Perry
On 2011/06/08 18:30:08, John Abd-El-Malek wrote: > http://codereview.chromium.org/7046041/diff/2001/content/browser/tab_contents/interstitial_page.cc > File content/browser/tab_contents/interstitial_page.cc (left): > > http://codereview.chromium.org/7046041/diff/2001/content/browser/tab_contents/interstitial_page.cc#oldcode722 ...
9 years, 6 months ago (2011-06-08 18:34:00 UTC) #8
jam
9 years, 6 months ago (2011-06-08 18:35:14 UTC) #9
On Wed, Jun 8, 2011 at 11:34 AM, <mpcomplete@chromium.org> wrote:

> On 2011/06/08 18:30:08, John Abd-El-Malek wrote:
>
> http://codereview.chromium.**org/7046041/diff/2001/content/**
>
browser/tab_contents/**interstitial_page.cc<http://codereview.chromium.org/7046041/diff/2001/content/browser/tab_contents/interstitial_page.cc>
>
>> File content/browser/tab_contents/**interstitial_page.cc (left):
>>
>
>
> http://codereview.chromium.**org/7046041/diff/2001/content/**
>
browser/tab_contents/**interstitial_page.cc#**oldcode722<http://codereview.chromium.org/7046041/diff/2001/content/browser/tab_contents/interstitial_page.cc#oldcode722>
>
>> content/browser/tab_contents/**interstitial_page.cc:722: int
>> InterstitialPage::**GetBrowserWindowID() const {
>> On 2011/06/08 18:18:42, Matt Perry wrote:
>> > does the InterstitialPage need to send the UpdateBrowserId message?
>>
>
>  based on inspection, it didn't seem that this matters?  i.e. this is
>>
> ultimately
>
>> used in the extension code so that script can enumerate all the
>>
> tabs/background
>
>> pages etc, right?  If so, then it seems that interstitial pages should
>> just be
>> an internal chrome implementation and not visible?
>>
>
> Unless an interstitial page can host an extension URL. I'd assume that's
> not
> possible, though.


AFAIK that's correct.  If extensions can mess with security interstitials,
that'd be a problem.


>
>
>
http://codereview.chromium.**org/7046041/<http://codereview.chromium.org/7046...
>

Powered by Google App Engine
This is Rietveld 408576698