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 SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ | 5 #ifndef SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ |
6 #define SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ | 6 #define SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <set> | 10 #include <set> |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 void SetWindowVisibility(uint32_t change_id, | 52 void SetWindowVisibility(uint32_t change_id, |
53 uint32_t window_id, | 53 uint32_t window_id, |
54 bool visible) override; | 54 bool visible) override; |
55 void SetWindowProperty(uint32_t change_id, | 55 void SetWindowProperty(uint32_t change_id, |
56 uint32_t window_id, | 56 uint32_t window_id, |
57 const mojo::String& name, | 57 const mojo::String& name, |
58 mojo::Array<uint8_t> value) override; | 58 mojo::Array<uint8_t> value) override; |
59 void SetWindowOpacity(uint32_t change_id, | 59 void SetWindowOpacity(uint32_t change_id, |
60 uint32_t window_id, | 60 uint32_t window_id, |
61 float opacity) override; | 61 float opacity) override; |
62 void AttachSurface( | 62 void AttachCompositorFrameSink( |
63 uint32_t window_id, | 63 uint32_t window_id, |
64 mojom::SurfaceType type, | 64 mojom::CompositorFrameSinkType type, |
65 mojo::InterfaceRequest<cc::mojom::MojoCompositorFrameSink> surface, | 65 mojo::InterfaceRequest<cc::mojom::MojoCompositorFrameSink> surface, |
66 cc::mojom::MojoCompositorFrameSinkClientPtr client) override; | 66 cc::mojom::MojoCompositorFrameSinkClientPtr client) override; |
67 void AddWindow(uint32_t change_id, uint32_t parent, uint32_t child) override; | 67 void AddWindow(uint32_t change_id, uint32_t parent, uint32_t child) override; |
68 void RemoveWindowFromParent(uint32_t change_id, uint32_t window_id) override; | 68 void RemoveWindowFromParent(uint32_t change_id, uint32_t window_id) override; |
69 void AddTransientWindow(uint32_t change_id, | 69 void AddTransientWindow(uint32_t change_id, |
70 uint32_t window_id, | 70 uint32_t window_id, |
71 uint32_t transient_window_id) override; | 71 uint32_t transient_window_id) override; |
72 void RemoveTransientWindowFromParent(uint32_t change_id, | 72 void RemoveTransientWindowFromParent(uint32_t change_id, |
73 uint32_t window_id) override; | 73 uint32_t window_id) override; |
74 void SetModal(uint32_t change_id, uint32_t window_id) override; | 74 void SetModal(uint32_t change_id, uint32_t window_id) override; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 uint32_t change_id_; | 121 uint32_t change_id_; |
122 std::set<uint32_t> acked_events_; | 122 std::set<uint32_t> acked_events_; |
123 uint32_t window_id_; | 123 uint32_t window_id_; |
124 | 124 |
125 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); | 125 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); |
126 }; | 126 }; |
127 | 127 |
128 } // namespace ui | 128 } // namespace ui |
129 | 129 |
130 #endif // SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ | 130 #endif // SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ |
OLD | NEW |