| 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 | 127 |
| 128 // WindowTreeClientDelegate: | 128 // WindowTreeClientDelegate: |
| 129 void OnEmbed(ui::Window* root) override; | 129 void OnEmbed(ui::Window* root) override; |
| 130 void OnEmbedRootDestroyed(ui::Window* root) override; | 130 void OnEmbedRootDestroyed(ui::Window* root) override; |
| 131 void OnLostConnection(ui::WindowTreeClient* client) override; | 131 void OnLostConnection(ui::WindowTreeClient* client) override; |
| 132 void OnPointerEventObserved(const ui::PointerEvent& event, | 132 void OnPointerEventObserved(const ui::PointerEvent& event, |
| 133 ui::Window* target) override; | 133 ui::Window* target) override; |
| 134 | 134 |
| 135 // WindowManagerDelegate: | 135 // WindowManagerDelegate: |
| 136 void SetWindowManagerClient(ui::WindowManagerClient* client) override; | 136 void SetWindowManagerClient(ui::WindowManagerClient* client) override; |
| 137 bool OnWmSetBounds(ui::Window* window, gfx::Rect* bounds) override; | 137 void OnWmSetBounds(ui::Window* window, gfx::Rect* bounds) override; |
| 138 bool OnWmSetProperty( | 138 bool OnWmSetProperty( |
| 139 ui::Window* window, | 139 ui::Window* window, |
| 140 const std::string& name, | 140 const std::string& name, |
| 141 std::unique_ptr<std::vector<uint8_t>>* new_data) override; | 141 std::unique_ptr<std::vector<uint8_t>>* new_data) override; |
| 142 ui::Window* OnWmCreateTopLevelWindow( | 142 ui::Window* OnWmCreateTopLevelWindow( |
| 143 std::map<std::string, std::vector<uint8_t>>* properties) override; | 143 std::map<std::string, std::vector<uint8_t>>* properties) override; |
| 144 void OnWmClientJankinessChanged(const std::set<ui::Window*>& client_windows, | 144 void OnWmClientJankinessChanged(const std::set<ui::Window*>& client_windows, |
| 145 bool not_responding) override; | 145 bool not_responding) override; |
| 146 void OnWmNewDisplay(ui::Window* window, | 146 void OnWmNewDisplay(ui::Window* window, |
| 147 const display::Display& display) override; | 147 const display::Display& display) override; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 std::map<uint16_t, AcceleratorHandler*> accelerator_handlers_; | 180 std::map<uint16_t, AcceleratorHandler*> accelerator_handlers_; |
| 181 uint16_t next_accelerator_namespace_id_ = 0u; | 181 uint16_t next_accelerator_namespace_id_ = 0u; |
| 182 | 182 |
| 183 DISALLOW_COPY_AND_ASSIGN(WindowManager); | 183 DISALLOW_COPY_AND_ASSIGN(WindowManager); |
| 184 }; | 184 }; |
| 185 | 185 |
| 186 } // namespace mus | 186 } // namespace mus |
| 187 } // namespace ash | 187 } // namespace ash |
| 188 | 188 |
| 189 #endif // ASH_MUS_WINDOW_MANAGER_H_ | 189 #endif // ASH_MUS_WINDOW_MANAGER_H_ |
| OLD | NEW |