cef/tests/shared/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
..
client_app_browser.cc cefclient: Add support for shared texture and external BeginFrame in OSR mode (issue #1006) 2018-09-27 10:32:05 +02:00
client_app_browser.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
extension_util.cc Update to Chromium version 73.0.3679.0 (#624510) 2019-02-01 16:42:40 +00:00
extension_util.h Add support for loading extensions (issue #1947) 2017-08-25 18:40:32 -04:00
file_util.cc Add support for loading extensions (issue #1947) 2017-08-25 18:40:32 -04:00
file_util.h Add support for loading extensions (issue #1947) 2017-08-25 18:40:32 -04:00
geometry_util.cc Windows: Fix per-monitor DPI scaling of top-level browser windows and placement of context menus (issue #2313) 2018-02-21 16:58:54 -05:00
geometry_util.h Windows: Fix per-monitor DPI scaling of top-level browser windows and placement of context menus (issue #2313) 2018-02-21 16:58:54 -05:00
main_message_loop.cc Add unittests target to the binary distribution (issue #1632) 2016-11-18 03:19:17 -05:00
main_message_loop.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
main_message_loop_external_pump.cc Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
main_message_loop_external_pump.h Rename unittests to ceftests (issue #1632) 2016-11-18 12:44:46 -05:00
main_message_loop_external_pump_linux.cc Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
main_message_loop_external_pump_mac.mm macOS: Add support for building clients with ARC enabled (fixes issue #2623). 2019-04-23 17:17:56 +00:00
main_message_loop_external_pump_win.cc Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
main_message_loop_std.cc Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
main_message_loop_std.h Add unittests target to the binary distribution (issue #1632) 2016-11-18 03:19:17 -05:00
resource_util.h Add support for loading extensions (issue #1947) 2017-08-25 18:40:32 -04:00
resource_util_linux.cc Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
resource_util_mac.mm macOS: Allow configuration of framework path (issue #1532) 2017-01-26 19:14:56 -05:00
resource_util_posix.cc Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
resource_util_win.cc Add support for loading extensions (issue #1947) 2017-08-25 18:40:32 -04:00
util_win.cc cefclient: Add support for shared texture and external BeginFrame in OSR mode (issue #1006) 2018-09-27 10:32:05 +02:00
util_win.h cefclient: Add support for shared texture and external BeginFrame in OSR mode (issue #1006) 2018-09-27 10:32:05 +02:00