patch.cfg 9.71 KB
Newer Older
1
2
3
4
5
6
7
8
9
# 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 = [
  {
10
    # Necessary for grit integration.
11
12
13
    'name': 'gritsettings',
    'path': '../tools/gritsettings/',
  },
14
15
16
17
18
19
20
21
  {
    # 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
22
23
24
    #
    # Write environment.* files with the correct SDK version on Windows.
    # https://bugs.chromium.org/p/chromium/issues/detail?id=634788
25
26
27
    'name': 'gn_config',
    'path': '../',
  },
28
  {
29
    # Support loading of password protected zip archives.
30
    # https://bitbucket.org/chromiumembedded/cef/issues/496
31
32
33
    'name': 'zlib',
    'path': '../third_party/zlib/',
  },
Marshall Greenblatt's avatar
Marshall Greenblatt committed
34
  {
35
    # Avoid MessageLoop assertion on OS X.
36
    # https://bitbucket.org/chromiumembedded/cef/issues/443
37
38
39
40
    #
    # Revert change on Windows that removes MessageLoop::os_modal_loop().
    # https://codereview.chromium.org/1992243003
    'name': 'message_loop_443_1992243003',
41
    'path': '../base/message_loop/',
Marshall Greenblatt's avatar
Marshall Greenblatt committed
42
  },
43
44
45
46
47
  {
    # Enable popups in offscreen rendering on OS X.
    'name': 'webkit_popups',
    'path': '../third_party/WebKit/',
  },
48
49
  {
    # Fix export of UnderlayOpenGLHostingWindow for 64-bit OS X builds.
50
    # https://bitbucket.org/chromiumembedded/cef/issues/1051
51
52
53
    'name': 'underlay_1051',
    'path': '../ui/base/cocoa/',
  },
54
55
  {
    # Allow specification of a parent window handle for Widget creation.
56
    # https://bitbucket.org/chromiumembedded/cef/issues/180
57
58
59
60
    #
    # Fix multiple handling of WM_MOUSEWHEEL messages on Windows.
    # https://bitbucket.org/chromiumembedded/cef/issues/1481
    #
61
    # Fix focus/activation handling and keyboard input on Windows and Linux.
62
    # https://bitbucket.org/chromiumembedded/cef/issues/1677
63
    # https://bitbucket.org/chromiumembedded/cef/issues/1679
64
    # https://bitbucket.org/chromiumembedded/cef/issues/1700
65
66
67
68
    #
    # Support creation of captionless windows with resizable borders.
    # https://bitbucket.org/chromiumembedded/cef/issues/1749
    'name': 'views_widget_180_1481_1677_1749',
69
70
    'path': '../',
  },
71
72
  {
    # Allow continued use of ContentRendererClient::HandleNavigation.
73
    # https://bitbucket.org/chromiumembedded/cef/issues/1129
74
75
76
    'name': 'content_nav_1129',
    'path': '../content/',
  },
77
  {
78
    # Allow specification of a custom WebContentsView.
79
    # https://bitbucket.org/chromiumembedded/cef/issues/1257
80
81
    'name': 'web_contents_1257',
    'path': '../',
82
  },
83
84
  {
    # Allow creation of a custom SoftwareOutputDevice.
85
    # https://bitbucket.org/chromiumembedded/cef/issues/1368
86
87
88
    'name': 'compositor_1368',
    'path': '../',
  },
89
90
91
92
93
94
95
96
97
98
99
100
101
102
  {
    # 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/',
  },
103
104
  {
    # Allow customization of the WebView background color.
105
    # https://bitbucket.org/chromiumembedded/cef/issues/1161
106
107
108
109
    # https://codereview.chromium.org/228603007/
    'name': 'prefs_content_1161',
    'path': '../content/',
  },
110
111
112
113
114
115
  {
    # 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/',
  },
116
117
118
  {
    # Fix AtExitManager assertion on SpellcheckServiceFactory destruction during
    # Windows multi-threaded message loop shutdown.
119
    # https://bitbucket.org/chromiumembedded/cef/issues/137
120
121
122
    'name': 'spellcheck_137',
    'path': '../chrome/browser/spellchecker/',
  },
123
124
125
126
127
128
129
  {
    # 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/',
  },
130
131
132
  {
    # Make URLRequest::set_is_pending() public so that it can be called from
    # CefRequestInterceptor::MaybeInterceptResponse().
133
    # https://bitbucket.org/chromiumembedded/cef/issues/1327
134
135
136
    'name': 'net_urlrequest_1327',
    'path': '../net/url_request/',
  },
137
138
139
140
141
142
  {
    # 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/',
  },
143
144
145
146
147
148
  {
    # Fix placement of IME window on Windows.
    # https://bitbucket.org/chromiumembedded/cef/issue/1610
    'name': 'ime_1610',
    'path': '../ui/base/ime/',
  },
149
150
151
  {
    # Enable support for print header and footer.
    # https://bitbucket.org/chromiumembedded/cef/issue/1478
152
    #
153
154
    # Fix printing of PDF documents via PrintToPDF.
    # https://bitbucket.org/chromiumembedded/cef/issues/1565
155
    #
156
157
    # Revert ENABLE_PRINT_PREVIEW changes from the following changeset.
    # https://codereview.chromium.org/1556463003
158
159
    #
    # Add missing ENABLE_PRINT_PREVIEW checks in chrome/ on Mac.
160
    'name': 'print_header_footer_1478_1565',
161
    'path': '../',
162
  },
163
164
165
166
167
168
  {
    # 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/',
  },
169
170
171
172
173
174
175
  {
    # 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/',
  },
176
177
178
179
180
181
  {
    # Fix loading of the PDF extension with proxy BrowserContext.
    # https://bitbucket.org/chromiumembedded/cef/issues/1710
    'name': 'supports_user_data_1710',
    'path': '../base/',
  },
182
183
184
185
186
187
  {
    # Fix background color on Mac.
    # https://codereview.chromium.org/1070383005 (reverted)
    'name': 'render_widget_host_1070383005',
    'path': '../content/browser/renderer_host/',
  },
188
189
190
  {
    # Fix missing check for defined(ENABLE_THEMES) in
    # renderer_preferences_util.cc on Linux.
191
    # https://bugs.chromium.org/p/chromium/issues/detail?id=545103
192
193
194
195
196
197
198
199
200
    '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/',
  },
201
202
203
  {
    # Fix crash while printing on Windows by properly initializing V8 in the PDF
    # module.
204
    # https://bugs.chromium.org/p/chromium/issues/detail?id=549365#c17
205
206
207
    'name': 'pdfium_print_549365',
    'path': '../third_party/pdfium/',
  },
208
209
210
211
212
213
  {
    # Enable support for filtering resource responses.
    # https://bitbucket.org/chromiumembedded/cef/issues/515
    'name': 'net_filter_515',
    'path': '../net/',
  },
214
215
216
217
218
219
220
  {
    # Modify views::View to extend SupportsUserData.
    # Modify views::MenuButton behavior.
    # https://bitbucket.org/chromiumembedded/cef/issues/1749
    'name': 'views_1749',
    'path': '../ui/views/',
  },
221
  {
222
223
224
225
    # Expose RenderViewHostImpl swapped-out state.
    # https://bitbucket.org/chromiumembedded/cef/issues/1392
    'name': 'render_view_host_impl_1392',
    'path': '../content/browser/renderer_host/',
226
  },
227
228
229
230
231
  {
    # Expose ui::Compositor via BrowserCompositorMac for OSR.
    'name': 'browser_compositor_mac',
    'path': '../',
  },
232
233
234
235
236
  {
    # Fix chrome Widevine build on Linux.
    'name': 'chrome_widevine',
    'path': '../',
  },
237
238
  {
    # Make some methods of ProfileManager virtual.
239
    # Allow CEF to intercept GetBrowserContext*InIncognito functions.
240
241
242
    'name': 'chrome_profile',
    'path': '../',
  },
243
244
245
246
247
248
  {
    # 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
249
250
251
252
    #
    # Clear RenderProcessHostImpl's |browser_context_| member when the
    # BrowserContext is deleted.
    # https://bitbucket.org/chromiumembedded/cef/issues/2032
253
254
255
    'name': 'storage_partition_1973',
    'path': '../',
  },
256
  {
257
258
259
260
261
262
263
264
265
266
    # Pass the render process id to PluginServiceFilter::IsPluginAvailable.
    # https://bugs.chromium.org/p/chromium/issues/detail?id=626728#c15
    'name': 'render_frame_message_filter_626728',
    'path': '../',
  },
  {
    # Don't add TestDesktopScreenX11 dependency on Linux.
    # Revert ui_controls_factory_desktop_aurax11.cc changes from
    # https://codereview.chromium.org/2327623002
    'name': 'ui_views_test_640741',
267
268
    'path': '../',
  },
269
270
271
272
273
274
275
276
  {
    # Fix PDF extension loading after showing the plugin placeholder.
    # https://bitbucket.org/chromiumembedded/cef/issues/2020/
    # Reverts https://codereview.chromium.org/2352673003 and
    # https://codereview.chromium.org/2344023002
    'name': 'webview_plugin_2020',
    'path': '../',
  },
277
278
279
280
281
282
283
284
  {
    # 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',
    'path': '../',
  },
285
]