OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ | 5 #ifndef COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ |
6 #define COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ | 6 #define COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "components/mus/public/interfaces/window_tree.mojom.h" | 9 #include "components/mus/public/interfaces/window_tree.mojom.h" |
10 | 10 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 mojom::WindowTreeClientPtr client, | 63 mojom::WindowTreeClientPtr client, |
64 uint32_t policy_bitmask, | 64 uint32_t policy_bitmask, |
65 const EmbedCallback& callback) override; | 65 const EmbedCallback& callback) override; |
66 void SetFocus(uint32_t window_id) override; | 66 void SetFocus(uint32_t window_id) override; |
67 void SetCanFocus(uint32_t window_id, bool can_focus) override; | 67 void SetCanFocus(uint32_t window_id, bool can_focus) override; |
68 void SetWindowTextInputState(uint32_t window_id, | 68 void SetWindowTextInputState(uint32_t window_id, |
69 mojo::TextInputStatePtr state) override; | 69 mojo::TextInputStatePtr state) override; |
70 void SetImeVisibility(uint32_t window_id, | 70 void SetImeVisibility(uint32_t window_id, |
71 bool visible, | 71 bool visible, |
72 mojo::TextInputStatePtr state) override; | 72 mojo::TextInputStatePtr state) override; |
73 void SetPreferredSize(uint32_t window_id, | |
74 mojo::SizePtr size, | |
75 const SetPreferredSizeCallback& callback) override; | |
76 void SetResizeBehavior(uint32_t window_id, | |
77 mojom::ResizeBehavior resize_behavior) override; | |
78 void WmResponse(uint32_t change_id, bool response) override; | 73 void WmResponse(uint32_t change_id, bool response) override; |
79 | 74 |
80 bool got_change_; | 75 bool got_change_; |
81 uint32_t change_id_; | 76 uint32_t change_id_; |
82 | 77 |
83 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); | 78 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); |
84 }; | 79 }; |
85 | 80 |
86 } // namespace mus | 81 } // namespace mus |
87 | 82 |
88 #endif // COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ | 83 #endif // COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ |
OLD | NEW |