Marshall Greenblatt
b854992ae6
Update generated files for int/char typedef removal (see #3507 )
2023-06-01 19:32:36 +03:00
Marshall Greenblatt
5042d71408
Remove CEF-specific integer and char16 typedef's (see #3507 )
2023-06-01 19:32:36 +03:00
Marshall Greenblatt
695ee2a041
Update to Chromium version 115.0.5790.0 ( #1148114 )
...
- Mac: 13.3 SDK (Xcode 14.3) is now required
2023-06-01 13:44:39 +03:00
Marshall Greenblatt
cf8b7db4b4
win: Ship d3dcompiler_47.dll on ARM64 ( fixes #3515 )
...
Use the same file from the Windows SDK as Chromium on all architectures
("$windows_sdk_path/Redist/D3D/$target_cpu/d3dcompiler_47.dll").
2023-06-01 13:38:38 +03:00
Marshall Greenblatt
5d8c6799fc
win: cmake: VS2022 is now required ( fixes #3516 )
2023-06-01 13:10:56 +03:00
Marshall Greenblatt
bd368f5d3a
win: Fix ambiguous max() usage ( fixes #3524 , see #3422 )
2023-06-01 12:55:30 +03:00
Marshall Greenblatt
87a04aba03
win: Update msvs_env.bat to prefer VS2022 ( fixes #3509 )
2023-06-01 12:55:30 +03:00
Marshall Greenblatt
df4dddee0b
win: Fix MSVC compile errors in registry.cc ( fixes #3519 )
2023-05-30 11:57:41 +03:00
Nik Pavlov
eb63f9e7ae
alloy: views: mac: Add three-finger-swipe navigation gesture support
...
This adds support for the three-finger-swipe navigation gesture with
Alloy/Views. The default implementation matches the Chrome runtime
and navigates the browser back/forward. We also add an Alloy/Views-
specific client callback in CefBrowserViewDelegate for optional
custom handling of the gesture event.
2023-05-26 09:05:33 +00:00
Marshall Greenblatt
29b5999fd7
Add missing include for std::numeric_limits (see #3422 )
2023-05-26 08:35:09 +00:00
Marshall Greenblatt
5707889555
Add methods for configuring website/content settings ( fixes #3490 )
...
This approach is now used to allow popups on a case-by-case basis in
tests instead of globally disabling the popup blocker with the Chrome
runtime.
2023-05-25 11:15:06 +00:00
Vladimir Kharitonov
ecdfd467f8
Update CefRange type to match gfx::Range ( fixes #3422 )
2023-05-16 14:44:19 +03:00
Marshall Greenblatt
e5334a5a18
mac: Enable ARC in libcef ( fixes #3496 )
...
Also enables debugging of zombie Objective-C objects.
2023-05-09 18:26:47 +03:00
Marshall Greenblatt
e5c4b27366
tools: Fix incorrect SharedMemoryRegion translation ( fixes #3498 )
2023-05-09 12:37:42 +03:00
Marshall Greenblatt
c18545a7f5
Replace NOTREACHED() with DCHECK(false) in generated files (see #3500 )
...
Restores the old behavior of assertion in Debug build only.
2023-05-08 18:36:00 +03:00
Marshall Greenblatt
dc9e64308a
Replace NOTREACHED() with DCHECK(false) ( fixes #3500 )
...
Restores the old behavior of assertion in Debug build only.
2023-05-08 18:36:00 +03:00
Marshall Greenblatt
b8e1c6a59d
Remove TRACE_EVENT_COPY_XXX overloads ( fixes #3497 )
...
This functionality is not compatible with Chromium's new tracing implementation
based on Perfetto.
2023-05-08 18:32:54 +03:00
Takashi Hashida
cf14b2a972
Add CefDownloadItem IsInterrupted and GetInterruptReason methods ( fixes #3486 )
2023-05-06 16:11:16 +03:00
Marshall Greenblatt
5a22a5c8a3
cmake: win: Fix incorrect /STACK value ( fixes #3491 )
2023-05-06 15:37:19 +03:00
Marshall Greenblatt
5e80ea3371
mac: Remove libtest_trace_processor.dylib as a runtime dependency
2023-05-05 22:53:16 +03:00
Marshall Greenblatt
d0b3042940
tests: Fix SchemeHandlerTest.HttpXSSDifferentOriginWithDomain failure
...
Cross-origin usage of document.domain is now restricted by default with the
Chrome runtime. Relax this policy for XSS tests by setting the
"Origin-Agent-Cluster: ?0" header.
Also remove usage of global variable in tests.
2023-05-05 22:53:16 +03:00
Marshall Greenblatt
de4f9e8908
tests: Change HTTP test URLs to HTTPS
...
This avoids unexpected HTTP to HTTPS redirects which cause test failures with
the Chrome runtime.
2023-05-05 22:53:16 +03:00
Marshall Greenblatt
ab94a13522
Update to Chromium version 114.0.5735.0 ( #1135570 )
...
- Mac: 13.3 SDK (Xcode 14.3) is now supported (see https://crbug.com/1431897 ).
- Mac: Removed UnderlayOpenGLHostingWindow which is no longer used.
2023-05-05 22:53:16 +03:00
Marshall Greenblatt
09c4142dad
chrome: mac: Add Alerts helper app ( fixes #3181 )
...
Some Chromium code cleanup will follow in
https://chromium-review.googlesource.com/c/chromium/src/+/4456752
2023-04-21 14:39:19 -04:00
Marshall Greenblatt
e0063880ac
chrome: mac: cefclient: Support Find window commands ( fixes #3462 )
2023-04-20 12:26:07 -04:00
Marshall Greenblatt
7ade772e0b
chrome: mac: Support dispatch of window commands (see #3462 )
2023-04-20 12:26:07 -04:00
Marshall Greenblatt
a39c2a0068
chrome: Improve positioning of the "Find" widget ( fixes #3461 )
...
The "Find" widget will be excluded from regions near the edges of the window
that contain overlays, draggable regions or titlebar.
2023-04-20 12:26:07 -04:00
Marshall Greenblatt
17cab6d955
views: mac: Fix overlay association with host CefWindow ( fixes #3456 )
2023-04-20 12:23:57 -04:00
Nik Pavlov
cad2498d87
mac: views: Add CefWindowDelegate::OnWindowFullscreenTransition
2023-04-20 14:59:15 +00:00
Marshall Greenblatt
6569ef09c5
Update API hash
2023-04-13 12:10:00 -04:00
Sergey Markelov
78ea5d8c61
Make string map append API match the manuals
...
Reduce cef_string_[multi]map_key() and cef_string_[multi]map_value() complexities
from O(N) to O(1).
2023-04-13 16:08:48 +00:00
Sergey Markelov
c3648f42b2
Use less error prone string list, map or multimap pointer types
...
Use pointers to incomplete struct types. If an argument of a not suitable
type is passed to a function of any string collection,
C compiler will warn:
warning: passing argument 1 of <func> from incompatible pointer type
C++ compiler will raise an error, for example:
error: cannot convert 'cef_string_list_t' ... to 'cef_string_multimap_t'
With the previously used `void*` pointer types, such errors in a code were not
diagnosed.
2023-04-13 16:06:02 +00:00
Sergey Markelov
f90d5bc49e
Remove unused macro FALLTHROUGH
...
Chromium and CEF now use the attribute `[[fallthrough]]`.
2023-04-13 16:03:41 +00:00
Eric Astor
55e158fe81
Avoid generating an accidental UDL suffix
...
In the error case, we previously output a pragma with a string immediately
followed by __FILE__ - but with no space between the string terminator and
__FILE__, a compliant C++ compiler can interpret this as a user-defined literal
suffix and end up failing to embed the intended information. We should add
spaces here to ensure our generated code is standards-compliant.
2023-04-12 19:54:31 +00:00
Sergey Markelov
5d48f277f2
Fix typos in cef_origin_whitelist.h and capi/cef_origin_whitelist_capi.h
2023-04-12 18:21:39 +00:00
Marshall Greenblatt
2094a8e221
alloy: Fix incorrect rendering of PiP overlay on mouseover ( fixes #3482 )
...
Initialize the Chrome color mixer so that ColorProvider returns the expected
semi-transparent color for overlay background in video_overlay_window_views.cc
instead of the default opaque red color (kPlaceholderColor).
2023-04-11 14:08:36 -04:00
Marshall Greenblatt
4b3c3132cb
Update to Chromium version 113.0.5672.0 ( #1121455 )
2023-04-05 17:48:51 -04:00
Nik Pavlov
c83b3cda24
views: mac: Support dynamic resize of title bar height (see #3189 )
...
This is intended for usage with frameless windows that show the standard window
buttons, where resizing the title bar height changes the button offset. Returning a
different value from CefWindowDelegate::GetTitlebarHeight and forcing a resize of
the NSWindow's theme frame (see ViewsWindow::NudgeWindow) will update the
title bar height.
To test:
1. Run `cefclient --use-views --hide-frame --show-window-buttons --url=http://tests/window `
2. Enter a new value for title bar height and click the "Set Titlebar Height" button
2023-03-16 17:19:50 +00:00
Marshall Greenblatt
0a2c7a1070
chrome: Move ThreadProfiler initialization to the UI thread ( fixes #3465 )
...
ThreadProfiler::CreateAndStartOnMainThread and SetMainThreadTaskRunnerImpl
should be called on the same thread.
2023-03-14 15:22:58 -04:00
Marshall Greenblatt
178a44bd18
Rewrite issue links to GitHub (see #3464 )
2023-03-13 13:50:48 -04:00
Nik Pavlov
45d771dfb0
views: mac: Enable WindowTestRunnerViews
2023-03-13 17:24:25 +00:00
Marshall Greenblatt
1726176b9b
Update GitHub issue templates (see #3464 )
2023-03-11 20:59:16 -05:00
Marshall Greenblatt
c6872cec5f
Add GitHub issue templates (see #3464 )
2023-03-11 20:45:14 -05:00
Marshall Greenblatt
14dd0c0d06
chrome: Add ability to hide toolbar and app menu contents (see issue #3280 )
...
This change adds new CefCommandHandler callbacks for optionally hiding
specific Chrome toolbar icons, buttons and app menu items.
To test: Run `cefclient --enable-chrome-runtime --filter-chrome-commands`.
Most icons, buttons and app/context menu items will be hidden.
2023-03-08 12:02:49 -05:00
Nik Pavlov
06af9c85da
views: mac: Show standard window buttons with frame by default (see issue #3189 )
...
This restores the previous default behavior for framed windows.
2023-03-08 16:58:21 +00:00
Marshall Greenblatt
d509d5833d
chrome: Don't show gray background during browser load (fixes issue #3459 )
2023-03-06 15:55:55 -05:00
Marshall Greenblatt
2c67350605
Update API hash for commit 9ae4da3b38
2023-03-06 15:55:38 -05:00
Sergey Markelov
9ae4da3b38
Fix compile error: this function declaration is not a prototype
...
`cef_basetime_now()` failed to compile if `-Wstrict-prototypes` is set in clang
or gcc.
2023-03-06 16:48:36 +00:00
梅迎朝
8b79f9cbe7
cefclient: Fix incorrect logic in PassThruResponseFilter
2023-03-06 16:48:03 +00:00
Marshall Greenblatt
3e4f8d1b9c
win: Copy dbghelp.dll/dbgcore.dll from the Windows SDK (fixes issue #3356 )
2023-03-03 18:26:06 -05:00