patch.cfg 12 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Patch configuration file. See the README.txt file in the patch directory for
# information on how this configuration is used.
#
# Each dictionary entry in the "patches" map represents a single patch file.
# Supported key/value pairs are as follows:
#
# - 'name'       Required. The name of the patch file without the .patch
#                extension that will be read from the patches subdirectory.
# - 'path'       Optional. The repository root for the patch file. Defaults to
#                the Chromium "src" root. All patch file contents must be
#                relative to this repository root.
# - 'condition'  Optional. The patch file will only be applied if an environment
#                variable with this name exists.
#
# Each entry should also include a comment linking to the code review or bug
# report that the patch relates to.
17
18
19

patches = [
  {
20
    # Necessary for grit integration.
21
22
    'name': 'gritsettings',
  },
23
24
25
26
27
28
29
30
  {
    # 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
31
32
33
    #
    # Write environment.* files with the correct SDK version on Windows.
    # https://bugs.chromium.org/p/chromium/issues/detail?id=634788
34
35
    'name': 'gn_config',
  },
36
37
38
39
40
  {
    # Support component builds (GN is_component_build=true).
    # https://bitbucket.org/chromiumembedded/cef/issues/1617
    'name': 'component_build_1617',
  },
41
  {
42
    # Support loading of password protected zip archives.
43
    # https://bitbucket.org/chromiumembedded/cef/issues/496
44
45
    'name': 'zlib',
  },
Marshall Greenblatt's avatar
Marshall Greenblatt committed
46
  {
47
48
49
    # Revert change on Windows that removes MessageLoop::os_modal_loop().
    # https://codereview.chromium.org/1992243003
    'name': 'message_loop_443_1992243003',
Marshall Greenblatt's avatar
Marshall Greenblatt committed
50
  },
51
52
53
54
  {
    # Enable popups in offscreen rendering on OS X.
    'name': 'webkit_popups',
  },
55
56
  {
    # Fix export of UnderlayOpenGLHostingWindow for 64-bit OS X builds.
57
    # https://bitbucket.org/chromiumembedded/cef/issues/1051
58
59
    'name': 'underlay_1051',
  },
60
61
  {
    # Allow specification of a parent window handle for Widget creation.
62
    # https://bitbucket.org/chromiumembedded/cef/issues/180
63
64
65
66
    #
    # Fix multiple handling of WM_MOUSEWHEEL messages on Windows.
    # https://bitbucket.org/chromiumembedded/cef/issues/1481
    #
67
68
69
    # Support custom RenderWidgetHostViewOSR for BrowserPluginGuest.
    # https://bitbucket.org/chromiumembedded/cef/issues/1565
    #
70
    # Fix focus/activation handling and keyboard input on Windows and Linux.
71
    # https://bitbucket.org/chromiumembedded/cef/issues/1677
72
    # https://bitbucket.org/chromiumembedded/cef/issues/1679
73
    # https://bitbucket.org/chromiumembedded/cef/issues/1700
74
75
76
    #
    # Support creation of captionless windows with resizable borders.
    # https://bitbucket.org/chromiumembedded/cef/issues/1749
77
78
79
    #
    # Support configuration of RWHVGuest device scale factor.
    # https://bitbucket.org/chromiumembedded/cef/issues/2078
80
    'name': 'views_widget_180_1481_1565_1677_1749',
81
  },
82
  {
83
    # Allow specification of a custom WebContentsView.
84
    # https://bitbucket.org/chromiumembedded/cef/issues/1257
85
86
87
88
    #
    # Support custom RenderWidgetHostViewOSR for BrowserPluginGuest.
    # https://bitbucket.org/chromiumembedded/cef/issues/1565
    'name': 'web_contents_1257_1565',
89
  },
90
91
  {
    # Allow creation of a custom SoftwareOutputDevice.
92
    # https://bitbucket.org/chromiumembedded/cef/issues/1368
93
94
    'name': 'compositor_1368',
  },
95
  {
96
    # Support custom RenderWidgetHostViewOSR for BrowserPluginGuest.
97
98
99
    # https://bitbucket.org/chromiumembedded/cef/issues/1565
    'name': 'browser_plugin_guest_1565',
  },
100
101
  {
    # Allow customization of the WebView background color.
102
    # https://bitbucket.org/chromiumembedded/cef/issues/1161
103
104
105
    # https://codereview.chromium.org/228603007/
    'name': 'prefs_content_1161',
  },
106
107
108
109
110
  {
    # Fix drag&drop of combined text and URL data on Linux/Aura.
    # https://codereview.chromium.org/208313009
    'name': 'ui_dragdrop_355390',
  },
111
  {
112
113
    # Windows: Fix AtExitManager assertion on *ServiceFactory destruction during
    # multi-threaded message loop shutdown.
114
    # https://bitbucket.org/chromiumembedded/cef/issues/1680
115
    'name': 'service_factory_1680',
116
  },
117
118
119
  {
    # Make URLRequest::set_is_pending() public so that it can be called from
    # CefRequestInterceptor::MaybeInterceptResponse().
120
    # https://bitbucket.org/chromiumembedded/cef/issues/1327
121
122
    'name': 'net_urlrequest_1327',
  },
123
124
125
126
127
  {
    # Remove NOTREACHED() that is hit when loading Flash in incognito mode.
    # https://bitbucket.org/chromiumembedded/cef/issue/1586
    'name': 'content_pepper_flash_1586',
  },
128
129
130
131
132
  {
    # Fix placement of IME window on Windows.
    # https://bitbucket.org/chromiumembedded/cef/issue/1610
    'name': 'ime_1610',
  },
133
134
135
  {
    # Enable support for print header and footer.
    # https://bitbucket.org/chromiumembedded/cef/issue/1478
136
    #
137
138
    # Fix printing of PDF documents via PrintToPDF.
    # https://bitbucket.org/chromiumembedded/cef/issues/1565
139
    #
140
141
    # Revert ENABLE_PRINT_PREVIEW changes from the following changeset.
    # https://codereview.chromium.org/1556463003
142
143
    #
    # Add missing ENABLE_PRINT_PREVIEW checks in chrome/ on Mac.
144
    'name': 'print_header_footer_1478_1565',
145
  },
146
  {
147
148
149
    # Split service_manager::Main into the separate steps required by CEF.
    # https://bugs.chromium.org/p/chromium/issues/detail?id=654986#c17
    #
150
151
    # Remove DCHECK on Linux when initialized CEF from a non-main thread.
    # https://bitbucket.org/chromiumembedded/cef/issue/1639
152
    'name': 'service_manager_654986',
153
  },
154
155
156
157
158
159
  {
    # 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',
  },
160
161
162
163
164
  {
    # Fix loading of the PDF extension with proxy BrowserContext.
    # https://bitbucket.org/chromiumembedded/cef/issues/1710
    'name': 'supports_user_data_1710',
  },
165
166
167
  {
    # Fix missing check for defined(ENABLE_THEMES) in
    # renderer_preferences_util.cc on Linux.
168
    # https://bugs.chromium.org/p/chromium/issues/detail?id=545103
169
170
171
172
173
174
175
    'name': 'renderer_preferences_util_545103',
  },
  {
    # Expose the FontFamilyCache UserData key.
    # https://bitbucket.org/chromiumembedded/cef/issues/1501
    'name': 'font_family_cache_1501',
  },
176
177
178
  {
    # Fix crash while printing on Windows by properly initializing V8 in the PDF
    # module.
179
    # https://bugs.chromium.org/p/chromium/issues/detail?id=549365#c17
180
    'name': 'pdfium_print_549365',
181
    'path': 'third_party/pdfium/',
182
  },
183
184
185
186
187
  {
    # Enable support for filtering resource responses.
    # https://bitbucket.org/chromiumembedded/cef/issues/515
    'name': 'net_filter_515',
  },
188
189
190
191
  {
    # Modify views::View to extend SupportsUserData.
    # Modify views::MenuButton behavior.
    # https://bitbucket.org/chromiumembedded/cef/issues/1749
192
193
194
195
196
197
198
199
200
    #
    # Don't add TestDesktopScreenX11 dependency on Linux.
    # Reverts ui_controls_factory_desktop_aurax11.cc changes from
    # https://codereview.chromium.org/2327623002
    #
    # Add InkDropHostView::ink_drop_mode method.
    # Reverts ink_drop_host_view.h changes from
    # https://codereview.chromium.org/2723843002
    #
201
202
203
204
205
206
207
208
    # Add LabelButton::SetFontList method.
    # Reverts label_button.[cc|h] changes from
    # https://codereview.chromium.org/2801583002
    #
    # Expose callbacks for mouse/keyboard events that trigger menu switching.
    # Add accelerator display support to Label.
    # https://bitbucket.org/chromiumembedded/cef/issues/2102
    'name': 'views_1749_2102',
209
  },
210
  {
211
212
213
    # Expose RenderViewHostImpl swapped-out state.
    # https://bitbucket.org/chromiumembedded/cef/issues/1392
    'name': 'render_view_host_impl_1392',
214
  },
215
216
217
218
  {
    # Expose ui::Compositor via BrowserCompositorMac for OSR.
    'name': 'browser_compositor_mac',
  },
219
220
221
222
  {
    # Fix chrome Widevine build on Linux.
    'name': 'chrome_widevine',
  },
223
224
  {
    # Make some methods of ProfileManager virtual.
225
    # Allow CEF to intercept GetBrowserContext*InIncognito functions.
226
227
    'name': 'chrome_profile',
  },
228
229
230
231
232
233
  {
    # Support StoragePartition proxy by:
    # (a) Exposing UserData keys for objects owned by BrowserContext;
    # (b) Adding BrowserContext::GetStoragePartitionProxy();
    # (c) Removing static_cast<> of StoragePartition to StoragePartitionImpl.
    # https://bitbucket.org/chromiumembedded/cef/issues/1973
234
235
236
237
    #
    # Clear RenderProcessHostImpl's |browser_context_| member when the
    # BrowserContext is deleted.
    # https://bitbucket.org/chromiumembedded/cef/issues/2032
238
239
240
241
    #
    # Check RenderProcessHostImpl's |browser_context_| member before re-
    # initializing the channel from RPHI::ProcessDied.
    # https://bitbucket.org/chromiumembedded/cef/issues/2096
242
243
    'name': 'storage_partition_1973',
  },
244
  {
245
    # Fix plugin placeholder blocked message.
246
247
248
    # https://bitbucket.org/chromiumembedded/cef/issues/2020/
    'name': 'webview_plugin_2020',
  },
249
250
251
252
253
254
255
  {
    # Support WebUI by:
    # (a) Exposing required UserData keys;
    # (b) Removing dependency on non-NULL IOThread* object.
    # https://bitbucket.org/chromiumembedded/cef/issues/2037
    'name': 'webui_2037',
  },
256
257
258
259
260
  {
    # Support an option to enable/disable net security expiration.
    # https://bitbucket.org/chromiumembedded/cef/issues/1994
    'name': 'net_security_expiration_1994',
  },
261
262
263
264
265
  {
    # Remove DCHECK hit during latency reporting when using OSR.
    # https://bitbucket.org/chromiumembedded/cef/issues/2060
    'name': 'render_widget_latency_2060',
  },
266
267
268
269
270
271
272
273
274
275
276
277
278
  {
    # Implement breakpad/crashpad customization required by CEF.
    # https://bitbucket.org/chromiumembedded/cef/issues/1995
    'name': 'crashpad_1995',
  },
  {
    # Support customization of crash report pruning limits.
    # https://bugs.chromium.org/p/crashpad/issues/detail?id=142
    #
    # Implement better rate-limiting/retry logic.
    # https://bugs.chromium.org/p/crashpad/issues/detail?id=23
    'name': 'crashpad_tp_1995',
  },
279
280
281
282
283
  {
    # Fix white flash during browser creation.
    # https://bitbucket.org/chromiumembedded/cef/issues/1984
    'name': 'rwh_background_color_1984',
  },
284
  {
285
286
287
    # Allow continued use of ContentRendererClient::HandleNavigation.
    # https://bitbucket.org/chromiumembedded/cef/issues/1129
    #
288
289
290
291
292
    # Pass is_main_frame to PluginServiceFilter::IsPluginAvailable.
    # https://bitbucket.org/chromiumembedded/cef/issues/2015
    #
    # Pass the render process id to PluginServiceFilter::IsPluginAvailable.
    # https://bugs.chromium.org/p/chromium/issues/detail?id=626728#c15
293
294
295
296
    #
    # Expose RFH via NavigationHandle for retrieval in DidFinishNavigation on
    # network error.
    # https://groups.google.com/a/chromium.org/d/msg/chromium-dev/6iAQPx_hwh8/gaTR5f1GAQAJ
297
298
299
300
301
    #
    # Add ContentRendererClient::RenderThreadConnected to fix sync IPC issue.
    # https://bugs.chromium.org/p/chromium/issues/detail?id=728195
    #
    # Add RenderFrameObserver::FrameFocused method.
302
    'name': 'content_1129_2015',
303
304
305
306
  },
  {
    # Pass is_main_frame to PluginServiceFilter::IsPluginAvailable.
    # https://bitbucket.org/chromiumembedded/cef/issues/2015
307
    'name': 'webkit_plugin_info_2015',
308
  },
309
310
311
312
313
  {
    # Linux: Attach routing IDs to PrintingContext.
    # https://bitbucket.org/chromiumembedded/cef/issues/2196
    'name': 'printing_context_2196',
  },
314
  {
315
316
317
318
319
320
321
322
323
    # Linux: Fix build errors related to dependency versions.
    # https://chromium-review.googlesource.com/c/590271/
    'name': 'linux_build',
  },
  {
    # Linux: Fix duplicate definition of MurmerHash3 functions.
    # https://bugs.chromium.org/p/chromium/issues/detail?id=697758#c24
    'name': 'angle_697758',
    'path': 'third_party/angle/',
324
  },
325
  {
326
327
328
329
330
    # Fix ERROR:service_manager.cc(158) Connection InterfaceProviderSpec
    # prevented service: content_plugin from binding interface:
    # memory_instrumentation::mojom::Coordinator exposed by: content_browser
    # https://bugs.chromium.org/p/chromium/issues/detail?id=713806
    'name': 'content_manifest_713806',
331
  },
332
]