зеркало из https://github.com/electron/electron.git
chore: remove OnSourceAdded (re-add in the future)
This commit is contained in:
Родитель
b55ce359f4
Коммит
7d6b068b64
|
@ -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 {}
|
||||
|
|
Загрузка…
Ссылка в новой задаче