| 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 bool OnWmSetProperty( | 130 bool OnWmSetProperty( |
| 131 ui::Window* window, | 131 ui::Window* window, |
| 132 const std::string& name, | 132 const std::string& name, |
| 133 std::unique_ptr<std::vector<uint8_t>>* new_data) override; | 133 std::unique_ptr<std::vector<uint8_t>>* new_data) override; |
| 134 ui::Window* OnWmCreateTopLevelWindow( | 134 ui::Window* OnWmCreateTopLevelWindow( |
| 135 std::map<std::string, std::vector<uint8_t>>* properties) override; | 135 std::map<std::string, std::vector<uint8_t>>* properties) override; |
| 136 void OnWmClientJankinessChanged(const std::set<ui::Window*>& client_windows, | 136 void OnWmClientJankinessChanged(const std::set<ui::Window*>& client_windows, |
| 137 bool not_responding) override; | 137 bool not_responding) override; |
| 138 void OnWmNewDisplay(ui::Window* window, | 138 void OnWmNewDisplay(ui::Window* window, |
| 139 const display::Display& display) override; | 139 const display::Display& display) override; |
| 140 void OnWmDisplayRemoved(ui::Window* window) override; |
| 140 void OnWmPerformMoveLoop(ui::Window* window, | 141 void OnWmPerformMoveLoop(ui::Window* window, |
| 141 ui::mojom::MoveLoopSource source, | 142 ui::mojom::MoveLoopSource source, |
| 142 const gfx::Point& cursor_location, | 143 const gfx::Point& cursor_location, |
| 143 const base::Callback<void(bool)>& on_done) override; | 144 const base::Callback<void(bool)>& on_done) override; |
| 144 void OnWmCancelMoveLoop(ui::Window* window) override; | 145 void OnWmCancelMoveLoop(ui::Window* window) override; |
| 145 ui::mojom::EventResult OnAccelerator(uint32_t id, | 146 ui::mojom::EventResult OnAccelerator(uint32_t id, |
| 146 const ui::Event& event) override; | 147 const ui::Event& event) override; |
| 147 | 148 |
| 148 shell::Connector* connector_; | 149 shell::Connector* connector_; |
| 149 | 150 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 169 std::map<uint16_t, AcceleratorHandler*> accelerator_handlers_; | 170 std::map<uint16_t, AcceleratorHandler*> accelerator_handlers_; |
| 170 uint16_t next_accelerator_namespace_id_ = 0u; | 171 uint16_t next_accelerator_namespace_id_ = 0u; |
| 171 | 172 |
| 172 DISALLOW_COPY_AND_ASSIGN(WindowManager); | 173 DISALLOW_COPY_AND_ASSIGN(WindowManager); |
| 173 }; | 174 }; |
| 174 | 175 |
| 175 } // namespace mus | 176 } // namespace mus |
| 176 } // namespace ash | 177 } // namespace ash |
| 177 | 178 |
| 178 #endif // ASH_MUS_WINDOW_MANAGER_H_ | 179 #endif // ASH_MUS_WINDOW_MANAGER_H_ |
| OLD | NEW |