LGTM https://codereview.chromium.org/78303005/diff/80001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/78303005/diff/80001/chrome/browser/chrome_content_browser_client.cc#newcode975 chrome/browser/chrome_content_browser_client.cc:975: &rules); nit: I guess this fits into the ...
also, jochen would be a better src\chrome owners since he wrote a lot of the
content settings code
https://codereview.chromium.org/78303005/diff/110001/content/browser/renderer...
File content/browser/renderer_host/render_view_host_impl.cc (right):
https://codereview.chromium.org/78303005/diff/110001/content/browser/renderer...
content/browser/renderer_host/render_view_host_impl.cc:1379:
GetContentClient()->browser()->RenderViewReady(this);
this duplicates WebContentsObserver::RenderViewReady, please use that instead of
adding another method to ContentBrowserClient. The latter is a last-resort place
to put embedder callbacks when there isn't context
jam
https://codereview.chromium.org/78303005/diff/110001/content/browser/renderer_host/render_view_host_impl.cc File content/browser/renderer_host/render_view_host_impl.cc (right): https://codereview.chromium.org/78303005/diff/110001/content/browser/renderer_host/render_view_host_impl.cc#newcode1379 content/browser/renderer_host/render_view_host_impl.cc:1379: GetContentClient()->browser()->RenderViewReady(this); On 2013/11/25 22:42:35, jam wrote: > this duplicates ...
https://codereview.chromium.org/78303005/diff/110001/content/browser/renderer...
File content/browser/renderer_host/render_view_host_impl.cc (right):
https://codereview.chromium.org/78303005/diff/110001/content/browser/renderer...
content/browser/renderer_host/render_view_host_impl.cc:1379:
GetContentClient()->browser()->RenderViewReady(this);
On 2013/11/25 22:42:35, jam wrote:
> this duplicates WebContentsObserver::RenderViewReady, please use that instead
of
> adding another method to ContentBrowserClient. The latter is a last-resort
place
> to put embedder callbacks when there isn't context
to expand, you can put this on TabSpecificContentSettings::RenderViewReady
jochen (gone - plz use gerrit)
Isn't a webview a per-process thing anyway? I'm worried that we're sending a potentially large ...
Isn't a webview a per-process thing anyway?
I'm worried that we're sending a potentially large database of content settings
several times to the same process.
markusheintz_
On 2013/11/26 13:51:24, jochen wrote: > Isn't a webview a per-process thing anyway? > > ...
On 2013/11/26 13:51:24, jochen wrote:
> Isn't a webview a per-process thing anyway?
>
> I'm worried that we're sending a potentially large database of content
settings
> several times to the same process.
This CL is about NOT sending content settings to a webview.
See
https://codereview.chromium.org/78303005/diff/110001/chrome/browser/chrome_co...
:950
jochen (gone - plz use gerrit)
On 2013/11/26 13:54:37, markusheintz_ wrote: > On 2013/11/26 13:51:24, jochen wrote: > > Isn't a ...
On 2013/11/26 13:54:37, markusheintz_ wrote:
> On 2013/11/26 13:51:24, jochen wrote:
> > Isn't a webview a per-process thing anyway?
> >
> > I'm worried that we're sending a potentially large database of content
> settings
> > several times to the same process.
>
> This CL is about NOT sending content settings to a webview.
Sorry for being unclear. Why are we switching to sending the content settings
per render view as opposed to once per process. My impression was that a
<webview> can only be hosted in a plugin guest renderer (so it would be enough
to just not send content settings to such a process).
Fady Samuel
On 2013/11/26 13:57:39, jochen wrote: > On 2013/11/26 13:54:37, markusheintz_ wrote: > > On 2013/11/26 ...
On 2013/11/26 13:57:39, jochen wrote:
> On 2013/11/26 13:54:37, markusheintz_ wrote:
> > On 2013/11/26 13:51:24, jochen wrote:
> > > Isn't a webview a per-process thing anyway?
> > >
> > > I'm worried that we're sending a potentially large database of content
> > settings
> > > several times to the same process.
> >
> > This CL is about NOT sending content settings to a webview.
>
> Sorry for being unclear. Why are we switching to sending the content settings
> per render view as opposed to once per process. My impression was that a
> <webview> can only be hosted in a plugin guest renderer (so it would be enough
> to just not send content settings to such a process).
Multiple <webview>s may host content in a single guest renderer. Generally we
isolate
guest content from one another. Is there any reason why we can't disable images
in one
webview but enable them in another, for example?
Fady Samuel
On 2013/11/26 15:58:08, Fady Samuel wrote: > On 2013/11/26 13:57:39, jochen wrote: > > On ...
On 2013/11/26 15:58:08, Fady Samuel wrote:
> On 2013/11/26 13:57:39, jochen wrote:
> > On 2013/11/26 13:54:37, markusheintz_ wrote:
> > > On 2013/11/26 13:51:24, jochen wrote:
> > > > Isn't a webview a per-process thing anyway?
> > > >
> > > > I'm worried that we're sending a potentially large database of content
> > > settings
> > > > several times to the same process.
> > >
> > > This CL is about NOT sending content settings to a webview.
> >
> > Sorry for being unclear. Why are we switching to sending the content
settings
> > per render view as opposed to once per process. My impression was that a
> > <webview> can only be hosted in a plugin guest renderer (so it would be
enough
> > to just not send content settings to such a process).
>
> Multiple <webview>s may host content in a single guest renderer. Generally we
> isolate
> guest content from one another. Is there any reason why we can't disable
images
> in one
> webview but enable them in another, for example?
Sorry, I should mention that we may want a content settings API in the future
for <webview>, that's isolated in behavior on a per-webview basis.
markusheintz_
On 2013/11/26 15:59:01, Fady Samuel wrote: > On 2013/11/26 15:58:08, Fady Samuel wrote: > > ...
On 2013/11/26 15:59:01, Fady Samuel wrote:
> On 2013/11/26 15:58:08, Fady Samuel wrote:
> > On 2013/11/26 13:57:39, jochen wrote:
> > > On 2013/11/26 13:54:37, markusheintz_ wrote:
> > > > On 2013/11/26 13:51:24, jochen wrote:
> > > > > Isn't a webview a per-process thing anyway?
> > > > >
> > > > > I'm worried that we're sending a potentially large database of content
> > > > settings
> > > > > several times to the same process.
> > > >
> > > > This CL is about NOT sending content settings to a webview.
> > >
> > > Sorry for being unclear. Why are we switching to sending the content
> settings
> > > per render view as opposed to once per process. My impression was that a
> > > <webview> can only be hosted in a plugin guest renderer (so it would be
> enough
> > > to just not send content settings to such a process).
> >
> > Multiple <webview>s may host content in a single guest renderer. Generally
we
> > isolate
> > guest content from one another. Is there any reason why we can't disable
> images
> > in one
> > webview but enable them in another, for example?
>
>
> Sorry, I should mention that we may want a content settings API in the future
> for <webview>, that's isolated in behavior on a per-webview basis.
Sorry content settings API is very ambiguous for me :)
Is this content settings API meant to be provided to the embedder of the
webview?
Fady Samuel
On 2013/11/26 16:08:53, markusheintz_ wrote: > On 2013/11/26 15:59:01, Fady Samuel wrote: > > On ...
On 2013/11/26 16:08:53, markusheintz_ wrote:
> On 2013/11/26 15:59:01, Fady Samuel wrote:
> > On 2013/11/26 15:58:08, Fady Samuel wrote:
> > > On 2013/11/26 13:57:39, jochen wrote:
> > > > On 2013/11/26 13:54:37, markusheintz_ wrote:
> > > > > On 2013/11/26 13:51:24, jochen wrote:
> > > > > > Isn't a webview a per-process thing anyway?
> > > > > >
> > > > > > I'm worried that we're sending a potentially large database of
content
> > > > > settings
> > > > > > several times to the same process.
> > > > >
> > > > > This CL is about NOT sending content settings to a webview.
> > > >
> > > > Sorry for being unclear. Why are we switching to sending the content
> > settings
> > > > per render view as opposed to once per process. My impression was that a
> > > > <webview> can only be hosted in a plugin guest renderer (so it would be
> > enough
> > > > to just not send content settings to such a process).
> > >
> > > Multiple <webview>s may host content in a single guest renderer. Generally
> we
> > > isolate
> > > guest content from one another. Is there any reason why we can't disable
> > images
> > > in one
> > > webview but enable them in another, for example?
> >
> >
> > Sorry, I should mention that we may want a content settings API in the
future
> > for <webview>, that's isolated in behavior on a per-webview basis.
>
> Sorry content settings API is very ambiguous for me :)
> Is this content settings API meant to be provided to the embedder of the
> webview?
Yes, the embedder would decide the webview's content settings.
markusheintz_
On 2013/11/26 16:11:53, Fady Samuel wrote: > On 2013/11/26 16:08:53, markusheintz_ wrote: > > On ...
On 2013/11/26 16:11:53, Fady Samuel wrote:
> On 2013/11/26 16:08:53, markusheintz_ wrote:
> > On 2013/11/26 15:59:01, Fady Samuel wrote:
> > > On 2013/11/26 15:58:08, Fady Samuel wrote:
> > > > On 2013/11/26 13:57:39, jochen wrote:
> > > > > On 2013/11/26 13:54:37, markusheintz_ wrote:
> > > > > > On 2013/11/26 13:51:24, jochen wrote:
> > > > > > > Isn't a webview a per-process thing anyway?
> > > > > > >
> > > > > > > I'm worried that we're sending a potentially large database of
> content
> > > > > > settings
> > > > > > > several times to the same process.
> > > > > >
> > > > > > This CL is about NOT sending content settings to a webview.
> > > > >
> > > > > Sorry for being unclear. Why are we switching to sending the content
> > > settings
> > > > > per render view as opposed to once per process. My impression was that
a
> > > > > <webview> can only be hosted in a plugin guest renderer (so it would
be
> > > enough
> > > > > to just not send content settings to such a process).
> > > >
> > > > Multiple <webview>s may host content in a single guest renderer.
Generally
> > we
> > > > isolate
> > > > guest content from one another. Is there any reason why we can't disable
> > > images
> > > > in one
> > > > webview but enable them in another, for example?
> > >
> > >
> > > Sorry, I should mention that we may want a content settings API in the
> future
> > > for <webview>, that's isolated in behavior on a per-webview basis.
> >
> > Sorry content settings API is very ambiguous for me :)
> > Is this content settings API meant to be provided to the embedder of the
> > webview?
>
> Yes, the embedder would decide the webview's content settings.
Great! Could you please share any design docs with me and cc me on any issues
regarding this API.
This would help me to keep track of the various content settings and permissions
parts in Chrome :) Thanks.
It sounds like right now content settings don't apply to webview. If I'm
understanding you correctly, you're saying that it might in the future?
If this is so, then as Jochen says why is this switching to be per RV instead of
per process now?
Fady Samuel
On 2013/11/26 17:14:40, jam wrote: > It sounds like right now content settings don't apply ...
On 2013/11/26 17:14:40, jam wrote:
> It sounds like right now content settings don't apply to webview. If I'm
> understanding you correctly, you're saying that it might in the future?
>
> If this is so, then as Jochen says why is this switching to be per RV instead
of
> per process now?
I'm currently investigating this path: Never sending content settings to guest
processes.
It seems that swapped out RenderViews are getting content settings applied.
This breaks <webview>.contentWindow as contentWindow is a proxy "swapped out"
RenderView to the guest RenderView.
I'm investigating why this is happening now.
Fady Samuel
PTAL jochen@. I've simplified this patch greatly. Chrome App processes, and <webview> guest processes do ...
On 2013/11/27 14:29:29, jochen wrote:
> I wonder whether it isn't enough to add kSwappedOutScheme to
> ContentSettingsObserver::IsWhitelistedForContentSettings?
I spoke to Charlie Reis about that and he was hesitant about that approach.
Adding him to the review now.
https://codereview.chromium.org/78303005/diff/170001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/78303005/diff/170001/chrome/browser/chrome_content_browser_client.cc#newcode1277 chrome/browser/chrome_content_browser_client.cc:1277: (!extension || !extension->is_platform_app()); This condition is really hard to ...
Charlie, what do you think about just whitelisting swappedout://?
That's what we do for everything else, so I'd rather extend that mechanism
instead of introducing a new special casing
jochen (gone - plz use gerrit)
Charlie, what do you think about just whitelisting swappedout://? That's what we do for everything ...
Charlie, what do you think about just whitelisting swappedout://?
That's what we do for everything else, so I'd rather extend that mechanism
instead of introducing a new special casing
Charlie Reis
On 2013/11/27 17:55:43, jochen wrote: > Charlie, what do you think about just whitelisting swappedout://? ...
On 2013/11/27 17:55:43, jochen wrote:
> Charlie, what do you think about just whitelisting swappedout://?
>
> That's what we do for everything else, so I'd rather extend that mechanism
> instead of introducing a new special casing
I don't think swappedout:// should be visible outside the content module.
(Seems like a mistake to have it public in url_constants.h.) It's also going
away as soon as we can get RenderFrameProxies implemented.
If there's a way to do it within the content module, I might be open to the
idea. I'm not sure of the specifics of why most app RenderViews don't get
content settings but swappedout app RenderViews do.
jochen (gone - plz use gerrit)
On 2013/11/27 18:11:32, creis wrote: > On 2013/11/27 17:55:43, jochen wrote: > > Charlie, what ...
On 2013/11/27 18:11:32, creis wrote:
> On 2013/11/27 17:55:43, jochen wrote:
> > Charlie, what do you think about just whitelisting swappedout://?
> >
> > That's what we do for everything else, so I'd rather extend that mechanism
> > instead of introducing a new special casing
>
> I don't think swappedout:// should be visible outside the content module.
> (Seems like a mistake to have it public in url_constants.h.) It's also going
> away as soon as we can get RenderFrameProxies implemented.
We'll still need a way for the embedder to decide whether or not to initialize
javascript in this frame or not.
Since the embedder sees the URL, I don't really see the point in keeping it
secret. I think it's similar to kUnreachableWebData which we also expose (and
whitelist).
>
> If there's a way to do it within the content module, I might be open to the
> idea. I'm not sure of the specifics of why most app RenderViews don't get
> content settings but swappedout app RenderViews do.
The whitelisting is done here
https://code.google.com/p/chromium/codesearch#chromium/src/chrome/renderer/co....
The app is whitelisted based on the main frame URL being on a
chrome-extension:// scheme.
We could add a getter to RenderView something like is_proxy() and use that to
whitelist?
jochen (gone - plz use gerrit)
So after some back and forth, what about this: we add a content API RenderView::IsBrowserPluginProxy() ...
So after some back and forth, what about this:
we add a content API RenderView::IsBrowserPluginProxy() or similar that returns
true for a swapped out RV that forwards to a <webview>
There should be a comment that makes it clear why it's needed and that it should
be removed once we don't use swappedout:// anymore but RenderFrameProxies.
This API can be used in ContentSettingsObserver::IsWhitelistedForContentSettings
to whitelist those RVs.
wdyt?
Charlie Reis
On 2013/11/27 21:27:02, jochen wrote: > So after some back and forth, what about this: ...
On 2013/11/27 21:27:02, jochen wrote:
> So after some back and forth, what about this:
>
> we add a content API RenderView::IsBrowserPluginProxy() or similar that
returns
> true for a swapped out RV that forwards to a <webview>
>
> There should be a comment that makes it clear why it's needed and that it
should
> be removed once we don't use swappedout:// anymore but RenderFrameProxies.
>
> This API can be used in
ContentSettingsObserver::IsWhitelistedForContentSettings
> to whitelist those RVs.
>
> wdyt?
I'm not sure I see a better approach, so I'm ok with it. This will make sure
that scripting works in the embedder's swapped out RenderView, whether the
embedder is an app or not.
Please do make it clear why this is needed, and that it's a temporary measure
until swapped out RenderViews go away. (In general, the concept of a RenderView
"proxy" shouldn't be exposed outside content.)
jam
On 2013/11/27 21:46:22, creis wrote: > On 2013/11/27 21:27:02, jochen wrote: > > So after ...
On 2013/11/27 21:46:22, creis wrote:
> On 2013/11/27 21:27:02, jochen wrote:
> > So after some back and forth, what about this:
> >
> > we add a content API RenderView::IsBrowserPluginProxy() or similar that
> returns
> > true for a swapped out RV that forwards to a <webview>
> >
> > There should be a comment that makes it clear why it's needed and that it
> should
> > be removed once we don't use swappedout:// anymore but RenderFrameProxies.
> >
> > This API can be used in
> ContentSettingsObserver::IsWhitelistedForContentSettings
> > to whitelist those RVs.
> >
> > wdyt?
>
> I'm not sure I see a better approach, so I'm ok with it. This will make sure
> that scripting works in the embedder's swapped out RenderView, whether the
> embedder is an app or not.
>
> Please do make it clear why this is needed, and that it's a temporary measure
> until swapped out RenderViews go away. (In general, the concept of a
RenderView
> "proxy" shouldn't be exposed outside content.)
In general, we only add Content API because there's no other way to do
something.
In this case, patchset 8 seems to accomplish this task without requiring new
APIs. Why add a new one?
jochen (gone - plz use gerrit)
On 2013/11/27 22:05:56, jam wrote: > On 2013/11/27 21:46:22, creis wrote: > > On 2013/11/27 ...
On 2013/11/27 22:05:56, jam wrote:
> On 2013/11/27 21:46:22, creis wrote:
> > On 2013/11/27 21:27:02, jochen wrote:
> > > So after some back and forth, what about this:
> > >
> > > we add a content API RenderView::IsBrowserPluginProxy() or similar that
> > returns
> > > true for a swapped out RV that forwards to a <webview>
> > >
> > > There should be a comment that makes it clear why it's needed and that it
> > should
> > > be removed once we don't use swappedout:// anymore but RenderFrameProxies.
> > >
> > > This API can be used in
> > ContentSettingsObserver::IsWhitelistedForContentSettings
> > > to whitelist those RVs.
> > >
> > > wdyt?
> >
> > I'm not sure I see a better approach, so I'm ok with it. This will make
sure
> > that scripting works in the embedder's swapped out RenderView, whether the
> > embedder is an app or not.
> >
> > Please do make it clear why this is needed, and that it's a temporary
measure
> > until swapped out RenderViews go away. (In general, the concept of a
> RenderView
> > "proxy" shouldn't be exposed outside content.)
>
> In general, we only add Content API because there's no other way to do
> something.
>
> In this case, patchset 8 seems to accomplish this task without requiring new
> APIs. Why add a new one?
No, patchset #8 doesn't solve the problem (the swapped out render view doesn't
get the right settings in all cases), but it entirely breaks content settings
for platform apps (returning DEFAULT is incorrect, we need to at least transfer
the default settings in any case).
The most correct solution would be to implement a WebPermissionClient inside of
content that whitelists all the special URL content knows about (for example
kUnreachableWebDataURL) and only forwards the rest to chrome.
This is however a rather large change and will require an API change as well.
jochen (gone - plz use gerrit)
I added some specific comments https://codereview.chromium.org/78303005/diff/170001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/78303005/diff/170001/chrome/browser/chrome_content_browser_client.cc#newcode1276 chrome/browser/chrome_content_browser_client.cc:1276: bool inject_content_rules = !site_instance->GetProcess()->IsGuest() ...
On 2013/11/28 15:52:44, jochen wrote:
> On 2013/11/27 22:05:56, jam wrote:
> > On 2013/11/27 21:46:22, creis wrote:
> > > On 2013/11/27 21:27:02, jochen wrote:
> > > > So after some back and forth, what about this:
> > > >
> > > > we add a content API RenderView::IsBrowserPluginProxy() or similar that
> > > returns
> > > > true for a swapped out RV that forwards to a <webview>
> > > >
> > > > There should be a comment that makes it clear why it's needed and that
it
> > > should
> > > > be removed once we don't use swappedout:// anymore but
RenderFrameProxies.
> > > >
> > > > This API can be used in
> > > ContentSettingsObserver::IsWhitelistedForContentSettings
> > > > to whitelist those RVs.
> > > >
> > > > wdyt?
> > >
> > > I'm not sure I see a better approach, so I'm ok with it. This will make
> sure
> > > that scripting works in the embedder's swapped out RenderView, whether the
> > > embedder is an app or not.
> > >
> > > Please do make it clear why this is needed, and that it's a temporary
> measure
> > > until swapped out RenderViews go away. (In general, the concept of a
> > RenderView
> > > "proxy" shouldn't be exposed outside content.)
> >
> > In general, we only add Content API because there's no other way to do
> > something.
> >
> > In this case, patchset 8 seems to accomplish this task without requiring new
> > APIs. Why add a new one?
>
> No, patchset #8 doesn't solve the problem (the swapped out render view doesn't
> get the right settings in all cases), but it entirely breaks content settings
> for platform apps (returning DEFAULT is incorrect, we need to at least
transfer
> the default settings in any case).
>
> The most correct solution would be to implement a WebPermissionClient inside
of
> content that whitelists all the special URL content knows about (for example
> kUnreachableWebDataURL) and only forwards the rest to chrome.
WebPermissionClient was created so that chrome could handle content setting
specific tasks directly from blink, without having to go through content layer.
Can we make chrome handle this itself, for example by looking only at specific
schemes that it knows about?
I don't understand your second last paragraph (as I'm not that familiar with
content settings). what does transfer default settings mean?
>
> This is however a rather large change and will require an API change as well.
jochen (gone - plz use gerrit)
On 2013/12/02 17:22:10, jam wrote: > On 2013/11/28 15:52:44, jochen wrote: > > On 2013/11/27 ...
On 2013/12/02 17:22:10, jam wrote:
> On 2013/11/28 15:52:44, jochen wrote:
> > On 2013/11/27 22:05:56, jam wrote:
> > > On 2013/11/27 21:46:22, creis wrote:
> > > > On 2013/11/27 21:27:02, jochen wrote:
> > > > > So after some back and forth, what about this:
> > > > >
> > > > > we add a content API RenderView::IsBrowserPluginProxy() or similar
that
> > > > returns
> > > > > true for a swapped out RV that forwards to a <webview>
> > > > >
> > > > > There should be a comment that makes it clear why it's needed and that
> it
> > > > should
> > > > > be removed once we don't use swappedout:// anymore but
> RenderFrameProxies.
> > > > >
> > > > > This API can be used in
> > > > ContentSettingsObserver::IsWhitelistedForContentSettings
> > > > > to whitelist those RVs.
> > > > >
> > > > > wdyt?
> > > >
> > > > I'm not sure I see a better approach, so I'm ok with it. This will make
> > sure
> > > > that scripting works in the embedder's swapped out RenderView, whether
the
> > > > embedder is an app or not.
> > > >
> > > > Please do make it clear why this is needed, and that it's a temporary
> > measure
> > > > until swapped out RenderViews go away. (In general, the concept of a
> > > RenderView
> > > > "proxy" shouldn't be exposed outside content.)
> > >
> > > In general, we only add Content API because there's no other way to do
> > > something.
> > >
> > > In this case, patchset 8 seems to accomplish this task without requiring
new
> > > APIs. Why add a new one?
> >
> > No, patchset #8 doesn't solve the problem (the swapped out render view
doesn't
> > get the right settings in all cases), but it entirely breaks content
settings
> > for platform apps (returning DEFAULT is incorrect, we need to at least
> transfer
> > the default settings in any case).
> >
> > The most correct solution would be to implement a WebPermissionClient inside
> of
> > content that whitelists all the special URL content knows about (for example
> > kUnreachableWebDataURL) and only forwards the rest to chrome.
>
> WebPermissionClient was created so that chrome could handle content setting
> specific tasks directly from blink, without having to go through content
layer.
> Can we make chrome handle this itself, for example by looking only at specific
> schemes that it knows about?
That's possible, however, less secure: if we add a scheme in chrome and forget
about updating the content settings observer, we would grant privileges to sites
the user hasn't configured.
>
> I don't understand your second last paragraph (as I'm not that familiar with
> content settings). what does transfer default settings mean?
We present content settings to users as a default choice + exceptions.
Internally, there are just exceptions with the default setting being mapped to a
catch-all rule.
We need to transfer at least the catch-all rule (which is applied to unknown
schemes as well, so we can't forget about a scheme)
>
> >
> > This is however a rather large change and will require an API change as
well.
Fady Samuel
Hi Jochen, I believe I've addressed all comments. Please take a look at GuestView::GetDefaultContentSettingRules. I'm ...
Hi Jochen,
I believe I've addressed all comments. Please take a look at
GuestView::GetDefaultContentSettingRules. I'm not entirely sure if I got the
default content setting rules correctly here. Thanks!
jochen (gone - plz use gerrit)
mostly looks good https://codereview.chromium.org/78303005/diff/190001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/78303005/diff/190001/chrome/browser/chrome_content_browser_client.cc#newcode1276 chrome/browser/chrome_content_browser_client.cc:1276: RendererContentSettingRules rules; can we keep this ...
lgtm from my side with comments addressed https://codereview.chromium.org/78303005/diff/210001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/78303005/diff/210001/chrome/browser/chrome_content_browser_client.cc#newcode947 chrome/browser/chrome_content_browser_client.cc:947: GuestView::GetDefaultContentSettingRules(&rules, false ...
Ok, I suppose we can expose swappedout:// until we get RenderFrameProxy in place. LGTM. https://codereview.chromium.org/78303005/diff/230001/chrome/browser/chrome_content_browser_client.cc ...
Issue 78303005: ContentSettings API should not interact with <webview>
(Closed)
Created 7 years, 1 month ago by Fady Samuel
Modified 7 years ago
Reviewers: battre, markusheintz_, jam, jochen (gone - plz use gerrit), Charlie Reis
Base URL: https://chromium.googlesource.com/chromium/src.git@master
Comments: 28