| Index: components/mus/ws/test_utils.h
|
| diff --git a/components/mus/ws/test_utils.h b/components/mus/ws/test_utils.h
|
| index 19cb43215c0baa0fd70c3bcf27f6bb3a3beb409c..5ec050b81e8928b8c34db3602a201f047206869f 100644
|
| --- a/components/mus/ws/test_utils.h
|
| +++ b/components/mus/ws/test_utils.h
|
| @@ -234,6 +234,7 @@ class TestWindowManager : public mojom::WindowManager {
|
| return true;
|
| }
|
|
|
| + bool on_perform_move_loop_called() { return on_perform_move_loop_called_; }
|
| bool on_accelerator_called() { return on_accelerator_called_; }
|
| uint32_t on_accelerator_id() { return on_accelerator_id_; }
|
|
|
| @@ -256,8 +257,14 @@ class TestWindowManager : public mojom::WindowManager {
|
| mojo::Map<mojo::String, mojo::Array<uint8_t>> properties) override;
|
| void WmClientJankinessChanged(ClientSpecificId client_id,
|
| bool janky) override;
|
| + void WmPerformMoveLoop(uint32_t change_id,
|
| + uint32_t window_id,
|
| + const gfx::Point& cursor_location) override;
|
| + void WmCancelMoveLoop(uint32_t window_id) override;
|
| void OnAccelerator(uint32_t id, std::unique_ptr<ui::Event> event) override;
|
|
|
| + bool on_perform_move_loop_called_ = false;
|
| +
|
| bool got_create_top_level_window_;
|
| uint32_t change_id_;
|
|
|
| @@ -336,6 +343,7 @@ class TestWindowTreeClient : public mus::mojom::WindowTreeClient {
|
| void OnWindowPredefinedCursorChanged(uint32_t window_id,
|
| mojom::Cursor cursor_id) override;
|
| void OnChangeCompleted(uint32_t change_id, bool success) override;
|
| + void OnMoveLoopCompleted(uint32_t change_id, bool success) override;
|
| void RequestClose(uint32_t window_id) override;
|
| void GetWindowManager(
|
| mojo::AssociatedInterfaceRequest<mojom::WindowManager> internal) override;
|
|
|