Marshall Greenblatt
6d7a680187
Add permission callback for user-initated downloads (fixes issue #3183 )
...
This change adds a CefDownloadHandler::CanDownload callback for optionally
blocking user-initiated downloads (e.g. alt + link click or link click that
returns a `Content-Disposition: attachment` response from the server).
To test:
- Run `ceftests --gtest_filter=DownloadTest.*`.
- Run `cefclient --hide-controls`. User-initiated downloads will be blocked.
2022-03-22 17:46:44 -04:00
..
2022-01-26 21:10:29 -05:00
2022-02-22 19:22:39 -05:00
2022-02-22 19:22:39 -05:00
2022-02-22 19:22:39 -05:00
2022-02-22 19:22:39 -05:00
2022-01-26 21:10:29 -05:00
2022-02-22 19:22:39 -05:00
2022-02-16 18:28:08 -05:00
2022-02-22 19:22:39 -05:00
2022-02-22 19:22:39 -05:00
2022-03-22 17:46:44 -04:00
2022-01-26 21:10:29 -05:00
2022-02-22 19:22:39 -05:00
2022-02-22 19:22:39 -05:00
2022-02-22 19:22:39 -05:00
2021-07-27 19:03:09 -04:00
2022-03-22 12:39:17 -04:00
2022-02-22 19:22:39 -05:00
2022-02-22 19:22:39 -05:00
2022-02-22 19:22:39 -05:00
2022-02-22 19:22:39 -05:00
2022-02-22 19:22:39 -05:00
2021-12-18 15:57:34 -05:00
2022-02-22 19:22:39 -05:00
2022-03-22 15:11:47 -04:00
2022-03-09 15:12:24 -05:00
2022-02-22 19:22:39 -05:00
2022-02-22 19:22:39 -05:00
2022-03-09 15:12:24 -05:00
2022-03-17 15:34:49 -04:00
2022-02-22 19:22:39 -05:00
2022-02-22 19:22:39 -05:00
2022-02-22 19:22:39 -05:00
2021-12-18 15:57:34 -05:00
2022-02-22 19:22:39 -05:00
2022-02-22 19:22:39 -05:00
2021-11-15 14:25:16 -05:00
2022-01-26 21:10:29 -05:00
2022-01-26 21:10:29 -05:00
2022-02-22 19:22:39 -05:00
2021-08-24 17:43:02 -04:00
2022-02-22 19:22:39 -05:00
2021-04-23 11:38:51 -04:00
2021-04-23 11:38:51 -04:00
2021-04-23 11:38:51 -04:00
2022-02-22 19:22:39 -05:00
2022-01-26 21:10:29 -05:00
2022-02-22 19:22:39 -05:00
2022-02-22 19:22:39 -05:00
2022-02-22 19:22:39 -05:00
2022-02-22 19:22:39 -05:00
2022-02-22 19:22:39 -05:00
2022-02-18 11:37:27 -05:00
2022-02-22 19:22:39 -05:00
2022-02-22 19:22:39 -05:00
2022-01-26 21:10:29 -05:00
2022-02-22 19:22:39 -05:00
2022-02-22 19:22:39 -05:00
2022-02-22 19:22:39 -05:00
2021-12-18 15:57:34 -05:00
2022-02-22 19:22:39 -05:00
2022-02-22 19:22:39 -05:00
2022-01-26 21:10:29 -05:00
2021-04-23 11:38:51 -04:00
2022-02-22 19:22:39 -05:00
2022-02-22 19:22:39 -05:00
2022-02-22 19:22:39 -05:00
2022-02-22 19:22:39 -05:00
2021-07-27 19:03:09 -04:00
2022-02-22 19:22:39 -05:00
2022-02-22 19:22:39 -05:00
2022-01-26 21:10:29 -05:00
2022-02-22 19:22:39 -05:00
2021-04-23 11:38:51 -04:00
2022-01-26 21:10:29 -05:00