electron/shell/common/gin_converters
Charles Kerr 10fd0ba655
refactor: use base::Value::Take*() (#41169)
* perf: avoid temporary strings in Converter<net::HttpRequestHeaders>::FromV8()

* perf: take strings instead of copying them in ToResponseHead()

* refactor: prefer base::Value::Take*() where appropriate

As per the base::Value docs: "prefer over `std::move(value.Get...())`
so clang-tidy can warn about potential use-after-move mistakes."
2024-05-13 15:58:52 +02:00
..
accelerator_converter.cc chore: remove native_mate (Part 11) (#20719) 2019-10-25 22:03:28 +09:00
accelerator_converter.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
base_converter.h chore: bump chromium to 121.0.6147.0 (main) (#40523) 2023-11-28 13:40:12 -08:00
blink_converter.cc chore: bump chromium to 123.0.6296.0 (main) (#41204) 2024-02-14 12:33:32 -05:00
blink_converter.h chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00
callback_converter.h chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
content_converter.cc feat: implement File System API support (#41419) 2024-04-10 22:06:47 +02:00
content_converter.h feat: add support for keyboard initialized menu popup (#38903) 2023-06-29 15:54:06 -07:00
extension_converter.cc perf: avoid unnecessary base value clone (#38537) 2023-06-02 08:38:29 -05:00
extension_converter.h chore: remove unused std includes (#38767) 2023-06-14 11:07:18 -07:00
file_dialog_converter.cc refactor: add gin_helper::Dictionary::CreateEmpty() helper (#39547) 2023-08-21 10:43:41 +09:00
file_dialog_converter.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
file_path_converter.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
frame_converter.cc chore: bump chromium to 119.0.6006.0 (main) (#39774) 2023-09-18 16:44:09 -04:00
frame_converter.h feat: session.setDisplayMediaRequestHandler (#30702) 2022-08-22 14:15:32 -07:00
gfx_converter.cc fix: BrowserView autoresizing conversion error (#42056) 2024-05-13 10:27:01 +02:00
gfx_converter.h feat: replace BrowserView with WebContentsView (#35658) 2023-12-13 13:01:03 -08:00
guid_converter.h chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
gurl_converter.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
hid_device_info_converter.h chore: bump chromium to 121.0.6147.0 (main) (#40523) 2023-11-28 13:40:12 -08:00
image_converter.cc refactor: remove path from nativeImage converter (#26546) 2021-01-04 12:58:31 -08:00
image_converter.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
login_item_settings_converter.cc fix: `app.setLoginItemSettings` error getting swallowed by gin conversion (#41647) 2024-03-22 09:00:21 -04:00
login_item_settings_converter.h fix: `app.setLoginItemSettings` error getting swallowed by gin conversion (#41647) 2024-03-22 09:00:21 -04:00
media_converter.cc chore: remove unused std includes (#38767) 2023-06-14 11:07:18 -07:00
media_converter.h feat: session.setDisplayMediaRequestHandler (#30702) 2022-08-22 14:15:32 -07:00
message_box_converter.cc feat: add width option to dialog.showMessageBox() (#30474) 2021-09-23 19:56:14 +09:00
message_box_converter.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
native_window_converter.h refactor: replace remaining `NULL` with `nullptr` (#40053) 2023-10-03 12:26:35 -07:00
net_converter.cc refactor: use base::Value::Take*() (#41169) 2024-05-13 15:58:52 +02:00
net_converter.h chore: remove unused std includes (#38767) 2023-06-14 11:07:18 -07:00
optional_converter.h chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00
serial_port_info_converter.h refactor: add gin_helper::Dictionary::CreateEmpty() helper (#39547) 2023-08-21 10:43:41 +09:00
std_converter.h refactor: use constexpr lookup tables in gin helper (#38818) 2023-06-19 10:33:09 +02:00
time_converter.cc chore: bump chromium to 120.0.6099.0 (main) (#40316) 2023-11-01 10:02:12 -04:00
time_converter.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
usb_device_info_converter.h feat: add support for WebUSB (#36289) 2022-11-22 16:50:32 -05:00
usb_protected_classes_converter.h feat: add USB protected classes handler (#38263) 2023-05-30 12:35:25 -04:00
value_converter.cc refactor: use base::Value::Take*() (#41169) 2024-05-13 15:58:52 +02:00
value_converter.h perf: avoid unnecessary base value clone (#38537) 2023-06-02 08:38:29 -05:00