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

Unified Diff: ui/aura/mus/window_tree_client_delegate.h

Issue 2669203002: Revert: Remove WindowTreeClientDelegate::GetCaptureClient() and WindowTreeClient::GetCaptureClient() (Closed)
Patch Set: 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 | « ui/aura/mus/window_tree_client.cc ('k') | ui/aura/test/aura_test_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/window_tree_client_delegate.h
diff --git a/ui/aura/mus/window_tree_client_delegate.h b/ui/aura/mus/window_tree_client_delegate.h
index e76d2efbac0b596f543f1e0765080ee391e24b38..609a05785854c6fd8accfccc5d02dfdd67f333df 100644
--- a/ui/aura/mus/window_tree_client_delegate.h
+++ b/ui/aura/mus/window_tree_client_delegate.h
@@ -18,6 +18,10 @@
class Window;
class WindowTreeClient;
class WindowTreeHostMus;
+
+namespace client {
+class CaptureClient;
+}
// Interface implemented by an application using mus.
class AURA_EXPORT WindowTreeClientDelegate {
@@ -58,6 +62,10 @@
virtual void OnPointerEventObserved(const ui::PointerEvent& event,
Window* target) = 0;
+ // Mus expects a single CaptureClient is used for all WindowTreeHosts. This
+ // returns it. GetCaptureClient() is called from the constructor.
+ virtual client::CaptureClient* GetCaptureClient() = 0;
+
virtual PropertyConverter* GetPropertyConverter() = 0;
protected:
« no previous file with comments | « ui/aura/mus/window_tree_client.cc ('k') | ui/aura/test/aura_test_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698