| 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 UI_AURA_TEST_MUS_TEST_WINDOW_TREE_H_ | 5 #ifndef UI_AURA_TEST_MUS_TEST_WINDOW_TREE_H_ |
| 6 #define UI_AURA_TEST_MUS_TEST_WINDOW_TREE_H_ | 6 #define UI_AURA_TEST_MUS_TEST_WINDOW_TREE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 uint32_t change_id, | 118 uint32_t change_id, |
| 119 uint32_t window_id, | 119 uint32_t window_id, |
| 120 const std::unordered_map<std::string, std::vector<uint8_t>>& properties) | 120 const std::unordered_map<std::string, std::vector<uint8_t>>& properties) |
| 121 override; | 121 override; |
| 122 void DeleteWindow(uint32_t change_id, uint32_t window_id) override; | 122 void DeleteWindow(uint32_t change_id, uint32_t window_id) override; |
| 123 void SetWindowBounds( | 123 void SetWindowBounds( |
| 124 uint32_t change_id, | 124 uint32_t change_id, |
| 125 uint32_t window_id, | 125 uint32_t window_id, |
| 126 const gfx::Rect& bounds, | 126 const gfx::Rect& bounds, |
| 127 const base::Optional<cc::LocalSurfaceId>& local_surface_id) override; | 127 const base::Optional<cc::LocalSurfaceId>& local_surface_id) override; |
| 128 void RequestBeginFrames(Id window_id, |
| 129 cc::mojom::FrameSinkObserverPtr observer) override; |
| 128 void SetClientArea(uint32_t window_id, | 130 void SetClientArea(uint32_t window_id, |
| 129 const gfx::Insets& insets, | 131 const gfx::Insets& insets, |
| 130 const base::Optional<std::vector<gfx::Rect>>& | 132 const base::Optional<std::vector<gfx::Rect>>& |
| 131 additional_client_areas) override; | 133 additional_client_areas) override; |
| 132 void SetHitTestMask(uint32_t window_id, | 134 void SetHitTestMask(uint32_t window_id, |
| 133 const base::Optional<gfx::Rect>& mask) override; | 135 const base::Optional<gfx::Rect>& mask) override; |
| 134 void SetCanAcceptDrops(uint32_t window_id, bool accepts_drags) override; | 136 void SetCanAcceptDrops(uint32_t window_id, bool accepts_drags) override; |
| 135 void SetWindowVisibility(uint32_t change_id, | 137 void SetWindowVisibility(uint32_t change_id, |
| 136 uint32_t window_id, | 138 uint32_t window_id, |
| 137 bool visible) override; | 139 bool visible) override; |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 base::Optional<gfx::Rect> last_hit_test_mask_; | 235 base::Optional<gfx::Rect> last_hit_test_mask_; |
| 234 | 236 |
| 235 base::Optional<cc::LocalSurfaceId> last_local_surface_id_; | 237 base::Optional<cc::LocalSurfaceId> last_local_surface_id_; |
| 236 | 238 |
| 237 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); | 239 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); |
| 238 }; | 240 }; |
| 239 | 241 |
| 240 } // namespace aura | 242 } // namespace aura |
| 241 | 243 |
| 242 #endif // UI_AURA_TEST_MUS_TEST_WINDOW_TREE_H_ | 244 #endif // UI_AURA_TEST_MUS_TEST_WINDOW_TREE_H_ |
| OLD | NEW |