electron/shell/browser/ui
Charles Kerr f36ceae024
chore: migrate base::StringPiece to std::string_view (#40915)
* chore: migrate from base::StringPiece to std::string_view in keyboard_util.cc

* chore: migrate from base::StringPiece to std::string_view in error_thrower.cc

* chore: migrate from base::StringPiece to std::string_view in electron_api_web_contents.cc

* chore: migrate from base::StringPiece to std::string_view in gin_helper/dictionary.h

* chore: migrate from base::StringPiece to std::string_view in electron_api_url_loader.cc

* chore: phase out internal use of base:::StringPiece

`base::StringPiece` is being phased out upstream. Its code has been
removed upstream and it's just a typedef for `std::string_view`.

They haven't removed the typedef yet, so this PR tries to get ahead
of future breakage by migrating "internal" use (i.e. leaving alone the
places where the `base::StringPiece` name is coming from an upstream
method that we override).

Xref: https://bugs.chromium.org/p/chromium/issues/detail?id=691162

Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4294483

Xref: https://docs.google.com/document/d/1d4RnD1uAE2t4iANR0nXy82ASIPGsPuw2mpO6v6T7JKs
2024-01-10 19:00:37 -06:00
..
cocoa chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00
gtk perf: use flat_set, flat_map for small, trivially-moved containers (#40817) 2024-01-05 12:18:31 +01:00
views chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00
webui chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00
win chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00
x chore: bump chromium to 121.0.6159.0 (main) (#40632) 2023-12-11 14:58:26 -06:00
accelerator_util.cc chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00
accelerator_util.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
accelerator_util_unittests.cc chore: bump chromium to 117.0.5913.0 (main) (#39172) 2023-07-31 10:47:32 -07:00
autofill_popup.cc build: remove enable_osr build flag (#38703) 2023-06-13 14:48:53 -04:00
autofill_popup.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
certificate_trust.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
certificate_trust_mac.mm chore: bump chromium to 121.0.6116.0 (main) (#40490) 2023-11-14 13:21:32 -08:00
certificate_trust_win.cc refactor: replace remaining NULL with nullptr (#40053) 2023-10-03 12:26:35 -07:00
devtools_manager_delegate.cc chore: bump chromium to 117.0.5938.0 (main) (#39375) 2023-08-15 10:49:41 -05:00
devtools_manager_delegate.h chore: bump chromium to 117.0.5938.0 (main) (#39375) 2023-08-15 10:49:41 -05:00
devtools_ui.cc chore: bump chromium to 107.0.5274.0 (main) (#35375) 2022-09-07 09:46:37 +02:00
devtools_ui.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
drag_util.cc chore: remove dead draggable region code (#38404) 2023-05-24 10:03:07 +02:00
drag_util.h chore: bump chromium to 117.0.5884.1 (main) (#38969) 2023-07-16 16:14:43 +02:00
drag_util_mac.mm chore: bump chromium to 118.0.5975.0 (main) (#39531) 2023-09-01 15:54:59 +09:00
drag_util_views.cc chore: cleanup drag_util (#36806) 2023-01-09 10:00:47 +01:00
electron_desktop_window_tree_host_linux.cc chore: bump chromium to 122.0.6194.0 (main) (#40750) 2024-01-03 09:52:49 +01:00
electron_desktop_window_tree_host_linux.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
electron_gdk_pixbuf.sigs refactor: use stubs for gdk-pixbuf dependency (#34077) 2022-06-19 17:42:30 -07:00
electron_gtk.fragment refactor: use stubs for gdk-pixbuf dependency (#34077) 2022-06-19 17:42:30 -07:00
electron_gtk.sigs refactor: use stubs for gdk-pixbuf dependency (#34077) 2022-06-19 17:42:30 -07:00
electron_menu_model.cc chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00
electron_menu_model.h chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00
file_dialog.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
file_dialog_gtk.cc refactor: use gin_helper::Dictionary::CreateEmpty() helper (#40140) 2023-10-10 12:45:44 +02:00
file_dialog_mac.mm chore: migrate base::StringPiece to std::string_view (#40915) 2024-01-10 19:00:37 -06:00
file_dialog_win.cc refactor: use gin_helper::Dictionary::CreateEmpty() helper (#40140) 2023-10-10 12:45:44 +02:00
gtk_util.cc chore: update links in comments (#37197) 2023-02-11 18:52:54 -08:00
gtk_util.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
inspectable_web_contents.cc chore: migrate base::StringPiece to std::string_view (#40915) 2024-01-10 19:00:37 -06:00
inspectable_web_contents.h perf: use flat_set, flat_map for small, trivially-moved containers (#40817) 2024-01-05 12:18:31 +01:00
inspectable_web_contents_delegate.h feat: emit devtools-open-url event for DevTools link selection (#36774) 2023-01-26 09:54:26 +01:00
inspectable_web_contents_view.cc chore: Move draggable regions implementation from NativeBrowserView into InspectableWebContentsView (#35007) 2022-10-17 11:10:07 -04:00
inspectable_web_contents_view.h feat: add a 'title' parameter to openDevTools() (#39047) 2023-08-15 14:32:53 +09:00
inspectable_web_contents_view_delegate.cc chore: bump chromium to 93.0.4536.0 (main) (#29586) 2021-06-08 15:22:43 -05:00
inspectable_web_contents_view_delegate.h chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
inspectable_web_contents_view_mac.h chore: cleanup arc migration helpers (#39606) 2023-08-23 09:54:21 -04:00
inspectable_web_contents_view_mac.mm feat: add a 'title' parameter to openDevTools() (#39047) 2023-08-15 14:32:53 +09:00
message_box.h chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00
message_box_gtk.cc chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00
message_box_mac.mm chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00
message_box_win.cc chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00
run_all_unittests.cc chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
status_icon_gtk.cc chore: bump chromium to 119.0.6045.0 (main) (#40076) 2023-10-05 19:59:39 -04:00
status_icon_gtk.h chore: bump chromium to 119.0.6045.0 (main) (#40076) 2023-10-05 19:59:39 -04:00
tray_icon.cc feat: add middle click event to tray (#39926) 2023-09-27 14:21:15 -04:00
tray_icon.h chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00
tray_icon_cocoa.h chore: bump chromium to 121.0.6159.0 (main) (#40632) 2023-12-11 14:58:26 -06:00
tray_icon_cocoa.mm chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00
tray_icon_linux.cc chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00
tray_icon_linux.h chore: bump chromium to 116.0.5817.0 (main) (#38465) 2023-06-09 16:08:36 -07:00
tray_icon_observer.h feat: add middle click event to tray (#39926) 2023-09-27 14:21:15 -04:00
tray_icon_win.cc chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00