cef/tools
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
..
automate Update to Chromium version 82.0.4085.0 (#749737) 2020-04-02 13:20:25 -04:00
cefbuilds Use explicit check for python version (see issue #2856) 2020-01-13 11:53:36 +01:00
distrib Mac: Remove unicode character in README.redistrib.txt (fixes issue #2910) 2020-04-02 13:44:27 -04:00
yapf Update tooling to use yapf for Python file formatting (issue #2171) 2017-05-28 15:03:42 +02:00
cef_api_hash.py Update cef_api_hash.h at build time if necessary (fixes issue #2922) 2020-04-30 17:52:10 -04:00
cef_parser.py Re-implement audio capturing based on the AudioService API (fixes issue #2755) 2020-05-01 18:18:18 +00:00
cef_version.py cef_version: Add Python 3 support (see issue #2856) 2020-01-09 17:16:39 +02:00
clang_util.py translator: Add Python 3 support (see issue #2856) 2020-01-09 22:22:15 +02:00
combine_libs.py make_distrib: Add Python 3 support (see issue #2856) 2020-01-12 13:45:46 +01:00
compile_ib_files.py build: Add Python 3 support (see issue #2856) 2020-01-13 11:47:33 +01:00
crash_server.py Fix inline documentation in crash_server.py 2020-02-17 13:19:09 -05:00
date_util.py translator: Add Python 3 support (see issue #2856) 2020-01-09 22:22:15 +02:00
exec_util.py patch_updater: Add Python 3 support (see issue #2856) 2020-01-09 17:08:24 +02:00
file_util.py Update cef_api_hash.h at build time if necessary (fixes issue #2922) 2020-04-30 17:52:10 -04:00
fix_style.bat Update to Chromium revision 9ef2aa86 (#550428) 2018-05-04 10:50:26 +02:00
fix_style.py fix_style: Add Python 3 support (see issue #2856) 2020-01-13 21:43:18 +01:00
fix_style.sh Update tooling to use clang-format (issue #2171) 2017-05-18 12:30:04 +02:00
gclient_hook.py Update cef_api_hash.h at build time if necessary (fixes issue #2922) 2020-04-30 17:52:10 -04:00
gclient_util.py gclient_hook: Add Python 3 support (see issue #2856) 2020-01-12 17:48:13 +02:00
git_util.py patcher: Add Python 3 support (see issue #2856) 2020-01-09 16:42:00 +02:00
gn_args.py Add support for direct DevTools protocol messaging (fixes issue #2961). 2020-06-19 22:15:22 -04:00
gypi_to_gn.py build: Add Python 3 support (see issue #2856) 2020-01-13 11:47:33 +01:00
issue_1999.py Use explicit check for python version (see issue #2856) 2020-01-13 11:53:36 +01:00
make_api_hash_header.py Update cef_api_hash.h at build time if necessary (fixes issue #2922) 2020-04-30 17:52:10 -04:00
make_capi_header.py translator: Add Python 3 support (see issue #2856) 2020-01-09 22:22:15 +02:00
make_cmake.py make_distrib: Add Python 3 support (see issue #2856) 2020-01-12 13:45:46 +01:00
make_config_header.py translator: Add Python 3 support (see issue #2856) 2020-01-09 22:22:15 +02:00
make_cppdocs.bat Update to Chromium revision 0bfd25d4 (#381305) 2016-03-17 13:01:21 -04:00
make_cpptoc_header.py translator: Add Python 3 support (see issue #2856) 2020-01-09 22:22:15 +02:00
make_cpptoc_impl.py tools: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:44 +01:00
make_ctocpp_header.py translator: Add Python 3 support (see issue #2856) 2020-01-09 22:22:15 +02:00
make_ctocpp_impl.py tools: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:44 +01:00
make_distrib.bat Update to Chromium revision 9ef2aa86 (#550428) 2018-05-04 10:50:26 +02:00
make_distrib.py Update cef_api_hash.h at build time if necessary (fixes issue #2922) 2020-04-30 17:52:10 -04:00
make_distrib.sh Branch CEF3 files from /branches/cef3 to /trunk/cef3 (issue #564). 2012-04-03 01:34:16 +00:00
make_gypi_file.py build: Add Python 3 support (see issue #2856) 2020-01-13 11:47:33 +01:00
make_libcef_dll_dylib_impl.py tools: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:44 +01:00
make_pack_header.py Update cef_api_hash.h at build time if necessary (fixes issue #2922) 2020-04-30 17:52:10 -04:00
make_version_header.bat Update cef_api_hash.h at build time if necessary (fixes issue #2922) 2020-04-30 17:52:10 -04:00
make_version_header.py Update cef_api_hash.h at build time if necessary (fixes issue #2922) 2020-04-30 17:52:10 -04:00
make_version_header.sh Update cef_api_hash.h at build time if necessary (fixes issue #2922) 2020-04-30 17:52:10 -04:00
make_views_stub_impl.py translator: Add Python 3 support (see issue #2856) 2020-01-09 22:22:15 +02:00
make_wrapper_types_header.py translator: Add Python 3 support (see issue #2856) 2020-01-09 22:22:15 +02:00
msvs_env.bat Windows: Add VS2019 path discovery to msvs_env.bat (fixes issue #2925) 2020-05-13 13:23:05 -04:00
patch.bat Update to Chromium revision 9ef2aa86 (#550428) 2018-05-04 10:50:26 +02:00
patch.sh Use git apply for applying patch files (issue #1825) 2017-04-27 13:53:32 -04:00
patch_updater.bat Update to Chromium version 68.0.3425.0 (#557062) 2018-05-21 13:54:23 +03:00
patch_updater.py patch_updater: Add Python 3 support (see issue #2856) 2020-01-09 17:08:24 +02:00
patch_updater.sh Update to Chromium version 68.0.3425.0 (#557062) 2018-05-21 13:54:23 +03:00
patcher.README.txt Use git apply for applying patch files (issue #1825) 2017-04-27 13:53:32 -04:00
patcher.py patcher: Add Python 3 support (see issue #2856) 2020-01-09 16:42:00 +02:00
translator.README.txt Use the platform API hash instead of build revision for checking libcef compatibility (issue #914). 2013-03-25 22:15:33 +00:00
translator.bat Update to Chromium revision 9ef2aa86 (#550428) 2018-05-04 10:50:26 +02:00
translator.py Update cef_api_hash.h at build time if necessary (fixes issue #2922) 2020-04-30 17:52:10 -04:00
translator.sh Update tooling to use clang-format (issue #2171) 2017-05-18 12:30:04 +02:00
yapf_util.py fix_style: Add Python 3 support (see issue #2856) 2020-01-13 21:43:18 +01:00