cef/libcef/browser
Jesper Papmehl-Dufay 019611c764 macOS: Add support for building clients with ARC enabled (fixes issue #2623).
Under ARC (Automatic Reference Counting), assigning to an Objective-C
pointer has different semantics than assigning to a void* pointer.
This makes it dangerous to treat the same memory address as an
Objective-C pointer in some cases and as a "regular C pointer" in
other cases.

This change removes the conditional type defines and instead uses
void* everywhere. Explicit type casting in combination with ARC
annotations makes it safe to get typed Objective-C pointers from the
void* pointers.

This change enables ARC by default in the CEF binary distribution CMake
configuration for the cefclient and cefsimple sample applications. It can be
disabled by adding `-DOPTION_USE_ARC=Off` to the CMake command line.

ARC is not supported when building Chromium due to the substantial
number of changes that would be required in the Chromium code base.
2019-04-23 17:17:56 +00:00
..
devtools Update to Chromium version 75.0.3749.0 (#645082) 2019-04-16 14:38:48 +00:00
extensions Remove Chromium patches that are no longer required (see issue #2622). 2019-03-24 16:45:07 -04:00
gpu Update to Chromium version 73.0.3665.0 (#620590) 2019-01-18 11:25:51 +01:00
native macOS: Add support for building clients with ARC enabled (fixes issue #2623). 2019-04-23 17:17:56 +00:00
net Update to Chromium version 75.0.3749.0 (#645082) 2019-04-16 14:38:48 +00:00
net_service Update to Chromium version 75.0.3749.0 (#645082) 2019-04-16 14:38:48 +00:00
osr Linux: Add support for ozone builds (fixes issue #2296). 2019-04-23 17:00:14 +00:00
plugins Move the frame/handler association to CefResourceContext (see issue #2622). 2019-03-24 16:45:07 -04:00
prefs Update to Chromium version 75.0.3749.0 (#645082) 2019-04-16 14:38:48 +00:00
printing Update to Chromium version 73.0.3683.0 (#625896) 2019-02-04 11:16:53 -05:00
views Linux: Add support for ozone builds (fixes issue #2296). 2019-04-23 17:00:14 +00:00
audio_mirror_destination.cc Add ability to capture audio output to buffer (issue #2381) 2019-03-07 17:09:54 -05:00
audio_mirror_destination.h Add ability to capture audio output to buffer (issue #2381) 2019-03-07 17:09:54 -05:00
audio_push_sink.cc Add ability to capture audio output to buffer (issue #2381) 2019-03-07 17:09:54 -05:00
audio_push_sink.h Add ability to capture audio output to buffer (issue #2381) 2019-03-07 17:09:54 -05:00
browser_context.cc Enforce cache_path requirements for NetworkService (see issue #2622). 2019-03-24 16:47:00 -04:00
browser_context.h Move the frame/handler association to CefResourceContext (see issue #2622). 2019-03-24 16:45:07 -04:00
browser_context_keyed_service_factories.cc Update to Chromium version 71.0.3578.0 (#599034) 2018-10-25 12:57:05 -04:00
browser_context_keyed_service_factories.h Initialize required KeyedServiceFactories when extensions are disabled (issue #2359) 2018-02-02 17:44:08 -05:00
browser_host_impl.cc Remove Chromium patches that are no longer required (see issue #2622). 2019-03-24 16:45:07 -04:00
browser_host_impl.h Move the frame/handler association to CefResourceContext (see issue #2622). 2019-03-24 16:45:07 -04:00
browser_info.cc Resolve request mapping issues with swapped out frames and browser-side navigation (issue #2290) 2017-10-26 15:58:57 -04:00
browser_info.h Update to Chromium version 74.0.3729.0 (#638880) 2019-03-13 21:27:37 +00:00
browser_info_manager.cc Update to Chromium revision 66afc5e5 (#540276) 2018-03-22 16:56:23 -04:00
browser_info_manager.h Update to Chromium version 75.0.3749.0 (#645082) 2019-04-16 14:38:48 +00:00
browser_main.cc Remove methods that modify cookie storage at runtime (see issue #2622). 2019-03-24 16:45:06 -04:00
browser_main.h Remove methods that modify cookie storage at runtime (see issue #2622). 2019-03-24 16:45:06 -04:00
browser_main_win.cc Update to Chromium revision 9ef2aa86 (#550428) 2018-05-04 10:50:26 +02:00
browser_message_filter.cc Resolve request mapping issues with swapped out frames and browser-side navigation (issue #2290) 2017-10-26 15:58:57 -04:00
browser_message_filter.h Resolve request mapping issues with swapped out frames and browser-side navigation (issue #2290) 2017-10-26 15:58:57 -04:00
browser_message_loop.cc Update to Chromium version 74.0.3729.0 (#638880) 2019-03-13 21:27:37 +00:00
browser_message_loop.h Update to Chromium version 74.0.3729.0 (#638880) 2019-03-13 21:27:37 +00:00
browser_platform_delegate.cc Add support for shared texture and external BeginFrame in OSR mode (issue #1006) 2018-09-26 13:10:49 +02:00
browser_platform_delegate.h Add multi-touch support for OSR (issue #1059) 2019-02-26 11:51:33 -05:00
browser_platform_delegate_create.cc Linux: Add OSR use_external_begin_frame support (see issue #1006) 2019-03-18 21:07:02 +00:00
browser_urlrequest_impl.cc Update to Chromium version 71.0.3567.0 (#595360) 2018-10-04 12:17:26 +03:00
browser_urlrequest_impl.h Add CefURLRequest::ResponseWasCached method (issue #2283) 2018-01-03 16:14:29 -05:00
browser_util.cc Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
browser_util.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
chrome_browser_process_stub.cc Add CookieManagerImpl for NetworkService (see issue #2622). 2019-03-25 15:35:59 -04:00
chrome_browser_process_stub.h Remove Chromium patches that are no longer required (see issue #2622). 2019-03-24 16:45:07 -04:00
chrome_crash_reporter_client_stub.cc Update to Chromium version 73.0.3665.0 (#620590) 2019-01-18 11:25:51 +01:00
chrome_profile_manager_stub.cc Remove methods that modify cookie storage at runtime (see issue #2622). 2019-03-24 16:45:06 -04:00
chrome_profile_manager_stub.h Add initial WebUI support (issue #2037) 2016-11-08 16:56:11 -08:00
chrome_profile_stub.cc Update to Chromium version 72.0.3626.0 (#612437) 2018-12-26 19:15:28 +02:00
chrome_profile_stub.h Update to Chromium version 71.0.3567.0 (#595360) 2018-10-04 12:17:26 +03:00
content_browser_client.cc Update to Chromium version 75.0.3749.0 (#645082) 2019-04-16 14:38:48 +00:00
content_browser_client.h Update to Chromium version 75.0.3749.0 (#645082) 2019-04-16 14:38:48 +00:00
context.cc Enforce cache_path requirements for NetworkService (see issue #2622). 2019-03-24 16:47:00 -04:00
context.h Enforce cache_path requirements for NetworkService (see issue #2622). 2019-03-24 16:47:00 -04:00
context_menu_params_impl.cc Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
context_menu_params_impl.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
download_item_impl.cc Update to Chromium revision 66afc5e5 (#540276) 2018-03-22 16:56:23 -04:00
download_item_impl.h Update to Chromium revision 66afc5e5 (#540276) 2018-03-22 16:56:23 -04:00
download_manager_delegate.cc Update to Chromium version 73.0.3665.0 (#620590) 2019-01-18 11:25:51 +01:00
download_manager_delegate.h Update to Chromium revision 66afc5e5 (#540276) 2018-03-22 16:56:23 -04:00
extension_impl.cc Add support for loading extensions (issue #1947) 2017-08-25 18:40:32 -04:00
extension_impl.h Update to Chromium version 74.0.3729.0 (#638880) 2019-03-13 21:27:37 +00:00
file_dialog_manager.cc Update to Chromium version 72.0.3615.0 (#609159) 2018-12-04 14:45:37 -05:00
file_dialog_manager.h Update to Chromium version 71.0.3578.0 (#599034) 2018-10-25 12:57:05 -04:00
file_dialog_runner.h Update to Chromium version 71.0.3567.0 (#595360) 2018-10-04 12:17:26 +03:00
frame_host_impl.cc Fix bugs and test failures with browser-side navigation (issue #2290) 2017-11-30 18:20:24 -05:00
frame_host_impl.h Fix bugs and test failures with browser-side navigation (issue #2290) 2017-11-30 18:20:24 -05:00
image_impl.cc Update to Chromium version 71.0.3578.0 (#599034) 2018-10-25 12:57:05 -04:00
image_impl.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
javascript_dialog_manager.cc Remove unnecessary DCHECK(!dialog_running_) on browser destruction (issue #2589) 2019-02-11 17:50:03 -05:00
javascript_dialog_manager.h Update to Chromium revision 66afc5e5 (#540276) 2018-03-22 16:56:23 -04:00
javascript_dialog_runner.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
media_capture_devices_dispatcher.cc Update to Chromium version 74.0.3729.0 (#638880) 2019-03-13 21:27:37 +00:00
media_capture_devices_dispatcher.h Update to Chromium version 73.0.3679.0 (#624510) 2019-02-01 16:42:40 +00:00
menu_manager.cc Update to Chromium version 74.0.3729.0 (#638880) 2019-03-13 21:27:37 +00:00
menu_manager.h Update to Chromium version 74.0.3729.0 (#638880) 2019-03-13 21:27:37 +00:00
menu_model_impl.cc Update to Chromium version 74.0.3706.0 (#632463) 2019-02-25 12:09:54 -05:00
menu_model_impl.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
menu_runner.h Update to Chromium revision 6e53600d (#386251) 2016-04-28 12:57:08 -04:00
navigate_params.cc Fix uninitialized member CefNavigateParams::load_flags (issue #2580) 2019-01-29 17:53:11 +00:00
navigate_params.h Update to Chromium revision fa6a5d87 (#499098) 2017-09-07 17:29:47 -04:00
navigation_entry_impl.cc Update to Chromium version 73.0.3679.0 (#624510) 2019-02-01 16:42:40 +00:00
navigation_entry_impl.h Add API for SSL status and certificate retrieval (issue #1924) 2016-09-02 13:01:33 +03:00
origin_whitelist_impl.cc Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
origin_whitelist_impl.h Support cross-origin XMLHttpRequest loads and redirects for custom standard schemes when enabled via the cross-origin whitelist (issue #950). 2013-04-18 17:58:23 +00:00
path_util_impl.cc Update to Chromium version 68.0.3399.0 (#551554) 2018-05-16 11:23:34 +03:00
print_settings_impl.cc Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
print_settings_impl.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
process_util_impl.cc Update to Chromium revision 9ef2aa86 (#550428) 2018-05-04 10:50:26 +02:00
request_context_impl.cc Update to Chromium version 75.0.3749.0 (#645082) 2019-04-16 14:38:48 +00:00
request_context_impl.h Move the frame/handler association to CefResourceContext (see issue #2622). 2019-03-24 16:45:07 -04:00
resource_context.cc Move the frame/handler association to CefResourceContext (see issue #2622). 2019-03-24 16:45:07 -04:00
resource_context.h Move the frame/handler association to CefResourceContext (see issue #2622). 2019-03-24 16:45:07 -04:00
resource_dispatcher_host_delegate.cc Update to Chromium version 74.0.3729.0 (#638880) 2019-03-13 21:27:37 +00:00
resource_dispatcher_host_delegate.h Update to Chromium revision 9ef2aa86 (#550428) 2018-05-04 10:50:26 +02:00
scheme_impl.cc Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
server_impl.cc Update to Chromium version 75.0.3749.0 (#645082) 2019-04-16 14:38:48 +00:00
server_impl.h Update to Chromium version 75.0.3749.0 (#645082) 2019-04-16 14:38:48 +00:00
speech_recognition_manager_delegate.cc Update to Chromium version 71.0.3567.0 (#595360) 2018-10-04 12:17:26 +03:00
speech_recognition_manager_delegate.h Update to Chromium version 69.0.3464.0 (#567918) 2018-06-19 15:49:32 -04:00
ssl_host_state_delegate.cc Update to Chromium version 69.0.3464.0 (#567918) 2018-06-19 15:49:32 -04:00
ssl_host_state_delegate.h Update to Chromium version 69.0.3464.0 (#567918) 2018-06-19 15:49:32 -04:00
ssl_info_impl.cc Add callback for custom certificate selection (issue #1824) 2016-10-27 14:04:48 -04:00
ssl_info_impl.h Add API for SSL status and certificate retrieval (issue #1924) 2016-09-02 13:01:33 +03:00
ssl_status_impl.cc Add callback for custom certificate selection (issue #1824) 2016-10-27 14:04:48 -04:00
ssl_status_impl.h Update to Chromium revision 9cedf753 (#418732) 2016-10-20 16:54:25 -04:00
stream_impl.cc Move matching h file to top of header list (issue #2171) 2017-05-19 11:11:18 +02:00
stream_impl.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
thread_util.h Update to Chromium version 74.0.3729.0 (#638880) 2019-03-13 21:27:37 +00:00
trace_impl.cc Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
trace_subscriber.cc Update to Chromium version 71.0.3567.0 (#595360) 2018-10-04 12:17:26 +03:00
trace_subscriber.h Update to Chromium revision 2b3ae3b8 (#394939) 2016-05-25 08:10:01 -07:00
web_plugin_impl.cc Update to Chromium version 71.0.3567.0 (#595360) 2018-10-04 12:17:26 +03:00
web_plugin_impl.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
x509_cert_principal_impl.cc Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
x509_cert_principal_impl.h Add API for SSL status and certificate retrieval (issue #1924) 2016-09-02 13:01:33 +03:00
x509_certificate_impl.cc Update to Chromium revision bc084a8b (#530369) 2018-02-19 17:38:04 -05:00
x509_certificate_impl.h Update to Chromium revision ff259bab (#488528) 2017-07-28 18:30:34 -04:00
xml_reader_impl.cc Move matching h file to top of header list (issue #2171) 2017-05-19 11:11:18 +02:00
xml_reader_impl.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
zip_reader_impl.cc Move matching h file to top of header list (issue #2171) 2017-05-19 11:11:18 +02:00
zip_reader_impl.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00