2012-04-03 03:34:16 +02:00
|
|
|
# Each map in the list associates a patch file name with a target path and
|
|
|
|
# optional condition. All paths in the patch file must be relative to the
|
|
|
|
# target path. Each map should include a comment linking to the code review
|
|
|
|
# or bug report that the patch relates to. If a condition is provided the
|
|
|
|
# patch will only be applied if an environment variable with the specified
|
|
|
|
# name exists.
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
{
|
2016-06-23 19:42:00 +02:00
|
|
|
# Necessary for grit integration.
|
2012-04-03 03:34:16 +02:00
|
|
|
'name': 'gritsettings',
|
|
|
|
'path': '../tools/gritsettings/',
|
|
|
|
},
|
2016-06-23 19:42:00 +02:00
|
|
|
{
|
|
|
|
# Necessary for GN integration.
|
|
|
|
#
|
|
|
|
# Move chrome target locales output to a chrome/ directory to avoid
|
|
|
|
# conflicts with the CEF configuration.
|
|
|
|
#
|
|
|
|
# Support custom VS toolchain on Windows.
|
|
|
|
# https://bugs.chromium.org/p/chromium/issues/detail?id=623342
|
2016-08-05 12:24:27 +02:00
|
|
|
#
|
|
|
|
# Write environment.* files with the correct SDK version on Windows.
|
|
|
|
# https://bugs.chromium.org/p/chromium/issues/detail?id=634788
|
2016-06-23 19:42:00 +02:00
|
|
|
'name': 'gn_config',
|
|
|
|
'path': '../',
|
|
|
|
},
|
2012-09-04 19:08:51 +02:00
|
|
|
{
|
2013-10-17 01:09:07 +02:00
|
|
|
# Support loading of password protected zip archives.
|
2016-04-27 22:38:52 +02:00
|
|
|
# https://bitbucket.org/chromiumembedded/cef/issues/496
|
2012-09-04 19:08:51 +02:00
|
|
|
'name': 'zlib',
|
|
|
|
'path': '../third_party/zlib/',
|
|
|
|
},
|
2013-02-23 02:46:13 +01:00
|
|
|
{
|
2013-10-17 01:09:07 +02:00
|
|
|
# Avoid MessageLoop assertion on OS X.
|
2016-04-27 22:38:52 +02:00
|
|
|
# https://bitbucket.org/chromiumembedded/cef/issues/443
|
2016-06-21 00:59:23 +02:00
|
|
|
#
|
|
|
|
# Revert change on Windows that removes MessageLoop::os_modal_loop().
|
|
|
|
# https://codereview.chromium.org/1992243003
|
|
|
|
'name': 'message_loop_443_1992243003',
|
2013-07-23 00:14:55 +02:00
|
|
|
'path': '../base/message_loop/',
|
2013-02-23 02:46:13 +01:00
|
|
|
},
|
2014-07-01 00:30:29 +02:00
|
|
|
{
|
|
|
|
# Enable popups in offscreen rendering on OS X.
|
|
|
|
'name': 'webkit_popups',
|
|
|
|
'path': '../third_party/WebKit/',
|
|
|
|
},
|
2013-08-15 00:15:28 +02:00
|
|
|
{
|
|
|
|
# Fix export of UnderlayOpenGLHostingWindow for 64-bit OS X builds.
|
2016-04-27 22:38:52 +02:00
|
|
|
# https://bitbucket.org/chromiumembedded/cef/issues/1051
|
2013-08-15 00:15:28 +02:00
|
|
|
'name': 'underlay_1051',
|
|
|
|
'path': '../ui/base/cocoa/',
|
|
|
|
},
|
2013-12-07 02:55:22 +01:00
|
|
|
{
|
|
|
|
# Allow specification of a parent window handle for Widget creation.
|
2016-04-27 22:38:52 +02:00
|
|
|
# https://bitbucket.org/chromiumembedded/cef/issues/180
|
2016-01-19 21:09:01 +01:00
|
|
|
#
|
|
|
|
# Fix multiple handling of WM_MOUSEWHEEL messages on Windows.
|
|
|
|
# https://bitbucket.org/chromiumembedded/cef/issues/1481
|
|
|
|
#
|
2015-10-26 19:23:08 +01:00
|
|
|
# Fix focus/activation handling and keyboard input on Windows and Linux.
|
2015-08-04 19:53:59 +02:00
|
|
|
# https://bitbucket.org/chromiumembedded/cef/issues/1677
|
2015-10-26 19:23:08 +01:00
|
|
|
# https://bitbucket.org/chromiumembedded/cef/issues/1679
|
2015-08-27 23:55:48 +02:00
|
|
|
# https://bitbucket.org/chromiumembedded/cef/issues/1700
|
2016-01-19 21:09:01 +01:00
|
|
|
#
|
|
|
|
# Support creation of captionless windows with resizable borders.
|
|
|
|
# https://bitbucket.org/chromiumembedded/cef/issues/1749
|
|
|
|
'name': 'views_widget_180_1481_1677_1749',
|
2015-10-14 18:46:42 +02:00
|
|
|
'path': '../',
|
|
|
|
},
|
2013-12-17 23:04:35 +01:00
|
|
|
{
|
|
|
|
# Allow continued use of ContentRendererClient::HandleNavigation.
|
2016-04-27 22:38:52 +02:00
|
|
|
# https://bitbucket.org/chromiumembedded/cef/issues/1129
|
2013-12-17 23:04:35 +01:00
|
|
|
'name': 'content_nav_1129',
|
|
|
|
'path': '../content/',
|
|
|
|
},
|
2014-04-15 21:02:30 +02:00
|
|
|
{
|
2014-07-01 00:30:29 +02:00
|
|
|
# Allow specification of a custom WebContentsView.
|
2016-04-27 22:38:52 +02:00
|
|
|
# https://bitbucket.org/chromiumembedded/cef/issues/1257
|
2016-07-14 03:35:07 +02:00
|
|
|
'name': 'web_contents_1257',
|
|
|
|
'path': '../',
|
2014-04-15 21:02:30 +02:00
|
|
|
},
|
2015-01-01 17:51:56 +01:00
|
|
|
{
|
|
|
|
# Allow creation of a custom SoftwareOutputDevice.
|
2016-04-27 22:38:52 +02:00
|
|
|
# https://bitbucket.org/chromiumembedded/cef/issues/1368
|
2015-01-01 17:51:56 +01:00
|
|
|
'name': 'compositor_1368',
|
|
|
|
'path': '../',
|
|
|
|
},
|
2015-07-16 23:40:01 +02:00
|
|
|
{
|
|
|
|
# Allow specification of a custom WebContentsViewGuest implementation for
|
|
|
|
# MimeHandlerView.
|
|
|
|
# https://bitbucket.org/chromiumembedded/cef/issues/1565
|
|
|
|
'name': 'mime_handler_view_1565',
|
|
|
|
'path': '../extensions/browser/guest_view/mime_handler_view/',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
# Allow specification of a custom WebContentsViewGuest implementation for
|
|
|
|
# BrowserPluginGuest.
|
|
|
|
# https://bitbucket.org/chromiumembedded/cef/issues/1565
|
|
|
|
'name': 'browser_plugin_guest_1565',
|
|
|
|
'path': '../content/',
|
|
|
|
},
|
2014-04-08 21:33:48 +02:00
|
|
|
{
|
|
|
|
# Allow customization of the WebView background color.
|
2016-04-27 22:38:52 +02:00
|
|
|
# https://bitbucket.org/chromiumembedded/cef/issues/1161
|
2014-04-08 21:33:48 +02:00
|
|
|
# https://codereview.chromium.org/228603007/
|
|
|
|
'name': 'prefs_content_1161',
|
|
|
|
'path': '../content/',
|
|
|
|
},
|
2014-07-09 00:37:06 +02:00
|
|
|
{
|
|
|
|
# Fix drag&drop of combined text and URL data on Linux/Aura.
|
|
|
|
# https://codereview.chromium.org/208313009
|
|
|
|
'name': 'ui_dragdrop_355390',
|
|
|
|
'path': '../ui/base/dragdrop/',
|
|
|
|
},
|
2014-10-07 22:44:33 +02:00
|
|
|
{
|
|
|
|
# Fix AtExitManager assertion on SpellcheckServiceFactory destruction during
|
|
|
|
# Windows multi-threaded message loop shutdown.
|
2016-04-27 22:38:52 +02:00
|
|
|
# https://bitbucket.org/chromiumembedded/cef/issues/137
|
2014-10-07 22:44:33 +02:00
|
|
|
'name': 'spellcheck_137',
|
|
|
|
'path': '../chrome/browser/spellchecker/',
|
|
|
|
},
|
2015-11-26 04:45:19 +01:00
|
|
|
{
|
|
|
|
# Fix AtExitManager assertion on PrefWatcherFactory destruction during
|
|
|
|
# Windows multi-threaded message loop shutdown.
|
|
|
|
# https://bitbucket.org/chromiumembedded/cef/issues/1680
|
|
|
|
'name': 'prefs_tab_helper_1680',
|
|
|
|
'path': '../chrome/browser/ui/prefs/',
|
|
|
|
},
|
2015-03-11 19:44:11 +01:00
|
|
|
{
|
|
|
|
# Make URLRequest::set_is_pending() public so that it can be called from
|
|
|
|
# CefRequestInterceptor::MaybeInterceptResponse().
|
2016-04-27 22:38:52 +02:00
|
|
|
# https://bitbucket.org/chromiumembedded/cef/issues/1327
|
2015-03-11 19:44:11 +01:00
|
|
|
'name': 'net_urlrequest_1327',
|
|
|
|
'path': '../net/url_request/',
|
|
|
|
},
|
2015-03-25 22:22:47 +01:00
|
|
|
{
|
|
|
|
# Remove NOTREACHED() that is hit when loading Flash in incognito mode.
|
|
|
|
# https://bitbucket.org/chromiumembedded/cef/issue/1586
|
|
|
|
'name': 'content_pepper_flash_1586',
|
|
|
|
'path': '../content/browser/renderer_host/pepper/',
|
|
|
|
},
|
2015-04-24 13:11:32 +02:00
|
|
|
{
|
|
|
|
# Fix placement of IME window on Windows.
|
|
|
|
# https://bitbucket.org/chromiumembedded/cef/issue/1610
|
|
|
|
'name': 'ime_1610',
|
|
|
|
'path': '../ui/base/ime/',
|
|
|
|
},
|
2015-03-24 16:40:08 +01:00
|
|
|
{
|
|
|
|
# Enable support for print header and footer.
|
|
|
|
# https://bitbucket.org/chromiumembedded/cef/issue/1478
|
2016-07-14 03:35:07 +02:00
|
|
|
#
|
2015-07-24 02:06:56 +02:00
|
|
|
# Fix printing of PDF documents via PrintToPDF.
|
|
|
|
# https://bitbucket.org/chromiumembedded/cef/issues/1565
|
2016-07-14 03:35:07 +02:00
|
|
|
#
|
2016-02-02 22:32:44 +01:00
|
|
|
# Revert ENABLE_PRINT_PREVIEW changes from the following changeset.
|
|
|
|
# https://codereview.chromium.org/1556463003
|
2016-07-14 03:35:07 +02:00
|
|
|
#
|
|
|
|
# Add missing ENABLE_PRINT_PREVIEW checks in chrome/ on Mac.
|
2015-07-24 02:06:56 +02:00
|
|
|
'name': 'print_header_footer_1478_1565',
|
2016-07-14 03:35:07 +02:00
|
|
|
'path': '../',
|
2015-03-24 16:40:08 +01:00
|
|
|
},
|
2015-07-29 18:04:19 +02:00
|
|
|
{
|
|
|
|
# Remove DCHECK on Linux when initialized CEF from a non-main thread.
|
|
|
|
# https://bitbucket.org/chromiumembedded/cef/issue/1639
|
|
|
|
'name': 'process_title_1639',
|
|
|
|
'path': '../content/common/',
|
|
|
|
},
|
2015-08-19 21:40:38 +02:00
|
|
|
{
|
|
|
|
# Fix rendering of the PDF extension with OSR when the device scale factor
|
|
|
|
# is not 1.
|
|
|
|
# https://bitbucket.org/chromiumembedded/cef/issues/1687
|
|
|
|
'name': 'browser_frame_host_guest_1687',
|
|
|
|
'path': '../content/browser/frame_host/',
|
|
|
|
},
|
2015-09-11 14:14:45 +02:00
|
|
|
{
|
|
|
|
# Fix loading of the PDF extension with proxy BrowserContext.
|
|
|
|
# https://bitbucket.org/chromiumembedded/cef/issues/1710
|
|
|
|
'name': 'stream_context_1710',
|
|
|
|
'path': '../content/browser/streams/',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
# Fix loading of the PDF extension with proxy BrowserContext.
|
|
|
|
# https://bitbucket.org/chromiumembedded/cef/issues/1710
|
|
|
|
'name': 'supports_user_data_1710',
|
|
|
|
'path': '../base/',
|
|
|
|
},
|
2015-09-22 13:20:04 +02:00
|
|
|
{
|
|
|
|
# Fix background color on Mac.
|
|
|
|
# https://codereview.chromium.org/1070383005 (reverted)
|
|
|
|
'name': 'render_widget_host_1070383005',
|
|
|
|
'path': '../content/browser/renderer_host/',
|
|
|
|
},
|
2015-10-17 02:44:00 +02:00
|
|
|
{
|
|
|
|
# Fix missing check for defined(ENABLE_THEMES) in
|
|
|
|
# renderer_preferences_util.cc on Linux.
|
2016-04-27 22:38:52 +02:00
|
|
|
# https://bugs.chromium.org/p/chromium/issues/detail?id=545103
|
2015-10-17 02:44:00 +02:00
|
|
|
'name': 'renderer_preferences_util_545103',
|
|
|
|
'path': '../chrome/browser/',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
# Expose the FontFamilyCache UserData key.
|
|
|
|
# https://bitbucket.org/chromiumembedded/cef/issues/1501
|
|
|
|
'name': 'font_family_cache_1501',
|
|
|
|
'path': '../chrome/browser/',
|
|
|
|
},
|
2015-11-10 21:18:16 +01:00
|
|
|
{
|
|
|
|
# Fix crash while printing on Windows by properly initializing V8 in the PDF
|
|
|
|
# module.
|
2016-04-27 22:38:52 +02:00
|
|
|
# https://bugs.chromium.org/p/chromium/issues/detail?id=549365#c17
|
2015-11-10 21:18:16 +01:00
|
|
|
'name': 'pdfium_print_549365',
|
|
|
|
'path': '../third_party/pdfium/',
|
|
|
|
},
|
2015-12-05 03:58:56 +01:00
|
|
|
{
|
|
|
|
# Enable support for filtering resource responses.
|
|
|
|
# https://bitbucket.org/chromiumembedded/cef/issues/515
|
|
|
|
'name': 'net_filter_515',
|
|
|
|
'path': '../net/',
|
|
|
|
},
|
2016-01-19 21:09:01 +01:00
|
|
|
{
|
|
|
|
# Modify views::View to extend SupportsUserData.
|
|
|
|
# Modify views::MenuButton behavior.
|
|
|
|
# https://bitbucket.org/chromiumembedded/cef/issues/1749
|
|
|
|
'name': 'views_1749',
|
|
|
|
'path': '../ui/views/',
|
|
|
|
},
|
2016-03-16 03:55:59 +01:00
|
|
|
{
|
2016-04-27 22:38:52 +02:00
|
|
|
# Expose RenderViewHostImpl swapped-out state.
|
|
|
|
# https://bitbucket.org/chromiumembedded/cef/issues/1392
|
|
|
|
'name': 'render_view_host_impl_1392',
|
|
|
|
'path': '../content/browser/renderer_host/',
|
2016-03-16 03:55:59 +01:00
|
|
|
},
|
2016-07-06 21:34:09 +02:00
|
|
|
{
|
|
|
|
# Expose ui::Compositor via BrowserCompositorMac for OSR.
|
|
|
|
'name': 'browser_compositor_mac',
|
|
|
|
'path': '../',
|
|
|
|
},
|
2016-07-14 03:35:07 +02:00
|
|
|
{
|
|
|
|
# Fix chrome Widevine build on Linux.
|
|
|
|
'name': 'chrome_widevine',
|
|
|
|
'path': '../',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
# Remove references to crashpad from chrome/ code on Mac. This avoids
|
|
|
|
# linker conflicts with breakpad.
|
|
|
|
# TODO(cef/chrome): Remove this patch once crashpad is supported.
|
|
|
|
'name': 'chrome_crashpad_mac',
|
|
|
|
'path': '../',
|
|
|
|
},
|
2016-07-18 23:22:22 +02:00
|
|
|
{
|
|
|
|
# Make some methods of ProfileManager virtual.
|
2016-08-04 14:37:53 +02:00
|
|
|
# Allow CEF to intercept GetBrowserContext*InIncognito functions.
|
2016-07-18 23:22:22 +02:00
|
|
|
'name': 'chrome_profile',
|
|
|
|
'path': '../',
|
|
|
|
},
|
2012-04-03 03:34:16 +02:00
|
|
|
]
|