cef/tests/cefsimple
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
..
mac macOS: Add the LSEnvironment variable MallocNanoZone=0 (see https://crbug.com/861939) 2018-07-25 14:23:54 -04:00
res Add the cefsimple sample application which demonstrates the minimal functionality required to create a browser window. 2013-11-26 22:02:14 +00:00
CMakeLists.txt.in macOS: Add support for building clients with ARC enabled (fixes issue #2623). 2019-04-23 17:17:56 +00:00
cefsimple.exe.manifest Add the cefsimple sample application which demonstrates the minimal functionality required to create a browser window. 2013-11-26 22:02:14 +00:00
cefsimple.rc Add the cefsimple sample application which demonstrates the minimal functionality required to create a browser window. 2013-11-26 22:02:14 +00:00
cefsimple_linux.cc Linux: Add support for ozone builds (fixes issue #2296). 2019-04-23 17:00:14 +00:00
cefsimple_mac.mm macOS: Add support for building clients with ARC enabled (fixes issue #2623). 2019-04-23 17:17:56 +00:00
cefsimple_win.cc macOS: Add support for and enable the V2 sandbox (issue #2459) 2018-07-27 22:33:31 -04:00
process_helper_mac.cc macOS: Add support for and enable the V2 sandbox (issue #2459) 2018-07-27 22:33:31 -04:00
resource.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
simple_app.cc Linux: Add support for ozone builds (fixes issue #2296). 2019-04-23 17:00:14 +00:00
simple_app.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
simple_handler.cc Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
simple_handler.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
simple_handler_linux.cc Linux: Add support for ozone builds (fixes issue #2296). 2019-04-23 17:00:14 +00:00
simple_handler_mac.mm macOS: Add support for building clients with ARC enabled (fixes issue #2623). 2019-04-23 17:17:56 +00:00
simple_handler_win.cc Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00