| Index: ui/aura/test/aura_test_utils.cc
|
| diff --git a/ui/aura/test/aura_test_utils.cc b/ui/aura/test/aura_test_utils.cc
|
| index fe4120b4dcddc9a8f25e9d37b54f7dea32bc694f..33fc19e4b77d97a210fa5ae3f5a76c5a20a535ce 100644
|
| --- a/ui/aura/test/aura_test_utils.cc
|
| +++ b/ui/aura/test/aura_test_utils.cc
|
| @@ -9,19 +9,18 @@
|
| namespace aura {
|
| namespace test {
|
|
|
| -class WindowTreeHostTestApi {
|
| - public:
|
| - explicit WindowTreeHostTestApi(WindowTreeHost* host) : host_(host) {}
|
| -
|
| - const gfx::Point& last_cursor_request_position_in_host() {
|
| - return host_->last_cursor_request_position_in_host_;
|
| - }
|
| +WindowTreeHostTestApi::WindowTreeHostTestApi(WindowTreeHost* host)
|
| + : host_(host) {
|
| +}
|
|
|
| - private:
|
| - WindowTreeHost* host_;
|
| +const gfx::Point&
|
| +WindowTreeHostTestApi::last_cursor_request_position_in_host() {
|
| + return host_->last_cursor_request_position_in_host_;
|
| +}
|
|
|
| - DISALLOW_COPY_AND_ASSIGN(WindowTreeHostTestApi);
|
| -};
|
| +void WindowTreeHostTestApi::set_dispatcher(WindowEventDispatcher* dispatcher) {
|
| + host_->dispatcher_.reset(dispatcher);
|
| +}
|
|
|
| const gfx::Point& QueryLatestMousePositionRequestInHost(WindowTreeHost* host) {
|
| WindowTreeHostTestApi host_test_api(host);
|
|
|