| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <set> | 10 #include <set> |
| (...skipping 29 matching lines...) Expand all Loading... |
| 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 mojo::RectPtr bounds) override; | 45 mojo::RectPtr bounds) override; |
| 46 void SetClientArea( | 46 void SetClientArea( |
| 47 uint32_t window_id, | 47 uint32_t window_id, |
| 48 mojo::InsetsPtr insets, | 48 mojo::InsetsPtr insets, |
| 49 mojo::Array<mojo::RectPtr> additional_client_areas) override; | 49 mojo::Array<mojo::RectPtr> additional_client_areas) override; |
| 50 void SetHitTestMask(uint32_t window_id, mojo::RectPtr 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 uint32_t change_id_; | 105 uint32_t change_id_; |
| 105 std::set<uint32_t> acked_events_; | 106 std::set<uint32_t> acked_events_; |
| 106 uint32_t window_id_; | 107 uint32_t window_id_; |
| 107 | 108 |
| 108 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); | 109 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); |
| 109 }; | 110 }; |
| 110 | 111 |
| 111 } // namespace mus | 112 } // namespace mus |
| 112 | 113 |
| 113 #endif // COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ | 114 #endif // COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ |
| OLD | NEW |