| Index: components/mus/ws/test_utils.cc
|
| diff --git a/components/mus/ws/test_utils.cc b/components/mus/ws/test_utils.cc
|
| index a02b67512618b1e66895f7e566db9b8444531224..1f3b0dc7d853483ba2f84db7acb34e6233274feb 100644
|
| --- a/components/mus/ws/test_utils.cc
|
| +++ b/components/mus/ws/test_utils.cc
|
| @@ -104,6 +104,17 @@ WindowTreeTestApi::~WindowTreeTestApi() {}
|
| DisplayTestApi::DisplayTestApi(Display* display) : display_(display) {}
|
| DisplayTestApi::~DisplayTestApi() {}
|
|
|
| +// EventDispatcherTestApi ----------------------------------------------------
|
| +
|
| +int EventDispatcherTestApi::NumberPointerTargetsForWindow(
|
| + ServerWindow* window) {
|
| + int count = 0;
|
| + for (const auto& pair : ed_->pointer_targets_)
|
| + if (pair.second.window == window)
|
| + count++;
|
| + return count;
|
| +}
|
| +
|
| // TestWindowTreeClient -------------------------------------------------------
|
|
|
| TestWindowTreeClient::TestWindowTreeClient()
|
|
|