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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 void SetWindowProperty( | 58 void SetWindowProperty( |
59 uint32_t change_id, | 59 uint32_t change_id, |
60 uint32_t window_id, | 60 uint32_t window_id, |
61 const std::string& name, | 61 const std::string& name, |
62 const base::Optional<std::vector<uint8_t>>& value) override; | 62 const base::Optional<std::vector<uint8_t>>& value) override; |
63 void SetWindowOpacity(uint32_t change_id, | 63 void SetWindowOpacity(uint32_t change_id, |
64 uint32_t window_id, | 64 uint32_t window_id, |
65 float opacity) override; | 65 float opacity) override; |
66 void AttachCompositorFrameSink( | 66 void AttachCompositorFrameSink( |
67 uint32_t window_id, | 67 uint32_t window_id, |
68 mojom::CompositorFrameSinkType type, | |
69 mojo::InterfaceRequest<cc::mojom::MojoCompositorFrameSink> surface, | 68 mojo::InterfaceRequest<cc::mojom::MojoCompositorFrameSink> surface, |
70 cc::mojom::MojoCompositorFrameSinkClientPtr client) override; | 69 cc::mojom::MojoCompositorFrameSinkClientPtr client) override; |
71 void AddWindow(uint32_t change_id, uint32_t parent, uint32_t child) override; | 70 void AddWindow(uint32_t change_id, uint32_t parent, uint32_t child) override; |
72 void RemoveWindowFromParent(uint32_t change_id, uint32_t window_id) override; | 71 void RemoveWindowFromParent(uint32_t change_id, uint32_t window_id) override; |
73 void AddTransientWindow(uint32_t change_id, | 72 void AddTransientWindow(uint32_t change_id, |
74 uint32_t window_id, | 73 uint32_t window_id, |
75 uint32_t transient_window_id) override; | 74 uint32_t transient_window_id) override; |
76 void RemoveTransientWindowFromParent(uint32_t change_id, | 75 void RemoveTransientWindowFromParent(uint32_t change_id, |
77 uint32_t window_id) override; | 76 uint32_t window_id) override; |
78 void SetModal(uint32_t change_id, uint32_t window_id) override; | 77 void SetModal(uint32_t change_id, uint32_t window_id) override; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 uint32_t change_id_; | 123 uint32_t change_id_; |
125 std::set<uint32_t> acked_events_; | 124 std::set<uint32_t> acked_events_; |
126 uint32_t window_id_; | 125 uint32_t window_id_; |
127 | 126 |
128 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); | 127 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); |
129 }; | 128 }; |
130 | 129 |
131 } // namespace ui | 130 } // namespace ui |
132 | 131 |
133 #endif // SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ | 132 #endif // SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ |
OLD | NEW |