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

Issue 9721001: Plumb Guest flag to RenderViewImpl (Closed)

Created:
8 years, 9 months ago by Fady Samuel
Modified:
8 years, 9 months ago
Reviewers:
Lei Zhang, jam
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, rjkroege, piman
Visibility:
Public.

Description

Plumb Guest flag to RenderViewImpl This wil be used by a subsequent patch to create a WebGraphicsContext3DGuest instead of a WebGraphicsContext3DCommandBufferImpl in the guest RenderView. BUG=118659 TEST=manually Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=127653

Patch Set 1 #

Patch Set 2 : 9721001 #

Patch Set 3 : Removed public content API change #

Total comments: 2

Patch Set 4 : Removed another public content API change. Renamed SetHostsGuest to SetGuest #

Patch Set 5 : Updated broken render_view_test #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -8 lines) Patch
M content/browser/renderer_host/render_view_host_impl.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 3 chunks +6 lines, -0 lines 0 comments Download
M content/common/view_messages.h View 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/render_view_impl.h View 1 4 chunks +8 lines, -2 lines 1 comment Download
M content/renderer/render_view_impl.cc View 1 2 3 7 chunks +16 lines, -4 lines 0 comments Download
M content/test/render_view_test.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
Fady Samuel
Hi John, This is a plumbing only patch. The WebGraphicsContext3DGuest that will use this plumbing ...
8 years, 9 months ago (2012-03-16 20:33:44 UTC) #1
jam
why does this stuff need to go into the public content API?
8 years, 9 months ago (2012-03-18 19:02:33 UTC) #2
Fady Samuel
On 2012/03/18 19:02:33, John Abd-El-Malek wrote: > why does this stuff need to go into ...
8 years, 9 months ago (2012-03-19 15:28:29 UTC) #3
Fady Samuel
Hi John, I removed the public content API change. Could you please take another look? ...
8 years, 9 months ago (2012-03-19 15:28:58 UTC) #4
jam
http://codereview.chromium.org/9721001/diff/6001/content/browser/renderer_host/render_view_host_impl.h File content/browser/renderer_host/render_view_host_impl.h (right): http://codereview.chromium.org/9721001/diff/6001/content/browser/renderer_host/render_view_host_impl.h#newcode214 content/browser/renderer_host/render_view_host_impl.h:214: virtual void SetHostsGuest(bool hosts_guest) OVERRIDE; I think this should ...
8 years, 9 months ago (2012-03-19 16:11:30 UTC) #5
Fady Samuel
On 2012/03/19 16:11:30, John Abd-El-Malek wrote: > http://codereview.chromium.org/9721001/diff/6001/content/browser/renderer_host/render_view_host_impl.h > File content/browser/renderer_host/render_view_host_impl.h (right): > > http://codereview.chromium.org/9721001/diff/6001/content/browser/renderer_host/render_view_host_impl.h#newcode214 ...
8 years, 9 months ago (2012-03-19 17:00:58 UTC) #6
Fady Samuel
Hopefully I've addressed your concerns over public content API changes. I've renamed SetHostsGuest to SetGuest. ...
8 years, 9 months ago (2012-03-19 17:15:05 UTC) #7
jam
lgtm
8 years, 9 months ago (2012-03-19 19:58:43 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/9721001/9001
8 years, 9 months ago (2012-03-19 20:02:38 UTC) #9
commit-bot: I haz the power
Try job failure for 9721001-9001 (retry) on linux_chromeos for step "compile" (clobber build). It's a ...
8 years, 9 months ago (2012-03-19 20:25:03 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/9721001/9004
8 years, 9 months ago (2012-03-19 20:56:08 UTC) #11
commit-bot: I haz the power
Try job failure for 9721001-9004 (retry) on mac_rel for steps "ui_tests, browser_tests, unit_tests, content_unittests". It's ...
8 years, 9 months ago (2012-03-20 05:17:55 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/9721001/9004
8 years, 9 months ago (2012-03-20 05:53:51 UTC) #13
commit-bot: I haz the power
Change committed as 127653
8 years, 9 months ago (2012-03-20 08:26:38 UTC) #14
Lei Zhang
http://codereview.chromium.org/9721001/diff/9004/content/renderer/render_view_impl.h File content/renderer/render_view_impl.h (right): http://codereview.chromium.org/9721001/diff/9004/content/renderer/render_view_impl.h#newcode590 content/renderer/render_view_impl.h:590: bool IsGuest() const; Err, why is this under the ...
8 years, 9 months ago (2012-03-20 19:30:57 UTC) #15
Fady Samuel
On 2012/03/20 19:30:57, Lei Zhang wrote: > http://codereview.chromium.org/9721001/diff/9004/content/renderer/render_view_impl.h > File content/renderer/render_view_impl.h (right): > > http://codereview.chromium.org/9721001/diff/9004/content/renderer/render_view_impl.h#newcode590 ...
8 years, 9 months ago (2012-03-20 21:53:05 UTC) #16
Lei Zhang
On 2012/03/20 21:53:05, Fady Samuel wrote: > On 2012/03/20 19:30:57, Lei Zhang wrote: > > ...
8 years, 9 months ago (2012-03-20 22:02:08 UTC) #17
Fady Samuel
8 years, 9 months ago (2012-03-20 22:03:50 UTC) #18
On 2012/03/20 22:02:08, Lei Zhang wrote:
> On 2012/03/20 21:53:05, Fady Samuel wrote:
> > On 2012/03/20 19:30:57, Lei Zhang wrote:
> > >
> >
>
http://codereview.chromium.org/9721001/diff/9004/content/renderer/render_view...
> > > File content/renderer/render_view_impl.h (right):
> > > 
> > >
> >
>
http://codereview.chromium.org/9721001/diff/9004/content/renderer/render_view...
> > > content/renderer/render_view_impl.h:590: bool IsGuest() const;
> > > Err, why is this under the "content::RenderView" section without being
> defined
> > > in content/public/renderer/render_view.h ? Notice all the other methods
have
> > > OVERRIDEs.
> > 
> > Sorry, I'm not sure I understand what you're asking...did you want me to
move
> it
> > down in the class? This flag doesn't need to be exposed in the public
content
> > API.
> 
> The organization of the public methods in the header file is not random. The
> section under:
> 
> // content::RenderView implementation
> 
> is for methods that implement/overrides virtual function defined in the public
> header. IsGuest() doesn't belong there. I'd put it near line 228. Same goes
for
> SetGuest() in content/browser/renderer_host/render_view_host_impl.h.

Doing that now. Thanks. Sorry about that. I didn't notice the comment when
making the change.

Powered by Google App Engine
This is Rietveld 408576698