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

Issue 6873040: Move the content settings code out of RenderView, since it belongs in the Chrome layer. (Closed)

Created:
9 years, 8 months ago by jam
Modified:
9 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, Paweł Hajdan Jr., brettw-cc_chromium.org
Visibility:
Public.

Description

Move the content settings code out of RenderView, since it belongs in the Chrome layer. BUG=76793 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=81955

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 7

Patch Set 3 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+398 lines, -195 lines) Patch
M chrome/chrome_renderer.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 4 chunks +6 lines, -3 lines 0 comments Download
M chrome/renderer/chrome_render_process_observer.cc View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
A chrome/renderer/content_settings_observer.h View 1 chunk +74 lines, -0 lines 0 comments Download
A chrome/renderer/content_settings_observer.cc View 1 chunk +184 lines, -0 lines 2 comments Download
A chrome/renderer/content_settings_observer_browsertest.cc View 1 chunk +61 lines, -0 lines 0 comments Download
M content/renderer/render_view.h View 1 2 11 chunks +15 lines, -30 lines 0 comments Download
M content/renderer/render_view.cc View 1 2 10 chunks +28 lines, -110 lines 0 comments Download
M content/renderer/render_view_browsertest.cc View 1 2 1 chunk +0 lines, -50 lines 0 comments Download
M content/renderer/render_view_observer.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M content/renderer/render_view_observer.cc View 1 2 2 chunks +17 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
jam
9 years, 8 months ago (2011-04-18 01:44:48 UTC) #1
pastarmovj
On 2011/04/18 01:44:48, John Abd-El-Malek wrote: LGTM, just a few minor comments from me.
9 years, 8 months ago (2011-04-18 16:09:06 UTC) #2
pastarmovj
and the comments :) http://codereview.chromium.org/6873040/diff/6001/chrome/renderer/content_settings_observer.cc File chrome/renderer/content_settings_observer.cc (right): http://codereview.chromium.org/6873040/diff/6001/chrome/renderer/content_settings_observer.cc#newcode119 chrome/renderer/content_settings_observer.cc:119: if (WebView* opener_view = frame->opener()->view()) ...
9 years, 8 months ago (2011-04-18 16:09:23 UTC) #3
jam
http://codereview.chromium.org/6873040/diff/6001/chrome/renderer/content_settings_observer.cc File chrome/renderer/content_settings_observer.cc (right): http://codereview.chromium.org/6873040/diff/6001/chrome/renderer/content_settings_observer.cc#newcode119 chrome/renderer/content_settings_observer.cc:119: if (WebView* opener_view = frame->opener()->view()) { On 2011/04/18 16:09:23, ...
9 years, 8 months ago (2011-04-18 16:50:10 UTC) #4
Bernhard Bauer
http://codereview.chromium.org/6873040/diff/6001/chrome/renderer/content_settings_observer.cc File chrome/renderer/content_settings_observer.cc (right): http://codereview.chromium.org/6873040/diff/6001/chrome/renderer/content_settings_observer.cc#newcode119 chrome/renderer/content_settings_observer.cc:119: if (WebView* opener_view = frame->opener()->view()) { On 2011/04/18 16:50:10, ...
9 years, 8 months ago (2011-04-18 21:37:24 UTC) #5
jam
9 years, 8 months ago (2011-04-18 22:19:12 UTC) #6
http://codereview.chromium.org/6873040/diff/10001/chrome/renderer/content_set...
File chrome/renderer/content_settings_observer.cc (right):

http://codereview.chromium.org/6873040/diff/10001/chrome/renderer/content_set...
chrome/renderer/content_settings_observer.cc:178: CONTENT_SETTING_BLOCK;
On 2011/04/18 21:37:25, Bernhard Bauer wrote:
> Nit: Indent two more spaces.
> 
> (But as you've already committed it, and it's not worth a followup IMO, I'll
> just preserve this nit for eternity here ;-)

oops, I'll fix this in a followup, thanks

Powered by Google App Engine
This is Rietveld 408576698