2231 Commits

Author SHA1 Message Date
Cristian Amarie
fdc7504631 Add limit on request redirects (fixes issue #3001) 2020-08-13 15:03:41 -04:00
Marshall Greenblatt
304e015509 Update API hash to include enums (see issue #3000) 2020-08-07 13:17:46 -04:00
Dmitry Azaraev
6c81b2125f Include enum declarations into API hash calculation (fixes issue #3000) 2020-08-07 13:17:07 -04:00
Marshall Greenblatt
a46056b1eb Fix automate-git.py argument error 2020-08-03 15:02:39 -04:00
Marshall Greenblatt
7efb1099d9 Add --distrib-subdir-suffix option to make_distrib 2020-08-03 14:43:15 -04:00
Marshall Greenblatt
c8a556f173 Update to Chromium version 84.0.4147.105 2020-07-29 13:09:37 -04:00
Marshall Greenblatt
97011bca14 Fix DCHECK when showing print preview dialog (see issue #2952) 2020-07-23 15:54:55 -04:00
Marshall Greenblatt
83f4983b73 Fix link navigation from PDF files (fixes issue #2952)
Navigations initiated from a guest view will now be routed to the
OpenURLFromTab callback.
2020-07-23 15:54:55 -04:00
Marshall Greenblatt
d246bb6967 Windows: cmake: Simplify the MSVC version check 2020-07-23 12:32:26 -04:00
Czarek Tomczak
1058991018 MacOS: Update target SDK to 10.10 for cmake and tests 2020-07-23 12:32:21 -04:00
Marshall Greenblatt
ffc2f0ea62 cmake: Update documentation of build requirements and examples 2020-07-21 16:14:58 -04:00
Marshall Greenblatt
1a795a1b4b Fix crash in ThemeService with --disable-extensions (fixes issue #2852) 2020-07-21 13:28:56 -04:00
Masako Toda
7448470392 Fix excessive CPU usage with external and multi-threaded message loops (fixes issue #2809, fixes issue #2970). 2020-07-21 12:31:21 -04:00
Mike Wiedenbauer
a8731e7501 Return decompressed values from CefResourceBundle (fixes issue #2976) 2020-07-21 12:02:33 -04:00
Masako Toda
eeda28cdc8 Fix timing of InstallTransparency for OSR + gpu-disabled (see issue #2938) 2020-07-20 16:05:37 -04:00
Marshall Greenblatt
3dd2e2902a cefclient: Fix rendering of example background for OSR transparency (see issue #2938) 2020-07-20 15:44:57 -04:00
Andrei Kurushin
d9aa1a58ec Fix crash when closing an OSR browser (fixes issue #2919)
Release the Compositor before the WebContents is destroyed to match
the behavior in non-OSR code.
2020-07-20 14:55:05 -04:00
Cristian Amarie
7c5e746ea4 Properly disable the notification and push APIs (fixes issue #2951) 2020-07-20 14:53:45 -04:00
Marshall Greenblatt
149ccf946f Fix shutdown crash in InitNetworkContext with multi-threaded message loop (fixes issue #2985) 2020-07-20 14:03:15 -04:00
Marshall Greenblatt
3f2c37255f Update to Chromium version 84.0.4147.89 2020-07-17 19:12:13 -04:00
Marshall Greenblatt
7077b0efe1 Expose MediaSink device ip/port and model name (see issue #2900) 2020-07-14 17:04:39 -04:00
Marshall Greenblatt
1812f94ebd Windows: Explicitly specify the SDK version in setup_toolchain.py
Avoid building with a new and untested SDK version. See
https://crbug.com/1089996 for background.
2020-07-13 16:23:44 -04:00
Marshall Greenblatt
c551bc2695 Make chrome://chrome-urls an alias for chrome://webui-hosts (fixes issue #2977) 2020-07-02 15:45:50 -04:00
Marshall Greenblatt
f7c90a6bb2 Fix decoding of resources (fixes issue #2966)
Use LoadDataResourceString instead of GetDataResource. It will perform
decoding if necessary.
2020-07-02 14:50:25 -04:00
lwttai.lu
08c49aa624 Windows: File dialog add filter with all supported extensions as default (see issue #860) 2020-06-30 14:48:19 -04:00
Cristian Amarie
2fef70b664 Fix crash when reading malformed Flash manifest file (fixes issue #2948) 2020-06-30 14:48:13 -04:00
Marshall Greenblatt
48637c687c Windows: Fix CefCookieVisitor crash on invalid date (fixes issue #2927) 2020-06-30 14:35:41 -04:00
Mike Wiedenbauer
d808850d4e Fix decoding of the DevTools remote debugging discovery page (fixes issue #2974) 2020-06-30 10:45:41 -04:00
Marshall Greenblatt
0fb8a5f1ea 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:17:11 -04:00
Marshall Greenblatt
98e6450272 Update to Chromium version 84.0.4147.38 2020-06-11 16:44:33 -04:00
Marshall Greenblatt
a9aef28966 Improve AudioOutputTest.AudioTogglePlaybackTest to avoid flakyness. 2020-06-10 15:26:40 -04:00
Alexander Guettler
790d248111 Update to Chromium version 84.0.4147.0 (#768962) 2020-06-10 15:26:29 -04:00
Marshall Greenblatt
640cd0f411 Remove duplicate local_discovery file entries (see issue #2900)
This fixes duplicate symbol errors when linking libcef on Linux. These files
are now included by default with enable_service_discovery=true.
2020-05-26 12:32:40 -04:00
Marshall Greenblatt
cfe8e320be Enable DNS-SD discovery for cast devices (see issue #2900) 2020-05-25 16:54:45 -04:00
Marshall Greenblatt
5780bf40d4 Linux: Fix undefined symbol: ui::GtkUiDelegate::SetInstance
See https://crbug.com/1085806 for details.
2020-05-22 14:56:09 -04:00
Marshall Greenblatt
31d3e88d32 Add |client_| nullptr check in CefBrowserHostImpl::CanDragEnter (fixes issue #2934) 2020-05-13 14:30:44 -04:00
Marshall Greenblatt
7ecaa8afdd Windows: Add VS2019 path discovery to msvs_env.bat (fixes issue #2925) 2020-05-13 13:23:05 -04:00
Marshall Greenblatt
8c996d2efd Remember the user-selected printer by default (fixes issue #2875) 2020-05-13 13:10:08 -04:00
Marshall Greenblatt
d8b4281c06 Fix window.print() of PDF file (fixes issue #2987) 2020-05-12 16:25:13 -04:00
Marshall Greenblatt
c82eb3e80f Windows: cefclient: Fix return value check for AcquireSync (fixes issue #2933) 2020-05-12 15:41:20 -04:00
Marshall Greenblatt
14571658a2 Fix load of non-standard custom scheme URI as iframe src (see issue #2929) 2020-05-11 18:12:34 -04:00
Marshall Greenblatt
aa4473e2c6 Fix registration of WebSafe schemes (fixes issue #2929) 2020-05-11 18:11:53 -04:00
Marshall Greenblatt
9deef4189c Update AUTHORS.txt documentation 2020-05-08 12:35:04 -04:00
Marshall Greenblatt
25d81e0f1d Update AUTHORS.txt documentation 2020-05-08 12:25:35 -04:00
Marshall Greenblatt
70590a759d Update API hash for audio handler changes (see issue #2755) 2020-05-01 14:24:53 -04:00
Mike Wiedenbauer
8d01442d75 Re-implement audio capturing based on the AudioService API (fixes issue #2755) 2020-05-01 18:18:18 +00:00
Marshall Greenblatt
d65483ae16 Update cef_api_hash.h at build time if necessary (fixes issue #2922)
The cef_api_hash.h file was previously only updated when the translator tool
was run manually. Forgetting to run the translator tool after changing
include/internal/cef_types*.h files would result in cef_parser.py
incorrectly computing the CEF minor version number for future builds. By
updating this file automatically at build time the number of errors should be
reduced.
2020-04-30 17:52:10 -04:00
Marshall Greenblatt
7c6e53ddfb Save LocalPrefs.json in CefSettings.root_cache_path (see issue #2890) 2020-04-29 15:36:29 -04:00
Marshall Greenblatt
ff0c36b465 Add CefMediaSink::GetIconType (see issue #2900)
This attribute is useful for identifying different classes of cast devices
without first requiring a connection (CAST, CAST_AUDIO, CAST_AUDIO_GROUP, etc).
2020-04-29 15:01:12 -04:00
Vladislav
dafce45e49 Fix OSR resize issue with DPI scaling (fixes issue #2733) 2020-04-27 16:48:06 +00:00