| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef COMPONENTS_WINDOW_MANAGER_WINDOW_MANAGER_TEST_UTIL_H_ | 5 #ifndef COMPONENTS_WINDOW_MANAGER_WINDOW_MANAGER_TEST_UTIL_H_ |
| 6 #define COMPONENTS_WINDOW_MANAGER_WINDOW_MANAGER_TEST_UTIL_H_ | 6 #define COMPONENTS_WINDOW_MANAGER_WINDOW_MANAGER_TEST_UTIL_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "components/view_manager/public/cpp/lib/view_private.h" |
| 11 #include "components/view_manager/public/cpp/view.h" |
| 10 #include "components/window_manager/view_target.h" | 12 #include "components/window_manager/view_target.h" |
| 11 #include "third_party/mojo_services/src/view_manager/public/cpp/lib/view_private
.h" | |
| 12 #include "third_party/mojo_services/src/view_manager/public/cpp/view.h" | |
| 13 | 13 |
| 14 namespace gfx { | 14 namespace gfx { |
| 15 class Rect; | 15 class Rect; |
| 16 } | 16 } |
| 17 | 17 |
| 18 namespace window_manager { | 18 namespace window_manager { |
| 19 | 19 |
| 20 // A wrapper around View so we can instantiate these directly without a | 20 // A wrapper around View so we can instantiate these directly without a |
| 21 // ViewManager. | 21 // ViewManager. |
| 22 class TestView : public mojo::View { | 22 class TestView : public mojo::View { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 private: | 35 private: |
| 36 ViewTarget* target_; | 36 ViewTarget* target_; |
| 37 | 37 |
| 38 DISALLOW_COPY_AND_ASSIGN(TestView); | 38 DISALLOW_COPY_AND_ASSIGN(TestView); |
| 39 }; | 39 }; |
| 40 | 40 |
| 41 } // namespace window_manager | 41 } // namespace window_manager |
| 42 | 42 |
| 43 #endif // COMPONENTS_WINDOW_MANAGER_WINDOW_MANAGER_TEST_UTIL_H_ | 43 #endif // COMPONENTS_WINDOW_MANAGER_WINDOW_MANAGER_TEST_UTIL_H_ |
| OLD | NEW |