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 23 matching lines...) Expand all Loading... |
34 mojo::RectPtr bounds) override; | 34 mojo::RectPtr bounds) override; |
35 void SetClientArea(uint32_t window_id, mojo::InsetsPtr insets) override; | 35 void SetClientArea(uint32_t window_id, mojo::InsetsPtr insets) override; |
36 void SetWindowVisibility( | 36 void SetWindowVisibility( |
37 uint32_t window_id, | 37 uint32_t window_id, |
38 bool visible, | 38 bool visible, |
39 const SetWindowVisibilityCallback& callback) override; | 39 const SetWindowVisibilityCallback& callback) override; |
40 void SetWindowProperty(uint32_t change_id, | 40 void SetWindowProperty(uint32_t change_id, |
41 uint32_t window_id, | 41 uint32_t window_id, |
42 const mojo::String& name, | 42 const mojo::String& name, |
43 mojo::Array<uint8_t> value) override; | 43 mojo::Array<uint8_t> value) override; |
44 void RequestSurface(uint32_t window_id, | 44 void AttachSurface(uint32_t window_id, |
45 mojom::SurfaceType type, | 45 mojom::SurfaceType type, |
46 mojo::InterfaceRequest<mojom::Surface> surface, | 46 mojo::InterfaceRequest<mojom::Surface> surface, |
47 mojom::SurfaceClientPtr client) override; | 47 mojom::SurfaceClientPtr client) override; |
48 void AddWindow(uint32_t parent, | 48 void AddWindow(uint32_t parent, |
49 uint32_t child, | 49 uint32_t child, |
50 const AddWindowCallback& callback) override; | 50 const AddWindowCallback& callback) override; |
51 void RemoveWindowFromParent( | 51 void RemoveWindowFromParent( |
52 uint32_t window_id, | 52 uint32_t window_id, |
53 const RemoveWindowFromParentCallback& callback) override; | 53 const RemoveWindowFromParentCallback& callback) override; |
54 void AddTransientWindow(uint32_t change_id, | 54 void AddTransientWindow(uint32_t change_id, |
55 uint32_t window_id, | 55 uint32_t window_id, |
56 uint32_t transient_window_id) override; | 56 uint32_t transient_window_id) override; |
57 void RemoveTransientWindowFromParent(uint32_t change_id, | 57 void RemoveTransientWindowFromParent(uint32_t change_id, |
(...skipping 19 matching lines...) Expand all Loading... |
77 | 77 |
78 bool got_change_; | 78 bool got_change_; |
79 uint32_t change_id_; | 79 uint32_t change_id_; |
80 | 80 |
81 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); | 81 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); |
82 }; | 82 }; |
83 | 83 |
84 } // namespace mus | 84 } // namespace mus |
85 | 85 |
86 #endif // COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ | 86 #endif // COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ |
OLD | NEW |