From 178a44bd182bbc3c9ccfca70f53807e94b6a9fc7 Mon Sep 17 00:00:00 2001
From: Marshall Greenblatt Supported Chrome Extensions "
"APIs
\nFollow issue #1947 for development progress.\n\n";
bool has_top_level_name = false;
diff --git a/libcef/browser/osr/render_widget_host_view_osr.cc b/libcef/browser/osr/render_widget_host_view_osr.cc
index 66b672a0b..a76b6a97c 100644
--- a/libcef/browser/osr/render_widget_host_view_osr.cc
+++ b/libcef/browser/osr/render_widget_host_view_osr.cc
@@ -1543,7 +1543,7 @@ void CefRenderWidgetHostViewOSR::OnPaint(const gfx::Rect& damage_rect,
const void* pixels) {
TRACE_EVENT0("cef", "CefRenderWidgetHostViewOSR::OnPaint");
- // Workaround for https://bitbucket.org/chromiumembedded/cef/issues/2817
+ // Workaround for https://github.com/chromiumembedded/cef/issues/2817
if (!is_showing_) {
return;
}
diff --git a/patch/patch.cfg b/patch/patch.cfg
index 35a250913..9040ab35f 100644
--- a/patch/patch.cfg
+++ b/patch/patch.cfg
@@ -30,7 +30,7 @@ patches = [
# https://bugs.chromium.org/p/chromium/issues/detail?id=634788
#
# Windows: Add cc_wrapper support for sccache builds.
- # https://bitbucket.org/chromiumembedded/cef/issues/2432
+ # https://github.com/chromiumembedded/cef/issues/2432
#
# Windows: Add GN arg windows_sdk_version.
# https://bugs.chromium.org/p/chromium/issues/detail?id=1420723
@@ -46,7 +46,7 @@ patches = [
},
{
# Support component builds (GN is_component_build=true).
- # https://bitbucket.org/chromiumembedded/cef/issues/1617
+ # https://github.com/chromiumembedded/cef/issues/1617
'name': 'component_build',
},
{
@@ -58,7 +58,7 @@ patches = [
#
# Add MessageLoop::ReleasePump to fix crashes during shutdown with multi-
# threaded message loop mode.
- # https://bitbucket.org/chromiumembedded/cef/issues/2362
+ # https://github.com/chromiumembedded/cef/issues/2362
'name': 'message_loop',
},
{
@@ -77,27 +77,27 @@ patches = [
},
{
# Fix export of UnderlayOpenGLHostingWindow for 64-bit MacOS builds.
- # https://bitbucket.org/chromiumembedded/cef/issues/1051
+ # https://github.com/chromiumembedded/cef/issues/1051
'name': 'underlay_1051',
},
{
# Allow specification of a parent window handle for Widget creation.
- # https://bitbucket.org/chromiumembedded/cef/issues/180
+ # https://github.com/chromiumembedded/cef/issues/180
#
# Fix multiple handling of WM_MOUSEWHEEL messages on Windows.
- # https://bitbucket.org/chromiumembedded/cef/issues/1481
+ # https://github.com/chromiumembedded/cef/issues/1481
#
# Support custom RenderWidgetHostViewOSR for BrowserPluginGuest.
- # https://bitbucket.org/chromiumembedded/cef/issues/1565
+ # https://github.com/chromiumembedded/cef/issues/1565
#
# Fix focus/activation handling and keyboard input on Windows and Linux.
- # https://bitbucket.org/chromiumembedded/cef/issues/1677
- # https://bitbucket.org/chromiumembedded/cef/issues/1679
- # https://bitbucket.org/chromiumembedded/cef/issues/1700
- # https://bitbucket.org/chromiumembedded/cef/issues/3316
+ # https://github.com/chromiumembedded/cef/issues/1677
+ # https://github.com/chromiumembedded/cef/issues/1679
+ # https://github.com/chromiumembedded/cef/issues/1700
+ # https://github.com/chromiumembedded/cef/issues/3316
#
# Support creation of captionless windows with resizable borders.
- # https://bitbucket.org/chromiumembedded/cef/issues/1749
+ # https://github.com/chromiumembedded/cef/issues/1749
#
# Windows: When |params.remove_standard_frame| is true remove WS_CAPTION
# and WS_SYSMENU styles. Otherwise Windows 10 enforces a minimum window
@@ -105,13 +105,13 @@ patches = [
# Linux: Allow creation of activatable menu windows.
# Linux: Support CefWindowDelegate::CanResize restriction by specifying
# min/max Widget size values.
- # https://bitbucket.org/chromiumembedded/cef/issues/1947
+ # https://github.com/chromiumembedded/cef/issues/1947
#
# Support configuration of RWHVGuest device scale factor.
- # https://bitbucket.org/chromiumembedded/cef/issues/2078
+ # https://github.com/chromiumembedded/cef/issues/2078
#
# Windows: Fix focus assignment when clicking WebView with external parent.
- # https://bitbucket.org/chromiumembedded/cef/issues/3031
+ # https://github.com/chromiumembedded/cef/issues/3031
#
# Fix minimize & fullscreen behavior on initial Widget creation.
#
@@ -121,27 +121,27 @@ patches = [
#
# Windows: Fix incorrect DIPToScreenRect usage in DesktopWindowTreeHostWin
# when |has_external_parent_| is true.
- # https://bitbucket.org/chromiumembedded/cef/issues/3359
+ # https://github.com/chromiumembedded/cef/issues/3359
'name': 'views_widget',
},
{
# Allow specification of a custom WebContentsView.
- # https://bitbucket.org/chromiumembedded/cef/issues/1257
+ # https://github.com/chromiumembedded/cef/issues/1257
#
# Support custom RenderWidgetHostViewOSR for BrowserPluginGuest.
- # https://bitbucket.org/chromiumembedded/cef/issues/1565
+ # https://github.com/chromiumembedded/cef/issues/1565
#
# Add WebContentsObserver::OnFrameFocused.
#
# Add WebContentsObserver::RenderWidgetCreated.
- # https://bitbucket.org/chromiumembedded/cef/issues/3308
+ # https://github.com/chromiumembedded/cef/issues/3308
'name': 'web_contents_1257_1565',
},
{
# Support custom RenderWidgetHostViewOSR for MimeHandlerViewGuest and
# expose OnGuestAttached/Detached notifications.
- # https://bitbucket.org/chromiumembedded/cef/issues/1565
- # https://bitbucket.org/chromiumembedded/cef/issues/2727
+ # https://github.com/chromiumembedded/cef/issues/1565
+ # https://github.com/chromiumembedded/cef/issues/2727
'name': 'mime_handler_view_guest_1565_2727',
},
{
@@ -154,21 +154,21 @@ patches = [
# https://bugs.chromium.org/p/chromium/issues/detail?id=654986#c17
#
# Remove DCHECK on Linux when initialized CEF from a non-main thread.
- # https://bitbucket.org/chromiumembedded/cef/issue/1639
+ # https://github.com/chromiumembedded/cef/issues/1639
#
# Fix DiscardableSharedMemoryManager crash on shutdown with multi-threaded
# message loop.
- # https://bitbucket.org/chromiumembedded/cef/issues/2798
+ # https://github.com/chromiumembedded/cef/issues/2798
'name': 'content_main_654986',
},
{
# Expose the FontFamilyCache UserData key.
- # https://bitbucket.org/chromiumembedded/cef/issues/1501
+ # https://github.com/chromiumembedded/cef/issues/1501
'name': 'font_family_cache_1501',
},
{
# Modify views::View to extend SupportsUserData.
- # https://bitbucket.org/chromiumembedded/cef/issues/1749
+ # https://github.com/chromiumembedded/cef/issues/1749
#
# Don't add TestDesktopScreenOzone dependency on Linux.
# Reverts ui_controls_factory_desktop_aurax11.cc (now
@@ -185,10 +185,10 @@ patches = [
#
# Expose callbacks for mouse/keyboard events that trigger menu switching.
# Add accelerator display support to Label.
- # https://bitbucket.org/chromiumembedded/cef/issues/2102
+ # https://github.com/chromiumembedded/cef/issues/2102
#
# Route |parent_widget| to MenuHost for OSR context menu Widget creation.
- # https://bitbucket.org/chromiumembedded/cef/issues/3330
+ # https://github.com/chromiumembedded/cef/issues/3330
'name': 'views_1749_2102_3330',
},
{
@@ -204,19 +204,19 @@ patches = [
},
{
# Changes to support the Chrome runtime in CEF.
- # https://bitbucket.org/chromiumembedded/cef/issues/2969
+ # https://github.com/chromiumembedded/cef/issues/2969
'name': 'chrome_runtime',
},
{
# Changes to support Chrome runtime integration with CEF Views.
# See related documentation in
# libcef/browser/chrome/views/chrome_browser_frame.h.
- # https://bitbucket.org/chromiumembedded/cef/issues/2969
+ # https://github.com/chromiumembedded/cef/issues/2969
'name': 'chrome_runtime_views',
},
{
# Changes to support the Chrome runtime in CEF.
- # https://bitbucket.org/chromiumembedded/cef/issues/2969
+ # https://github.com/chromiumembedded/cef/issues/2969
#
# Fix fatal error: 'components/printing/common/print.mojom.h' file not found
# From chrome/browser/ui/browser_commands.cc via
@@ -225,7 +225,7 @@ patches = [
},
{
# Don't initialize ExtensionSystemFactory when extensions are disabled.
- # https://bitbucket.org/chromiumembedded/cef/issues/2359
+ # https://github.com/chromiumembedded/cef/issues/2359
#
# Remove NOTREACHED() in GetContentSettingFromRulesImpl triggered by
# NavigationTest.LoadCrossOriginLoadURL with the chrome runtime.
@@ -233,7 +233,7 @@ patches = [
},
{
# chrome: Support custom handling of context menus.
- # https://bitbucket.org/chromiumembedded/cef/issues/2969
+ # https://github.com/chromiumembedded/cef/issues/2969
'name': 'chrome_browser_context_menus',
},
{
@@ -241,7 +241,7 @@ patches = [
# - Adds support for FileSelectHelper and SelectFileDialog interception.
# - Adds additional type filters for dialogs created via FileSelectHelper.
# - Adds support for chaining PrintingContextLinux callbacks.
- # https://bitbucket.org/chromiumembedded/cef/issues/3314
+ # https://github.com/chromiumembedded/cef/issues/3314
'name': 'chrome_browser_dialogs_native',
},
{
@@ -250,44 +250,44 @@ patches = [
# DialogDelegate::CreateDialogWidget for CEF windowless rendering.
# - Support nullptr gfx::NativeWindow/gfx::NativeView dialog parent for CEF
# windowless rendering.
- # https://bitbucket.org/chromiumembedded/cef/issues/3316
+ # https://github.com/chromiumembedded/cef/issues/3316
'name': 'chrome_browser_dialogs_widget',
},
{
# chrome: Support override of ChromeMimeHandlerViewGuestDelegate.
- # https://bitbucket.org/chromiumembedded/cef/issues/2969
+ # https://github.com/chromiumembedded/cef/issues/2969
'name': 'chrome_browser_extensions',
},
{
# alloy: Disable ProxyErrorClient callbacks when extensions are disabled.
- # https://bitbucket.org/chromiumembedded/cef/issues/2830
+ # https://github.com/chromiumembedded/cef/issues/2830
'name': 'chrome_browser_net_proxy',
},
{
# Support override of CreatePermissionPrompt.
- # https://bitbucket.org/chromiumembedded/cef/issues/3352
+ # https://github.com/chromiumembedded/cef/issues/3352
'name': 'chrome_browser_permission_prompt',
},
{
# alloy: Don't initialize ExtensionSystemFactory when extensions are
# disabled.
- # https://bitbucket.org/chromiumembedded/cef/issues/2852
+ # https://github.com/chromiumembedded/cef/issues/2852
'name': 'chrome_browser_themes',
},
{
# Make some methods of ProfileManager virtual.
#
# Don't create IdentityManager in RendererUpdater.
- # https://bitbucket.org/chromiumembedded/cef/issues/1917
+ # https://github.com/chromiumembedded/cef/issues/1917
#
# chrome: Support CEF incognito Profiles that allow Browser creation.
# chrome: Allow CEF to delay OffTheRecordProfileImpl initialization.
- # https://bitbucket.org/chromiumembedded/cef/issues/2969
+ # https://github.com/chromiumembedded/cef/issues/2969
'name': 'chrome_browser_profiles',
},
{
# chrome: Fix assertion when clicking the incognito profile button.
- # https://bitbucket.org/chromiumembedded/cef/issues/2969
+ # https://github.com/chromiumembedded/cef/issues/2969
'name': 'chrome_browser_profile_menu',
},
{
@@ -298,7 +298,7 @@ patches = [
{
# Support override of the User-Agent product component when NetworkService
# is enabled.
- # https://bitbucket.org/chromiumembedded/cef/issues/2622
+ # https://github.com/chromiumembedded/cef/issues/2622
'name': 'embedder_product_override',
},
{
@@ -314,17 +314,17 @@ patches = [
{
# Don't create databases, blob_storage or VideoDecodeStats directories when
# cache_path is empty.
- # https://bitbucket.org/chromiumembedded/cef/issues/2289
+ # https://github.com/chromiumembedded/cef/issues/2289
'name': 'storage_incognito_2289',
},
{
# Support WebUI by removing dependency on non-NULL IOThread* object.
- # https://bitbucket.org/chromiumembedded/cef/issues/2037
+ # https://github.com/chromiumembedded/cef/issues/2037
'name': 'webui_2037',
},
{
# Implement breakpad/crashpad customization required by CEF.
- # https://bitbucket.org/chromiumembedded/cef/issues/1995
+ # https://github.com/chromiumembedded/cef/issues/1995
'name': 'crashpad_1995',
},
{
@@ -337,7 +337,7 @@ patches = [
},
{
# Fix white flash during browser creation.
- # https://bitbucket.org/chromiumembedded/cef/issues/1984
+ # https://github.com/chromiumembedded/cef/issues/1984
#
# Windows: Fix crash during window creation.
# https://bugs.chromium.org/p/chromium/issues/detail?id=761389
@@ -354,15 +354,15 @@ patches = [
# Add ContentRendererClient::DevToolsAgent[Attached|Detached] methods.
#
# Always return the Chrome product value for DevTools.
- # https://bitbucket.org/chromiumembedded/cef/issues/2300
+ # https://github.com/chromiumembedded/cef/issues/2300
#
# Add new ContentBrowserClient::HandleExternalProtocol variant for use with
# the NetworkService.
- # https://bitbucket.org/chromiumembedded/cef/issues/2622
+ # https://github.com/chromiumembedded/cef/issues/2622
#
# Change ContentBrowserClient::ConfigureNetworkContextParams return type to
# bool to support cancellation of NetworkContext creation during shutdown.
- # https://bitbucket.org/chromiumembedded/cef/issues/2985
+ # https://github.com/chromiumembedded/cef/issues/2985
'name': 'content_2015',
},
{
@@ -371,18 +371,18 @@ patches = [
},
{
# Linux: Attach routing IDs to PrintingContext.
- # https://bitbucket.org/chromiumembedded/cef/issues/2196
+ # https://github.com/chromiumembedded/cef/issues/2196
'name': 'printing_context_2196',
},
{
# Windows: Remove llvmlibthin as the combine_libs.py can't handle those.
- # https://bitbucket.org/chromiumembedded/cef/issues/2470
+ # https://github.com/chromiumembedded/cef/issues/2470
'name': 'build',
},
{
# Changes necessary to support chrome extensions. Add a new
# ExtensionHost constructor that allows CEF to create the WebContents.
- # https://bitbucket.org/chromiumembedded/cef/issues/1947
+ # https://github.com/chromiumembedded/cef/issues/1947
#
# Don't initialize PrerenderContents object in StreamsPrivateAPI.
#
@@ -392,7 +392,7 @@ patches = [
},
{
# macOS: Fix undesirable switch to discrete GPU during startup.
- # https://bitbucket.org/chromiumembedded/cef/issues/2398
+ # https://github.com/chromiumembedded/cef/issues/2398
#
# macOS: Rely on symlinks to find the Libraries directory.
# https://bugs.chromium.org/p/chromium/issues/detail?id=757974#c23
@@ -400,28 +400,28 @@ patches = [
},
{
# macOS: Make the NativeEventProcessor protocol dependency optional.
- # https://bitbucket.org/chromiumembedded/cef/issues/2539
+ # https://github.com/chromiumembedded/cef/issues/2539
'name': 'mac_event_observer_2539',
},
{
# macOS: Fix crash when scrolling in OSR mode.
- # https://bitbucket.org/chromiumembedded/cef/issues/2540
+ # https://github.com/chromiumembedded/cef/issues/2540
'name': 'mac_fling_scheduler_2540',
},
{
# Allow ResourceBundle creation/destruction on the main thread and usage on
# the UI thread.
- # https://bitbucket.org/chromiumembedded/cef/issues/2398
+ # https://github.com/chromiumembedded/cef/issues/2398
'name': 'resource_bundle_2512',
},
{
# macOS: Fix crash when showing a select popup with CefDoMessageLoopWork.
- # https://bitbucket.org/chromiumembedded/cef/issues/2495
+ # https://github.com/chromiumembedded/cef/issues/2495
'name': 'message_pump_mac_2495',
},
{
# Linux: Load binaries from DIR_ASSETS.
- # https://bitbucket.org/chromiumembedded/cef/issues/1936
+ # https://github.com/chromiumembedded/cef/issues/1936
'name': 'linux_assets_path_1936',
},
{
@@ -432,7 +432,7 @@ patches = [
},
{
# Linux: Avoid usage of chrome::FILE_COMPONENT_WIDEVINE_CDM_HINT.
- # https://bitbucket.org/chromiumembedded/cef/issues/3149
+ # https://github.com/chromiumembedded/cef/issues/3149
'name': 'linux_chrome_widevine_3149',
},
{
@@ -440,21 +440,21 @@ patches = [
# - Add support for calling CookieMonster::SetCookieableSchemes.
# - Fix cache directory structure ("C:\temp\cache\cache\Cache" should be
# "C:\temp\cache\Cache").
- # https://bitbucket.org/chromiumembedded/cef/issues/2622
+ # https://github.com/chromiumembedded/cef/issues/2622
#
# alloy: Avoid initialization of privacy sandbox and identity manager.
- # https://bitbucket.org/chromiumembedded/cef/issues/3434
+ # https://github.com/chromiumembedded/cef/issues/3434
'name': 'services_network_2622',
},
{
# Enhancements to NetworkService:
# - Remove the non-nullptr WebContents requirement from
# NetworkServiceClient::OnAuthRequired.
- # https://bitbucket.org/chromiumembedded/cef/issues/2718
+ # https://github.com/chromiumembedded/cef/issues/2718
#
# Change ContentBrowserClient::ConfigureNetworkContextParams return type to
# bool to support cancellation of NetworkContext creation during shutdown.
- # https://bitbucket.org/chromiumembedded/cef/issues/2985
+ # https://github.com/chromiumembedded/cef/issues/2985
#
# Compute correct default quota when cache_path is unspecified.
'name': 'services_network_2718',
@@ -498,7 +498,7 @@ patches = [
},
{
# Add support for OSR rendering with Viz.
- # https://bitbucket.org/chromiumembedded/cef/issues/2575
+ # https://github.com/chromiumembedded/cef/issues/2575
'name': 'viz_osr_2575',
},
{
@@ -508,17 +508,17 @@ patches = [
# - Remove unsupported print preview UI options.
# - macOS: Fix error: no member named 'kCloudPrinterHandler' in namespace
# 'printing::features',
- # https://bitbucket.org/chromiumembedded/cef/issues/123
+ # https://github.com/chromiumembedded/cef/issues/123
'name': 'print_preview_123',
},
{
# Store command-line switch names as lower-case ASCII on all platforms.
- # https://bitbucket.org/chromiumembedded/cef/issues/1872
+ # https://github.com/chromiumembedded/cef/issues/1872
'name': 'base_command_line_1872',
},
{
# Remove cef_sandbox dependency on boringssl functions.
- # https://bitbucket.org/chromiumembedded/cef/issues/2743
+ # https://github.com/chromiumembedded/cef/issues/2743
#
# Enable the VS 2015 Update 2 fix when building with the MSVC standard
# library.
@@ -532,13 +532,13 @@ patches = [
{
# Add RenderWidgetHostImpl::SetCompositorForFlingScheduler to fix fling
# scrolling in OSR mode.
- # https://bitbucket.org/chromiumembedded/cef/issues/2745
+ # https://github.com/chromiumembedded/cef/issues/2745
'name': 'osr_fling_2745',
},
{
# Windows: Build targets as C++17 to avoid export of std::is_integral
# templates in cef_sandbox that should be inlined.
- # https://bitbucket.org/chromiumembedded/cef/issues/2819
+ # https://github.com/chromiumembedded/cef/issues/2819
'name': 'win_cpp17_msvc_sandbox_2819',
},
{
@@ -558,7 +558,7 @@ patches = [
#
# Fix crash in NavigationRequest::GetOriginForURLLoaderFactory() when
# navigating to an unregistered (e.g. non-standard) scheme.
- # https://bitbucket.org/chromiumembedded/cef/issues/3105
+ # https://github.com/chromiumembedded/cef/issues/3105
'name': 'browser_security_policy_1081397',
},
{
@@ -566,7 +566,7 @@ patches = [
# https://bugs.chromium.org/p/chromium/issues/detail?id=1100085
#
# Changes to support the Chrome runtime in CEF (app_controller_mac.mm).
- # https://bitbucket.org/chromiumembedded/cef/issues/2969
+ # https://github.com/chromiumembedded/cef/issues/2969
'name': 'chrome_browser_background_mode_1100085',
},
{
@@ -576,12 +576,12 @@ patches = [
},
{
# Windows: Fix crash when |sandbox_info| parameter is nullptr.
- # https://bitbucket.org/chromiumembedded/cef/issues/3210
+ # https://github.com/chromiumembedded/cef/issues/3210
'name': 'win_sandbox_3210',
},
{
# Windows: Always use the root window as the owner for shell dialogs.
- # https://bitbucket.org/chromiumembedded/cef/issues/3294
+ # https://github.com/chromiumembedded/cef/issues/3294
'name': 'win_shell_dialogs_3294',
},
{
@@ -591,7 +591,7 @@ patches = [
},
{
# Linux: Support chaining of PrintingContextLinux callbacks.
- # https://bitbucket.org/chromiumembedded/cef/issues/3314
+ # https://github.com/chromiumembedded/cef/issues/3314
# Also reverts the changes from https://crrev.com/db245883e1
'name': 'linux_printing_context',
},
diff --git a/tests/cefclient/resources/media_router.html b/tests/cefclient/resources/media_router.html
index a13451e07..0e874ff49 100644
--- a/tests/cefclient/resources/media_router.html
+++ b/tests/cefclient/resources/media_router.html
@@ -568,7 +568,7 @@ function onUnload() {
Status information and messages will be displayed in the center of the screen.
After creating a route you can send messages to the receiver app using the textarea at the bottom of the screen.
Messages are usually in JSON format with a example of Cast communication to be found
- here.
+ here.