|
Remove AppsClient::GetLoadedBrowserContexts
Move GetAppWindowForNativeWindowAnyProfile(), IsAppWindowRegisteredInAnyProfile(), CloseAllAppWindows() from extensions::AppWindowRegistry to a new class AppWindowRegistryUtil.
These functions are only needed by chrome.
Also, putting these functions in chrome/browser/apps
allows them to get the loaded profiles directly from ProfileManager rather than
requiring the AppsClient::GetLoadedBrowserContexts delegate method.
BUG= 411352
TBR=sky@chromium.org for include fix & class rename under chrome/browser
Committed: https://crrev.com/c350c3cd2a6ae2fb9f9bca512f596fb8ef7ab79b
Cr-Commit-Position: refs/heads/master@{#296886}
Total comments: 1
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+150 lines, -169 lines) |
Patch |
 |
M |
athena/extensions/chrome/athena_chrome_app_window_client.h
|
View
|
1
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
athena/extensions/chrome/athena_chrome_app_window_client.cc
|
View
|
1
|
2 chunks |
+0 lines, -11 lines |
0 comments
|
Download
|
 |
M |
athena/extensions/shell/athena_shell_app_window_client.h
|
View
|
1
|
2 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
athena/extensions/shell/athena_shell_app_window_client.cc
|
View
|
1
|
1 chunk |
+1 line, -10 lines |
0 comments
|
Download
|
 |
M |
athena/extensions/shell/extensions_delegate_impl.cc
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/app_controller_mac.mm
|
View
|
1
2
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/apps/app_shim/app_shim_handler_mac.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/apps/app_window_registry_util.h
|
View
|
1
2
|
1 chunk |
+30 lines, -0 lines |
2 comments
|
Download
|
 |
A |
chrome/browser/apps/app_window_registry_util.cc
|
View
|
1
2
|
1 chunk |
+88 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/apps/apps_metro_handler_win.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/apps/chrome_app_window_client.h
|
View
|
1
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/apps/chrome_app_window_client.cc
|
View
|
1
|
2 chunks |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
|
View
|
1
2
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/apps/app_shim_menu_controller_mac.mm
|
View
|
1
2
|
5 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/apps/quit_with_apps_controller_mac.cc
|
View
|
1
2
|
4 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/apps/quit_with_apps_controller_mac_interactive_uitest.cc
|
View
|
1
2
|
6 chunks |
+9 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/select_file_dialog_extension.cc
|
View
|
1
2
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser_extensions.gypi
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/app_window/app_window_client.h
|
View
|
1
|
2 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/app_window/app_window_registry.h
|
View
|
|
1 chunk |
+0 lines, -12 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/app_window/app_window_registry.cc
|
View
|
1
|
2 chunks |
+0 lines, -71 lines |
0 comments
|
Download
|
 |
M |
extensions/shell/browser/shell_app_window_client.h
|
View
|
1
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
extensions/shell/browser/shell_app_window_client.cc
|
View
|
1
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
Total messages: 20 (5 generated)
|