electron/shell/browser/serial
trop[bot] f609d77e29
refactor: add SerialChooserController::web_contents_ (#43920)
Add a `base::WeakPtr<WebContents>` field to SerialChooserController and
stop subclassing from WebContentsObserver. This follows the Observer docs:

> don't create a `WebContentsObserver` just to be able to check
> for a null `WebContentsObserver::web_contents()`.
> Use a `base::WeakPtr<WebContents>` instead.

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2024-09-24 08:26:29 -05:00
..
electron_serial_delegate.cc feat(serial): allow Bluetooth ports to be requested by service class ID (#41638) 2024-03-28 18:23:13 +01:00
electron_serial_delegate.h chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
serial_chooser_context.cc refactor: move impl functions into private namespace (#43408) 2024-08-21 19:43:01 -05:00
serial_chooser_context.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
serial_chooser_context_factory.cc refactor: remove use of deprecated API BuildServiceInstanceFor() (#43707) 2024-09-13 15:26:10 -05:00
serial_chooser_context_factory.h refactor: remove use of deprecated API BuildServiceInstanceFor() (#43707) 2024-09-13 15:26:10 -05:00
serial_chooser_controller.cc refactor: add SerialChooserController::web_contents_ (#43920) 2024-09-24 08:26:29 -05:00
serial_chooser_controller.h refactor: add SerialChooserController::web_contents_ (#43920) 2024-09-24 08:26:29 -05:00