| Index: services/ui/ws/test_utils.cc
|
| diff --git a/services/ui/ws/test_utils.cc b/services/ui/ws/test_utils.cc
|
| index 1536692a40d9f038c31875183a086e25f8298cbc..e0a96eeb751c32b60eccf7d686ea4dc48b939aa2 100644
|
| --- a/services/ui/ws/test_utils.cc
|
| +++ b/services/ui/ws/test_utils.cc
|
| @@ -108,6 +108,22 @@ PlatformDisplay* TestPlatformDisplayFactory::CreatePlatformDisplay() {
|
| return new TestPlatformDisplay(cursor_id_storage_);
|
| }
|
|
|
| +// TestFrameGeneratorDelegate -------------------------------------------------
|
| +
|
| +TestFrameGeneratorDelegate::TestFrameGeneratorDelegate(
|
| + std::unique_ptr<ServerWindow> root)
|
| + : root_(std::move(root)) {}
|
| +
|
| +TestFrameGeneratorDelegate::~TestFrameGeneratorDelegate() {}
|
| +
|
| +ServerWindow* TestFrameGeneratorDelegate::GetRootWindow() {
|
| + return root_.get();
|
| +}
|
| +
|
| +const ViewportMetrics& TestFrameGeneratorDelegate::GetViewportMetrics() {
|
| + return metrics_;
|
| +}
|
| +
|
| // WindowTreeTestApi ---------------------------------------------------------
|
|
|
| WindowTreeTestApi::WindowTreeTestApi(WindowTree* tree) : tree_(tree) {}
|
|
|