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

Unified Diff: ui/views/widget/desktop_aura/desktop_capture_client.h

Issue 2626013005: Change CaptureSynchronizer and PointerWatcherEventRouter to support multiple CaptureClients. (Closed)
Patch Set: fix leak in test Created 3 years, 11 months 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
Index: ui/views/widget/desktop_aura/desktop_capture_client.h
diff --git a/ui/views/widget/desktop_aura/desktop_capture_client.h b/ui/views/widget/desktop_aura/desktop_capture_client.h
index 497e896ff5ba3638247619e11a3e4704c0e00173..1f19ec64fa5f592b7277949370d41849fa6b5d97 100644
--- a/ui/views/widget/desktop_aura/desktop_capture_client.h
+++ b/ui/views/widget/desktop_aura/desktop_capture_client.h
@@ -9,6 +9,7 @@
#include "base/compiler_specific.h"
#include "base/macros.h"
+#include "base/observer_list.h"
#include "ui/aura/client/capture_client.h"
#include "ui/views/views_export.h"
@@ -57,6 +58,8 @@ class VIEWS_EXPORT DesktopCaptureClient : public aura::client::CaptureClient {
// Set of DesktopCaptureClients.
static CaptureClients* capture_clients_;
+ base::ObserverList<aura::client::CaptureClientObserver> observers_;
+
DISALLOW_COPY_AND_ASSIGN(DesktopCaptureClient);
};
« no previous file with comments | « ui/views/mus/pointer_watcher_event_router.cc ('k') | ui/views/widget/desktop_aura/desktop_capture_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698