Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Issue 104833006: Switch ContentSettingsObserver to be a RenderFrameObserver instead of a RenderViewObserver (Closed)

Created:
7 years ago by jam
Modified:
7 years ago
Reviewers:
boliu, nasko
CC:
chromium-reviews, davidben+watch_chromium.org, Avi (use Gerrit), creis+watch_chromium.org, tburkard+watch_chromium.org, jam, cbentzel+watch_chromium.org, joi+watch-content_chromium.org, gavinp+prer_chromium.org, dominich+watch_chromium.org, darin-cc_chromium.org, ajwong+watch_chromium.org, stuartmorgan+watch_chromium.org, markusheintz_, android-webview-reviews_chromium.org, miu+watch_chromium.org, site-isolation-reviews_chromium.org
Visibility:
Public.

Description

Switch ContentSettingsObserver to be a RenderFrameObserver instead of a RenderViewObserver BUG=304341 [email protected], [email protected] Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=241306

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : sync, add missing files, and include blink roll #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 14

Patch Set 7 : review comments and remove deps #

Patch Set 8 : remove usage of WebView::setPermissionClient #

Patch Set 9 : sync to head #

Patch Set 10 : fix accessibility content_browsertests #

Patch Set 11 : sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+567 lines, -291 lines) Patch
M android_webview/android_webview.gyp View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M android_webview/renderer/aw_content_renderer_client.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/renderer/aw_content_renderer_client.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -0 lines 0 comments Download
A android_webview/renderer/aw_permission_client.h View 1 2 1 chunk +42 lines, -0 lines 0 comments Download
A android_webview/renderer/aw_permission_client.cc View 1 2 3 4 1 chunk +53 lines, -0 lines 0 comments Download
M android_webview/renderer/aw_render_view_ext.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +1 line, -15 lines 0 comments Download
M android_webview/renderer/aw_render_view_ext.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +0 lines, -26 lines 0 comments Download
M chrome/browser/content_settings/content_settings_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +11 lines, -21 lines 0 comments Download
M chrome/browser/content_settings/tab_specific_content_settings.h View 1 2 3 4 5 6 7 8 9 10 6 chunks +10 lines, -6 lines 0 comments Download
M chrome/browser/content_settings/tab_specific_content_settings.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +56 lines, -16 lines 0 comments Download
M chrome/browser/guestview/webview/plugin_permission_helper.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -4 lines 0 comments Download
M chrome/browser/infobars/insecure_content_infobar_delegate.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/plugins/chrome_plugin_service_filter.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +11 lines, -2 lines 0 comments Download
M chrome/browser/plugins/chrome_plugin_service_filter.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +23 lines, -2 lines 0 comments Download
M chrome/browser/plugins/plugin_infobar_delegates.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/plugins/plugin_observer.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/plugins/plugin_observer.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/prerender/prerender_contents.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +0 lines, -6 lines 0 comments Download
M chrome/browser/prerender/prerender_contents.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +3 lines, -10 lines 0 comments Download
M chrome/browser/renderer_host/chrome_render_message_filter.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/renderer_host/chrome_render_message_filter.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/tab_contents/render_view_context_menu.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/content_settings/content_setting_bubble_model.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -5 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 3 4 5 6 7 8 9 10 8 chunks +17 lines, -15 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +11 lines, -10 lines 0 comments Download
M chrome/renderer/content_settings_observer.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +10 lines, -7 lines 0 comments Download
M chrome/renderer/content_settings_observer.cc View 1 2 3 4 5 6 7 8 9 10 11 chunks +21 lines, -13 lines 0 comments Download
M chrome/renderer/content_settings_observer_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 14 chunks +25 lines, -20 lines 0 comments Download
M chrome/renderer/content_settings_observer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/plugins/chrome_plugin_placeholder.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/renderer/plugins/chrome_plugin_placeholder.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +13 lines, -39 lines 0 comments Download
M chrome/renderer/worker_permission_client_proxy.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/renderer/worker_permission_client_proxy.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/frame_host/interstitial_page_impl.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/frame_host/interstitial_page_impl.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +10 lines, -2 lines 0 comments Download
M content/browser/frame_host/navigation_controller_delegate.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_frame_host_delegate.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_delegate.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +1 line, -1 line 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +12 lines, -6 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +10 lines, -4 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 7 8 9 10 7 chunks +40 lines, -10 lines 0 comments Download
M content/content_shell.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/browser/render_frame_host.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +8 lines, -0 lines 0 comments Download
M content/public/browser/web_contents.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +10 lines, -0 lines 0 comments Download
M content/public/browser/web_contents_observer.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -4 lines 0 comments Download
M content/public/renderer/content_renderer_client.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M content/public/renderer/content_renderer_client.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M content/public/renderer/render_frame_observer.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +15 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +12 lines, -1 line 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/renderer/shell_content_renderer_client.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/renderer/shell_content_renderer_client.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +5 lines, -3 lines 0 comments Download
A content/shell/renderer/shell_render_frame_observer.h View 1 2 3 4 5 6 7 1 chunk +31 lines, -0 lines 0 comments Download
A content/shell/renderer/shell_render_frame_observer.cc View 1 2 3 4 5 6 7 8 9 1 chunk +28 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
jam
7 years ago (2013-12-14 02:29:37 UTC) #1
mkosiba (inactive)
https://codereview.chromium.org/104833006/diff/20001/android_webview/android_webview.gyp File android_webview/android_webview.gyp (right): https://codereview.chromium.org/104833006/diff/20001/android_webview/android_webview.gyp#newcode214 android_webview/android_webview.gyp:214: 'renderer/aw_permission_client.h', I think you forgot to add these to ...
7 years ago (2013-12-16 10:18:00 UTC) #2
jam
https://codereview.chromium.org/104833006/diff/20001/android_webview/android_webview.gyp File android_webview/android_webview.gyp (right): https://codereview.chromium.org/104833006/diff/20001/android_webview/android_webview.gyp#newcode214 android_webview/android_webview.gyp:214: 'renderer/aw_permission_client.h', On 2013/12/16 10:18:01, mkosiba wrote: > I think ...
7 years ago (2013-12-16 18:52:30 UTC) #3
nasko
Just a few nits and some comments. https://codereview.chromium.org/104833006/diff/130001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/104833006/diff/130001/chrome/renderer/chrome_content_renderer_client.cc#newcode543 chrome/renderer/chrome_content_renderer_client.cc:543: // TODO(jam): ...
7 years ago (2013-12-16 19:47:36 UTC) #4
jam
https://codereview.chromium.org/104833006/diff/130001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/104833006/diff/130001/chrome/renderer/chrome_content_renderer_client.cc#newcode543 chrome/renderer/chrome_content_renderer_client.cc:543: // TODO(jam): switch ContentSettingsObserver to RenderFrameObserver. On 2013/12/16 19:47:37, ...
7 years ago (2013-12-16 20:26:47 UTC) #5
nasko
LGTM
7 years ago (2013-12-16 21:08:56 UTC) #6
jam
+boliu for android_webview
7 years ago (2013-12-16 23:52:35 UTC) #7
boliu
7 years ago (2013-12-17 00:18:16 UTC) #8
aw lgtm

Powered by Google App Engine
This is Rietveld 408576698