| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_VIEWS_MUS_TEST_UTILS_H_ |
| 6 #define UI_VIEWS_MUS_TEST_UTILS_H_ |
| 7 |
| 8 #include "ui/views/mus/window_manager_connection.h" |
| 9 |
| 10 namespace views { |
| 11 namespace test { |
| 12 |
| 13 class WindowManagerConnectionTestApi { |
| 14 public: |
| 15 explicit WindowManagerConnectionTestApi(WindowManagerConnection* connection) |
| 16 : connection_(connection) {} |
| 17 ~WindowManagerConnectionTestApi() {} |
| 18 |
| 19 ScreenMus* screen() { return connection_->screen_.get(); } |
| 20 |
| 21 private: |
| 22 WindowManagerConnection* connection_; |
| 23 |
| 24 DISALLOW_COPY_AND_ASSIGN(WindowManagerConnectionTestApi); |
| 25 }; |
| 26 |
| 27 } // namespace test |
| 28 } // namespace views |
| 29 |
| 30 #endif // UI_VIEWS_MUS_TEST_UTILS_H_ |
| OLD | NEW |