cef/libcef/common
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
..
extensions Update to Chromium version 77.0.3865.0 (#681094) 2019-09-04 15:13:32 +00:00
net libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
net_service Update to Chromium version 84.0.4147.0 (#768962) 2020-06-10 15:26:29 -04:00
service_manifests Update to Chromium version 80.0.3987.0 (#722274) 2020-02-17 13:19:09 -05:00
test Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
base_impl.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
cef_crash_report_upload_thread.cc Update to Chromium revision 9ef2aa86 (#550428) 2018-05-04 10:50:26 +02:00
cef_crash_report_upload_thread.h Update to Chromium revision bc084a8b (#530369) 2018-02-19 17:38:04 -05:00
cef_crash_report_utils.cc Update to Chromium revision bc084a8b (#530369) 2018-02-19 17:38:04 -05:00
cef_crash_report_utils.h Update to Chromium revision bc084a8b (#530369) 2018-02-19 17:38:04 -05:00
cef_message_generator.cc Update to Chromium version 72.0.3626.0 (#612437) 2018-12-26 19:15:28 +02:00
cef_message_generator.h Depend directly on chrome targets and unfork code (issue #1947) 2016-07-15 21:17:44 -04:00
cef_messages.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
cef_messages.h Update to Chromium version 81.0.4044.0 (#737173) 2020-03-04 19:31:54 -05:00
cef_switches.cc Add support for direct DevTools protocol messaging (fixes issue #2961). 2020-06-19 22:15:22 -04:00
cef_switches.h Add support for direct DevTools protocol messaging (fixes issue #2961). 2020-06-19 22:15:22 -04:00
command_line_impl.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
command_line_impl.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
content_client.cc Fix registration of WebSafe schemes (fixes issue #2929) 2020-05-11 18:11:53 -04:00
content_client.h Update to Chromium version 78.0.3904.0 (#693954) 2019-10-01 13:55:16 +00:00
crash_reporter_client.cc Update to Chromium version 84.0.4147.0 (#768962) 2020-06-10 15:26:29 -04:00
crash_reporter_client.h Update to Chromium version 84.0.4147.0 (#768962) 2020-06-10 15:26:29 -04:00
crash_reporting.cc Update to Chromium version 84.0.4147.0 (#768962) 2020-06-10 15:26:29 -04:00
crash_reporting.h Update to Chromium revision bc084a8b (#530369) 2018-02-19 17:38:04 -05:00
drag_data_impl.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
drag_data_impl.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
file_util_impl.cc Add CefScopedTempDir and file utility functions for unit tests (issue #1632) 2016-11-15 13:47:44 -05:00
frame_util.cc Move message routing from CefBrowser to CefFrame (see issue #2498). 2019-05-29 17:44:56 +03:00
frame_util.h Move message routing from CefBrowser to CefFrame (see issue #2498). 2019-05-29 17:44:56 +03:00
json_impl.cc Add support for direct DevTools protocol messaging (fixes issue #2961). 2020-06-19 22:15:22 -04:00
main_delegate.cc Add SameSite (same_site) and Priority attributes to CefCookie (fixes issue #2524) 2020-04-24 17:48:26 -04:00
main_delegate.h Update to Chromium version 78.0.3904.0 (#693954) 2019-10-01 13:55:16 +00:00
parser_impl.cc Support fragment (hash) component in CefParseURL (fixes issue #2896) 2020-03-06 17:40:28 +00:00
process_message_impl.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
process_message_impl.h Update to Chromium revision 40af916d (#303546). 2014-11-12 19:25:15 +00:00
request_impl.cc Update to Chromium version 82.0.4085.0 (#749737) 2020-04-02 13:20:25 -04:00
request_impl.h Update to Chromium version 82.0.4085.0 (#749737) 2020-04-02 13:20:25 -04:00
resource_bundle_delegate.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
resource_bundle_delegate.h Update to Chromium version 77.0.3865.0 (#681094) 2019-09-04 15:13:32 +00:00
resource_bundle_impl.cc Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
resource_bundle_impl.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
response_impl.cc Update to Chromium version 81.0.4044.0 (#737173) 2020-03-04 19:31:54 -05:00
response_impl.h Update to Chromium version 81.0.4044.0 (#737173) 2020-03-04 19:31:54 -05:00
response_manager.cc Update to Chromium version 72.0.3615.0 (#609159) 2018-12-04 14:45:37 -05:00
response_manager.h Update to Chromium revision ff259bab (#488528) 2017-07-28 18:30:34 -04:00
scheme_registrar_impl.cc Replace AddCustomScheme bool arguments with int using bit flags 2019-02-26 16:45:12 +00:00
scheme_registrar_impl.h Replace AddCustomScheme bool arguments with int using bit flags 2019-02-26 16:45:12 +00:00
string_list_impl.cc Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
string_map_impl.cc Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
string_multimap_impl.cc Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
string_types_impl.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
task_impl.cc Update to Chromium revision fa6a5d87 (#499098) 2017-09-07 17:29:47 -04:00
task_runner_impl.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
task_runner_impl.h Fix task runner checking 2017-09-21 14:23:02 +02:00
thread_impl.cc Update to Chromium version 78.0.3904.0 (#693954) 2019-10-01 13:55:16 +00:00
thread_impl.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
time_impl.cc Update to Chromium revision ad51088c (#444943) 2017-01-24 16:53:09 -05:00
time_util.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
tracker.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
tracker.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
urlrequest_impl.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
util_mac.h macOS: Add support for and enable the V2 sandbox (issue #2459) 2018-07-27 22:33:31 -04:00
util_mac.mm macOS: Support configuration of the main bundle path (fixes issue #2729) 2019-07-25 15:47:46 +00:00
value_base.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
value_base.h Update to Chromium version 82.0.4085.0 (#749737) 2020-04-02 13:20:25 -04:00
values_impl.cc Update to Chromium version 82.0.4085.0 (#749737) 2020-04-02 13:20:25 -04:00
values_impl.h libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
waitable_event_impl.cc Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
waitable_event_impl.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
widevine_loader.cc Update to Chromium version 81.0.4044.0 (#737173) 2020-03-04 19:31:54 -05:00
widevine_loader.h Update to Chromium version 71.0.3567.0 (#595360) 2018-10-04 12:17:26 +03:00