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 28 matching lines...) Expand all Loading... |
39 uint32_t change_id, | 39 uint32_t change_id, |
40 uint32_t window_id, | 40 uint32_t window_id, |
41 mojo::Map<mojo::String, mojo::Array<uint8_t>> properties) override; | 41 mojo::Map<mojo::String, mojo::Array<uint8_t>> properties) override; |
42 void DeleteWindow(uint32_t change_id, uint32_t window_id) override; | 42 void DeleteWindow(uint32_t change_id, uint32_t window_id) override; |
43 void SetWindowBounds(uint32_t change_id, | 43 void SetWindowBounds(uint32_t change_id, |
44 uint32_t window_id, | 44 uint32_t window_id, |
45 const gfx::Rect& bounds) override; | 45 const gfx::Rect& bounds) override; |
46 void SetClientArea(uint32_t window_id, | 46 void SetClientArea(uint32_t window_id, |
47 const gfx::Insets& insets, | 47 const gfx::Insets& insets, |
48 mojo::Array<gfx::Rect> additional_client_areas) override; | 48 mojo::Array<gfx::Rect> additional_client_areas) override; |
49 void SetHitTestMask(uint32_t window_id, const gfx::Rect& mask) override; | 49 void SetHitTestMask(uint32_t window_id, |
| 50 const base::Optional<gfx::Rect>& mask) override; |
50 void SetWindowVisibility(uint32_t change_id, | 51 void SetWindowVisibility(uint32_t change_id, |
51 uint32_t window_id, | 52 uint32_t window_id, |
52 bool visible) override; | 53 bool visible) override; |
53 void SetWindowProperty(uint32_t change_id, | 54 void SetWindowProperty(uint32_t change_id, |
54 uint32_t window_id, | 55 uint32_t window_id, |
55 const mojo::String& name, | 56 const mojo::String& name, |
56 mojo::Array<uint8_t> value) override; | 57 mojo::Array<uint8_t> value) override; |
57 void SetWindowOpacity(uint32_t change_id, | 58 void SetWindowOpacity(uint32_t change_id, |
58 uint32_t window_id, | 59 uint32_t window_id, |
59 float opacity) override; | 60 float opacity) override; |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 uint32_t change_id_; | 112 uint32_t change_id_; |
112 std::set<uint32_t> acked_events_; | 113 std::set<uint32_t> acked_events_; |
113 uint32_t window_id_; | 114 uint32_t window_id_; |
114 | 115 |
115 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); | 116 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); |
116 }; | 117 }; |
117 | 118 |
118 } // namespace ui | 119 } // namespace ui |
119 | 120 |
120 #endif // SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ | 121 #endif // SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ |
OLD | NEW |