OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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 #include "components/mus/public/cpp/tests/window_tree_client_private.h" | 5 #include "services/ui/public/cpp/tests/window_tree_client_private.h" |
6 | 6 |
7 #include "components/mus/public/cpp/window.h" | 7 #include "services/ui/public/cpp/window.h" |
8 #include "components/mus/public/cpp/window_tree_client.h" | 8 #include "services/ui/public/cpp/window_tree_client.h" |
9 #include "ui/display/display.h" | 9 #include "ui/display/display.h" |
10 | 10 |
11 namespace mus { | 11 namespace mus { |
12 | 12 |
13 WindowTreeClientPrivate::WindowTreeClientPrivate( | 13 WindowTreeClientPrivate::WindowTreeClientPrivate( |
14 WindowTreeClient* tree_client_impl) | 14 WindowTreeClient* tree_client_impl) |
15 : tree_client_impl_(tree_client_impl) {} | 15 : tree_client_impl_(tree_client_impl) {} |
16 | 16 |
17 WindowTreeClientPrivate::WindowTreeClientPrivate(Window* window) | 17 WindowTreeClientPrivate::WindowTreeClientPrivate(Window* window) |
18 : WindowTreeClientPrivate(window->window_tree()) {} | 18 : WindowTreeClientPrivate(window->window_tree()) {} |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 std::move(event), observer_id); | 57 std::move(event), observer_id); |
58 } | 58 } |
59 | 59 |
60 void WindowTreeClientPrivate::SetTreeAndClientId(mojom::WindowTree* window_tree, | 60 void WindowTreeClientPrivate::SetTreeAndClientId(mojom::WindowTree* window_tree, |
61 ClientSpecificId client_id) { | 61 ClientSpecificId client_id) { |
62 tree_client_impl_->tree_ = window_tree; | 62 tree_client_impl_->tree_ = window_tree; |
63 tree_client_impl_->client_id_ = client_id; | 63 tree_client_impl_->client_id_ = client_id; |
64 } | 64 } |
65 | 65 |
66 } // namespace mus | 66 } // namespace mus |
OLD | NEW |