OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 ASH_MUS_WINDOW_MANAGER_H_ | 5 #ifndef ASH_MUS_WINDOW_MANAGER_H_ |
6 #define ASH_MUS_WINDOW_MANAGER_H_ | 6 #define ASH_MUS_WINDOW_MANAGER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 ui::Window* window, | 86 ui::Window* window, |
87 const display::Display& display); | 87 const display::Display& display); |
88 | 88 |
89 // ui::WindowObserver: | 89 // ui::WindowObserver: |
90 void OnWindowDestroying(ui::Window* window) override; | 90 void OnWindowDestroying(ui::Window* window) override; |
91 void OnWindowDestroyed(ui::Window* window) override; | 91 void OnWindowDestroyed(ui::Window* window) override; |
92 | 92 |
93 // WindowTreeClientDelegate: | 93 // WindowTreeClientDelegate: |
94 void OnEmbed(ui::Window* root) override; | 94 void OnEmbed(ui::Window* root) override; |
95 void OnDidDestroyClient(ui::WindowTreeClient* client) override; | 95 void OnDidDestroyClient(ui::WindowTreeClient* client) override; |
96 void OnEventObserved(const ui::Event& event, ui::Window* target) override; | 96 void OnPointerEventObserved(const ui::PointerEvent& event, |
| 97 ui::Window* target) override; |
97 | 98 |
98 // WindowManagerDelegate: | 99 // WindowManagerDelegate: |
99 void SetWindowManagerClient(ui::WindowManagerClient* client) override; | 100 void SetWindowManagerClient(ui::WindowManagerClient* client) override; |
100 bool OnWmSetBounds(ui::Window* window, gfx::Rect* bounds) override; | 101 bool OnWmSetBounds(ui::Window* window, gfx::Rect* bounds) override; |
101 bool OnWmSetProperty( | 102 bool OnWmSetProperty( |
102 ui::Window* window, | 103 ui::Window* window, |
103 const std::string& name, | 104 const std::string& name, |
104 std::unique_ptr<std::vector<uint8_t>>* new_data) override; | 105 std::unique_ptr<std::vector<uint8_t>>* new_data) override; |
105 ui::Window* OnWmCreateTopLevelWindow( | 106 ui::Window* OnWmCreateTopLevelWindow( |
106 std::map<std::string, std::vector<uint8_t>>* properties) override; | 107 std::map<std::string, std::vector<uint8_t>>* properties) override; |
(...skipping 30 matching lines...) Expand all Loading... |
137 std::map<uint16_t, AcceleratorHandler*> accelerator_handlers_; | 138 std::map<uint16_t, AcceleratorHandler*> accelerator_handlers_; |
138 uint16_t next_accelerator_namespace_id_ = 0u; | 139 uint16_t next_accelerator_namespace_id_ = 0u; |
139 | 140 |
140 DISALLOW_COPY_AND_ASSIGN(WindowManager); | 141 DISALLOW_COPY_AND_ASSIGN(WindowManager); |
141 }; | 142 }; |
142 | 143 |
143 } // namespace mus | 144 } // namespace mus |
144 } // namespace ash | 145 } // namespace ash |
145 | 146 |
146 #endif // ASH_MUS_WINDOW_MANAGER_H_ | 147 #endif // ASH_MUS_WINDOW_MANAGER_H_ |
OLD | NEW |