|
GuestView: Move GuestViewManager extension dependencies to ExtensionsGuestViewManagerDelegate
The CL does the following:
1. Replace GuestViewManager::FromBrowserContext with GuestViewManager::CreateWithDelegate.
2. Rename GuestViewManager::FromBrowserContextIfAvailable to GuestViewManager::FromBrowserContxt.
3. Creates a GuestViewManagerDelegate interface and ExtensionsGuestViewManagerDelegate.
4. GuestViewManager is created with a particular delegate implementation.
5. GuestView permission checks and registration is moved to the ExtensionsGuestViewDelegate.
6. owner_extension_id() is renamed to owner_host().
After this patch the following classes can be moved to Components (once GuestViewEvent is decoupled from EventRouter):
1. GuestViewManager
2. GuestViewManagerDelegate
3. GuestViewBase
4. GuestViewMessageFilter
5. GuestView
BUG= 444869
TBR=noms@chromium.org for chrome/browser/profiles, nkostylev@chromium.org chrome/browser/chromeos/login, thestig@chromium.org for chrome/browser/printing.
Committed: https://crrev.com/9a3c81efb05232657d8df6a11db2ef8f8f64fd7f
Cr-Commit-Position: refs/heads/master@{#326774}
Total comments: 18
Total comments: 10
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+471 lines, -402 lines) |
Patch |
 |
M |
chrome/browser/apps/guest_view/app_view_browsertest.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -66 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/apps/guest_view/extension_view/extension_view_browsertest.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+20 lines, -61 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/apps/guest_view/web_view_browsertest.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+18 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc
|
View
|
1
2
3
4
5
6
7
8
|
6 chunks |
+22 lines, -89 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/login/helper.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/print_view_manager_common.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/off_the_record_profile_impl.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_impl.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/signin/signin_header_helper.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/tab_contents/core_tab_helper.cc
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/signin/inline_login_ui.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/base/testing_profile.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
extensions/browser/api/guest_view/guest_view_internal_api.cc
|
View
|
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/guest_view/app_view/app_view_guest.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
extensions/browser/guest_view/extensions_guest_view_manager_delegate.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
 |
A |
extensions/browser/guest_view/extensions_guest_view_manager_delegate.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+93 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/guest_view/extensions_guest_view_message_filter.cc
|
View
|
1
|
5 chunks |
+10 lines, -5 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/guest_view/guest_view_base.h
|
View
|
1
2
3
|
3 chunks |
+5 lines, -9 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/guest_view/guest_view_base.cc
|
View
|
1
2
3
4
5
6
|
9 chunks |
+14 lines, -10 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/guest_view/guest_view_event.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/guest_view/guest_view_event.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -14 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/guest_view/guest_view_manager.h
|
View
|
1
2
3
4
5
6
7
8
|
6 chunks |
+24 lines, -7 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/guest_view/guest_view_manager.cc
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+31 lines, -50 lines |
0 comments
|
Download
|
 |
A |
extensions/browser/guest_view/guest_view_manager_delegate.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+53 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/guest_view/guest_view_manager_factory.h
|
View
|
1
2
3
4
5
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
extensions/browser/guest_view/guest_view_manager_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+14 lines, -31 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/guest_view/guest_view_message_filter.cc
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/guest_view/surface_worker/surface_worker_guest.cc
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/guest_view/test_guest_view_manager.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+26 lines, -5 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/guest_view/test_guest_view_manager.cc
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+26 lines, -15 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/guest_view/web_view/web_view_apitest.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+15 lines, -3 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/guest_view/web_view/web_view_guest.cc
|
View
|
1
2
3
4
5
7
8
9
|
6 chunks |
+11 lines, -7 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/guest_view/web_view/web_view_renderer_state.h
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/guest_view/web_view/web_view_renderer_state.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
extensions/extensions.gypi
|
View
|
1
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/shell/browser/shell_browser_context.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 38 (14 generated)
|