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

Unified Diff: ui/aura/client/capture_client.h

Issue 2626013005: Change CaptureSynchronizer and PointerWatcherEventRouter to support multiple CaptureClients. (Closed)
Patch Set: another approach to attach capture client 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
« no previous file with comments | « no previous file | ui/aura/client/capture_client.cc » ('j') | ui/aura/mus/capture_synchronizer.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/client/capture_client.h
diff --git a/ui/aura/client/capture_client.h b/ui/aura/client/capture_client.h
index c7874267e8b0645d48631d97b7067f6407616109..bbabbe2a2b075c79f21ad81e9ab4b44c2c222c6b 100644
--- a/ui/aura/client/capture_client.h
+++ b/ui/aura/client/capture_client.h
@@ -6,6 +6,7 @@
#define UI_AURA_CLIENT_CAPTURE_CLIENT_H_
#include "ui/aura/aura_export.h"
+#include "ui/aura/window.h"
namespace aura {
class Window;
@@ -49,6 +50,10 @@ AURA_EXPORT CaptureClient* GetCaptureClient(Window* root_window);
// if the window doesn't have a root window, or there is no capture window.
AURA_EXPORT Window* GetCaptureWindow(Window* window);
+// The capture client is stored on the window using this property.
+AURA_EXPORT extern const WindowProperty<CaptureClient*>* const
+ kRootWindowCaptureClientKey;
sadrul 2017/01/21 03:23:37 Can you move this into aura_constants.h? since the
riajiang 2017/01/24 19:36:21 The key is not needed anymore so deleted here.
+
} // namespace client
} // namespace aura
« no previous file with comments | « no previous file | ui/aura/client/capture_client.cc » ('j') | ui/aura/mus/capture_synchronizer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698