cef/libcef_dll
Marshall Greenblatt 39aed35644 Add support for direct DevTools protocol messaging (fixes issue #2961).
This change allows the client to directly send and receive DevTools
protocol messages (send method calls, and receive method results and
events) without requiring a DevTools front-end or remote-debugging
session.

This change includes additional supporting changes:
- Add a new CefRequestHandler::OnDocumentAvailableInMainFrame
  callback (see issue #1454).
- Add a CefParseJSON variant that accepts a UTF8-encoded buffer.
- Add a `--devtools-protocol-log-file=<path>` command-line flag for
  logging protocol messages sent to/from the DevTools front-end
  while it is displayed. This is useful for understanding existing
  DevTools protocol usage.
- Add a new "libcef_static_unittests" executable target to support
  light-weight unit tests of libcef_static internals (e.g. without
  requiring exposure via the CEF API). Files to be unittested are
  placed in the new "libcef_static_unittested" source_set which is
  then included by both the existing libcef_static library and the
  new unittests executable target.
- Linux: Remove use_bundled_fontconfig=false, which is no longer
  required and causes unittest build errors (see issue #2424).

This change also adds a cefclient demo for configuring offline mode
using the DevTools protocol (fixes issue #245). This is controlled
by the "Offline mode" context menu option and the `--offline`
command-line switch which will launch cefclient in offline mode. When
cefclient is offline all network requests will fail with
ERR_INTERNET_DISCONNECTED and navigator.onLine will return false when
called from JavaScript in any frame. This mode is per-browser so
newly created browser windows will have the default mode. Note that
configuring offline mode in this way will not update the Network tab
UI ("Throtting" option) in a displayed DevTools front-end instance.
2020-06-19 22:15:22 -04:00
..
base Check for non-empty string before writing to logger (fixes issue #2825) 2019-12-31 15:48:21 +00:00
cpptoc Add support for direct DevTools protocol messaging (fixes issue #2961). 2020-06-19 22:15:22 -04:00
ctocpp Add support for direct DevTools protocol messaging (fixes issue #2961). 2020-06-19 22:15:22 -04:00
sandbox Windows: Update cef_sandbox mitigations to match Chromium 2020-03-04 19:31:55 -05:00
wrapper Add support for direct DevTools protocol messaging (fixes issue #2961). 2020-06-19 22:15:22 -04:00
CMakeLists.txt.in Update cef_api_hash.h at build time if necessary (fixes issue #2922) 2020-04-30 17:52:10 -04:00
libcef.dll.manifest Update to Chromium revision 217791. 2013-08-15 19:38:55 +00:00
libcef.lst Linux: Add version script to restrict exported symbols (issue #1765) 2016-06-06 12:31:24 -04:00
libcef_dll.cc Add support for direct DevTools protocol messaging (fixes issue #2961). 2020-06-19 22:15:22 -04:00
libcef_dll.rc Compute all version numbers using cef_version.py (see issue #2596) 2019-03-15 13:16:43 -04:00
libcef_dll2.cc Compute all version numbers using cef_version.py (see issue #2596) 2019-03-15 13:16:43 -04:00
ptr_util.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
resource.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
shutdown_checker.cc Implement new approach for debugging leaked wrapper object references (issue #2593) 2019-02-14 17:08:43 -05:00
shutdown_checker.h Implement new approach for debugging leaked wrapper object references (issue #2593) 2019-02-14 17:08:43 -05:00
transfer_util.cc Implement new approach for debugging leaked wrapper object references (issue #2593) 2019-02-14 17:08:43 -05:00
transfer_util.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
views_stub.cc Update to Chromium version 80.0.3987.0 (#722274) 2020-02-17 13:19:09 -05:00
wrapper_types.h Add support for direct DevTools protocol messaging (fixes issue #2961). 2020-06-19 22:15:22 -04:00