OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_MUS_PUBLIC_CPP_WINDOW_TREE_CLIENT_DELEGATE_H_ | 5 #ifndef SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_DELEGATE_H_ |
6 #define COMPONENTS_MUS_PUBLIC_CPP_WINDOW_TREE_CLIENT_DELEGATE_H_ | 6 #define SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_DELEGATE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "components/mus/public/interfaces/window_tree.mojom.h" | |
11 #include "services/shell/public/interfaces/interface_provider.mojom.h" | 10 #include "services/shell/public/interfaces/interface_provider.mojom.h" |
| 11 #include "services/ui/public/interfaces/window_tree.mojom.h" |
12 | 12 |
13 namespace ui { | 13 namespace ui { |
14 class Event; | 14 class Event; |
15 } | 15 } |
16 | 16 |
17 namespace mus { | 17 namespace mus { |
18 | 18 |
19 class Window; | 19 class Window; |
20 class WindowTreeClient; | 20 class WindowTreeClient; |
21 | 21 |
(...skipping 21 matching lines...) Expand all Loading... |
43 // SetEventObserver(). |target| may be null for events that were sent to | 43 // SetEventObserver(). |target| may be null for events that were sent to |
44 // windows owned by other processes. | 44 // windows owned by other processes. |
45 virtual void OnEventObserved(const ui::Event& event, Window* target) = 0; | 45 virtual void OnEventObserved(const ui::Event& event, Window* target) = 0; |
46 | 46 |
47 protected: | 47 protected: |
48 virtual ~WindowTreeClientDelegate() {} | 48 virtual ~WindowTreeClientDelegate() {} |
49 }; | 49 }; |
50 | 50 |
51 } // namespace mus | 51 } // namespace mus |
52 | 52 |
53 #endif // COMPONENTS_MUS_PUBLIC_CPP_WINDOW_TREE_CLIENT_DELEGATE_H_ | 53 #endif // SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_DELEGATE_H_ |
OLD | NEW |