|
Mac: Give app_shim code a nicer home
App Shims are small .app bundles for Mac, which run in their own
process to provide packaged apps with an OSX Dock icon, using IPC to
communicate with the browser process.
Most of the app_shim code currently lives in src/apps/app_shim, but app
shims are very much a browser feature, so it doesn't belong there. It's
causing DEPS problems for athena efforts.
This CL moves most of apps/app_shim to chrome/browser/apps/app_shim
(c/b/apps didn't exist until a few months after src/apps/app_shim).
The shim itself (i.e. chrome_main_app_mode_mac.mm) doesn't run in the
browser process - it has its own, shim process. Those parts are moved to
a new folder: src/chrome/app_shim, consolidating files currently spread
across src/apps/app_shim and src/chrome/app.
app_shim_launch.h and app_shim_messages.h are used in both the shim
process and the browser process. They're moved to chrome/common/mac.
Summary of changes:
{apps => chrome/browser/apps}/app_shim/*
except
{apps => chrome}/app_shim/chrome_main_app_mode_mac.mm
{apps/app_shim => chrome/common/mac}/app_shim_launch.h
{apps/app_shim => chrome/common/mac}/app_shim_messages.h
app_shim.gypi renamed to browser_app_shim.gypi
chrome/app_shim/app_shim.gypi added
and
chrome/{app => app_shim}/app_mode-Info.plist
chrome/{app => app_shim}/app_mode_loader_mac.mm
- apps/app_shim/DEPS now just generated_resources.h
- 'app_mode_app' target moved from chrome.gyp to app_shim.gypi
BUG= 266705
Committed: https://crrev.com/63829f711468110d04c7464acf92c3e7ab3c13d7
Cr-Commit-Position: refs/heads/master@{#296576}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+168 lines, -4278 lines) |
Patch |
 |
D |
apps/app_shim/DEPS
|
View
|
|
1 chunk |
+0 lines, -19 lines |
0 comments
|
Download
|
 |
D |
apps/app_shim/OWNERS
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
D |
apps/app_shim/app_shim.gypi
|
View
|
|
1 chunk |
+0 lines, -36 lines |
0 comments
|
Download
|
 |
D |
apps/app_shim/app_shim_handler_mac.h
|
View
|
|
1 chunk |
+0 lines, -96 lines |
0 comments
|
Download
|
 |
D |
apps/app_shim/app_shim_handler_mac.cc
|
View
|
|
1 chunk |
+0 lines, -156 lines |
0 comments
|
Download
|
 |
D |
apps/app_shim/app_shim_host_mac.h
|
View
|
|
1 chunk |
+0 lines, -86 lines |
0 comments
|
Download
|
 |
D |
apps/app_shim/app_shim_host_mac.cc
|
View
|
|
1 chunk |
+0 lines, -130 lines |
0 comments
|
Download
|
 |
D |
apps/app_shim/app_shim_host_mac_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -175 lines |
0 comments
|
Download
|
 |
D |
apps/app_shim/app_shim_host_manager_browsertest_mac.mm
|
View
|
|
1 chunk |
+0 lines, -287 lines |
0 comments
|
Download
|
 |
D |
apps/app_shim/app_shim_host_manager_mac.h
|
View
|
|
1 chunk |
+0 lines, -73 lines |
0 comments
|
Download
|
 |
D |
apps/app_shim/app_shim_host_manager_mac.mm
|
View
|
|
1 chunk |
+0 lines, -168 lines |
0 comments
|
Download
|
 |
D |
apps/app_shim/app_shim_interactive_uitest_mac.mm
|
View
|
|
1 chunk |
+0 lines, -399 lines |
0 comments
|
Download
|
 |
D |
apps/app_shim/app_shim_launch.h
|
View
|
|
1 chunk |
+0 lines, -57 lines |
0 comments
|
Download
|
 |
D |
apps/app_shim/app_shim_messages.h
|
View
|
|
1 chunk |
+0 lines, -71 lines |
0 comments
|
Download
|
 |
D |
apps/app_shim/app_shim_quit_interactive_uitest_mac.mm
|
View
|
|
1 chunk |
+0 lines, -132 lines |
0 comments
|
Download
|
 |
D |
apps/app_shim/chrome_main_app_mode_mac.mm
|
View
|
|
1 chunk |
+0 lines, -693 lines |
0 comments
|
Download
|
 |
D |
apps/app_shim/extension_app_shim_handler_mac.h
|
View
|
|
1 chunk |
+0 lines, -159 lines |
0 comments
|
Download
|
 |
D |
apps/app_shim/extension_app_shim_handler_mac.cc
|
View
|
|
1 chunk |
+0 lines, -557 lines |
0 comments
|
Download
|
 |
D |
apps/app_shim/extension_app_shim_handler_mac_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -396 lines |
0 comments
|
Download
|
 |
D |
apps/app_shim/test/app_shim_host_manager_test_api_mac.h
|
View
|
|
1 chunk |
+0 lines, -38 lines |
0 comments
|
Download
|
 |
D |
apps/app_shim/test/app_shim_host_manager_test_api_mac.cc
|
View
|
|
1 chunk |
+0 lines, -26 lines |
0 comments
|
Download
|
 |
D |
apps/app_shim/unix_domain_socket_acceptor.h
|
View
|
|
1 chunk |
+0 lines, -57 lines |
0 comments
|
Download
|
 |
D |
apps/app_shim/unix_domain_socket_acceptor.cc
|
View
|
|
1 chunk |
+0 lines, -90 lines |
0 comments
|
Download
|
 |
D |
chrome/app/app_mode-Info.plist
|
View
|
|
1 chunk |
+0 lines, -34 lines |
0 comments
|
Download
|
 |
D |
chrome/app/app_mode_loader_mac.mm
|
View
|
|
1 chunk |
+0 lines, -206 lines |
0 comments
|
Download
|
 |
A |
chrome/app_shim/DEPS
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/app_shim/OWNERS
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
chrome/app_shim/app_mode-Info.plist
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
chrome/app_shim/app_mode_loader_mac.mm
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A |
chrome/app_shim/app_shim.gypi
|
View
|
|
1 chunk |
+82 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
chrome/app_shim/chrome_main_app_mode_mac.mm
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/BUILD.gn
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/app_controller_mac.mm
|
View
|
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
chrome/browser/apps/app_shim/OWNERS
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/apps/app_shim/app_shim_handler_mac.h
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/apps/app_shim/app_shim_handler_mac.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A + |
chrome/browser/apps/app_shim/app_shim_host_mac.h
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/apps/app_shim/app_shim_host_mac.cc
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/apps/app_shim/app_shim_host_mac_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/apps/app_shim/app_shim_host_manager_browsertest_mac.mm
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/apps/app_shim/app_shim_host_manager_mac.h
|
View
|
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/apps/app_shim/app_shim_host_manager_mac.mm
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/apps/app_shim/app_shim_interactive_uitest_mac.mm
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/apps/app_shim/app_shim_quit_interactive_uitest_mac.mm
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/apps/app_shim/browser_app_shim.gypi
|
View
|
|
2 chunks |
+5 lines, -10 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/apps/app_shim/extension_app_shim_handler_mac.h
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/apps/app_shim/extension_app_shim_handler_mac.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/apps/app_shim/extension_app_shim_handler_mac_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/apps/app_shim/test/app_shim_host_manager_test_api_mac.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/apps/app_shim/test/app_shim_host_manager_test_api_mac.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/apps/app_shim/unix_domain_socket_acceptor.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/apps/app_shim/unix_domain_socket_acceptor.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/browser_process_platform_part_mac.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chrome_browser_main_mac.mm
|
View
|
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/app_list/app_list_service_mac.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/app_list/app_list_service_mac_interactive_uitest.mm
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/apps/app_shim_menu_controller_mac.mm
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/apps/native_app_window_cocoa.mm
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/chrome.gyp
|
View
|
1
|
2 chunks |
+2 lines, -55 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_common.gypi
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests.gypi
|
View
|
|
4 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests_unit.gypi
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/common/DEPS
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/common_message_generator.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A + |
chrome/common/mac/app_shim_launch.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
A + |
chrome/common/mac/app_shim_messages.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 16 (5 generated)
|