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

Unified Diff: ui/views/mus/mus_client.h

Issue 2507963002: Implement hit tests/client area. (Closed)
Patch Set: add it back 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 | « ui/views/mus/desktop_window_tree_host_mus.cc ('k') | ui/views/mus/mus_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/mus_client.h
diff --git a/ui/views/mus/mus_client.h b/ui/views/mus/mus_client.h
index 956465c15c7161bdbb92f1df28fc186ccf4982cb..b8587134c3c9353a9e5927b0263b580b7f959ba2 100644
--- a/ui/views/mus/mus_client.h
+++ b/ui/views/mus/mus_client.h
@@ -44,6 +44,7 @@ class WMState;
namespace views {
+class MusClientObserver;
class PointerWatcherEventRouter2;
class ScreenMus;
@@ -95,6 +96,9 @@ class VIEWS_MUS_EXPORT MusClient
NativeWidget* CreateNativeWidget(const Widget::InitParams& init_params,
internal::NativeWidgetDelegate* delegate);
+ void AddObserver(MusClientObserver* observer);
+ void RemoveObserver(MusClientObserver* observer);
+
private:
friend class AuraInit;
friend class test::MusClientTestApi;
@@ -127,6 +131,8 @@ class VIEWS_MUS_EXPORT MusClient
service_manager::Connector* connector_;
service_manager::Identity identity_;
+ base::ObserverList<MusClientObserver> observer_list_;
+
std::unique_ptr<wm::WMState> wm_state_;
std::unique_ptr<ScreenMus> screen_;
« no previous file with comments | « ui/views/mus/desktop_window_tree_host_mus.cc ('k') | ui/views/mus/mus_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698