Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Unified Diff: remoting/host/chromeos/aura_desktop_capturer.cc

Issue 2483483004: [Chromoting] Implement new APIs in DesktopCapturer (Closed)
Patch Set: Resolve review comments Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/chromeos/aura_desktop_capturer.h ('k') | remoting/host/desktop_capturer_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/chromeos/aura_desktop_capturer.cc
diff --git a/remoting/host/chromeos/aura_desktop_capturer.cc b/remoting/host/chromeos/aura_desktop_capturer.cc
index 72740736da9f00fb8c4de6469f7e3679d5ee576e..08fda205a3027c61fb07c0c5577fdaf82680d299 100644
--- a/remoting/host/chromeos/aura_desktop_capturer.cc
+++ b/remoting/host/chromeos/aura_desktop_capturer.cc
@@ -20,11 +20,9 @@
namespace remoting {
AuraDesktopCapturer::AuraDesktopCapturer()
- : callback_(nullptr), desktop_window_(nullptr), weak_factory_(this) {
-}
+ : callback_(nullptr), desktop_window_(nullptr), weak_factory_(this) {}
-AuraDesktopCapturer::~AuraDesktopCapturer() {
-}
+AuraDesktopCapturer::~AuraDesktopCapturer() {}
void AuraDesktopCapturer::Start(webrtc::DesktopCapturer::Callback* callback) {
#if defined(USE_ASH)
@@ -79,4 +77,15 @@ void AuraDesktopCapturer::OnFrameCaptured(
std::move(frame));
}
+bool AuraDesktopCapturer::GetSourceList(SourceList* sources) {
+ // TODO(zijiehe): Implement screen enumeration.
+ sources->push_back({0});
+ return true;
+}
+
+bool AuraDesktopCapturer::SelectSource(SourceId id) {
+ // TODO(zijiehe): Implement screen selection.
+ return true;
+}
+
} // namespace remoting
« no previous file with comments | « remoting/host/chromeos/aura_desktop_capturer.h ('k') | remoting/host/desktop_capturer_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698