chore: remove OnSourceAdded (re-add in the future)

This commit is contained in:
Keeley Hammond 2024-08-27 13:36:10 -04:00
Родитель b55ce359f4
Коммит 7d6b068b64
Не найден ключ, соответствующий данной подписи
2 изменённых файлов: 1 добавлений и 7 удалений

Просмотреть файл

@ -238,12 +238,6 @@ void DesktopCapturer::DesktopListListener::OnDelegatedSourceListSelection() {
}
}
void DesktopCapturer::DesktopListListener::OnSourceAdded(int index) {
// TODO: Implement the wrapped DesktopCapturer::RequestUpdate callback
// here for native pickers, instead of in the screen/window implementation
// below
}
void DesktopCapturer::DesktopListListener::OnSourceThumbnailChanged(int index) {
if (have_selection_) {
// This is called every time a thumbnail is refreshed. Reset variable to

Просмотреть файл

@ -78,7 +78,7 @@ class DesktopCapturer final : public gin::Wrappable<DesktopCapturer>,
~DesktopListListener() override;
protected:
void OnSourceAdded(int index) override;
void OnSourceAdded(int index) override {}
void OnSourceRemoved(int index) override {}
void OnSourceMoved(int old_index, int new_index) override {}
void OnSourceNameChanged(int index) override {}