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

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

Issue 2436023003: Adds CaptureClientObserver as a way to track changes in capture (Closed)
Patch Set: fix comments Created 4 years, 2 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 | « ui/aura/BUILD.gn ('k') | ui/aura/client/capture_client_observer.h » ('j') | no next file with comments »
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 a792fb377a11c227b1b560be69fb1bd17689cdce..c7874267e8b0645d48631d97b7067f6407616109 100644
--- a/ui/aura/client/capture_client.h
+++ b/ui/aura/client/capture_client.h
@@ -12,6 +12,8 @@ class Window;
namespace client {
+class CaptureClientObserver;
+
// An interface implemented by an object that manages input capture.
class AURA_EXPORT CaptureClient {
public:
@@ -31,6 +33,9 @@ class AURA_EXPORT CaptureClient {
// See description of GetCaptureWindow() for details.
virtual Window* GetGlobalCaptureWindow() = 0;
+ virtual void AddObserver(CaptureClientObserver* observer) = 0;
+ virtual void RemoveObserver(CaptureClientObserver* observer) = 0;
+
protected:
virtual ~CaptureClient() {}
};
« no previous file with comments | « ui/aura/BUILD.gn ('k') | ui/aura/client/capture_client_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698