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

Side by Side Diff: ui/views/mus/mus_client_observer.h

Issue 2655513002: mash: Relay some Chrome aura window properties to Ash. (Closed)
Patch Set: More cleanup. Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_VIEWS_MUS_MUS_CLIENT_OBSERVER_H_ 5 #ifndef UI_VIEWS_MUS_MUS_CLIENT_OBSERVER_H_
6 #define UI_VIEWS_MUS_MUS_CLIENT_OBSERVER_H_ 6 #define UI_VIEWS_MUS_MUS_CLIENT_OBSERVER_H_
7 7
8 #include "ui/views/mus/mus_export.h" 8 #include "ui/views/mus/mus_export.h"
9 9
10 namespace views { 10 namespace views {
11 11
12 // Allows individual DesktopWindowTreeHostsMus to observe MusClient events. 12 // Allows individual DesktopWindowTreeHostsMus to observe MusClient events.
13 class VIEWS_MUS_EXPORT MusClientObserver { 13 class VIEWS_MUS_EXPORT MusClientObserver {
14 public: 14 public:
15 // Notification that windows should update per window values from the 15 // Notification that windows should update per window values from the
16 // WindowManagerFrameValues. 16 // WindowManagerFrameValues.
17 virtual void OnWindowManagerFrameValuesChanged() = 0; 17 virtual void OnWindowManagerFrameValuesChanged() = 0;
18 18
19 // Notification that a window property value has changed.
20 virtual void OnWindowPropertyChanged(aura::Window* window,
21 const void* key) = 0;
22
19 protected: 23 protected:
20 virtual ~MusClientObserver() {} 24 virtual ~MusClientObserver() {}
21 }; 25 };
22 26
23 } // namespace views 27 } // namespace views
24 28
25 #endif // UI_VIEWS_MUS_MUS_CLIENT_OBSERVER_H_ 29 #endif // UI_VIEWS_MUS_MUS_CLIENT_OBSERVER_H_
OLDNEW
« ui/views/mus/desktop_window_tree_host_mus.cc ('K') | « ui/views/mus/mus_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698