| 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 24 matching lines...) Expand all Loading... |
| 35 uint32_t change_id, | 35 uint32_t change_id, |
| 36 uint32_t window_id, | 36 uint32_t window_id, |
| 37 mojo::Map<mojo::String, mojo::Array<uint8_t>> properties) override; | 37 mojo::Map<mojo::String, mojo::Array<uint8_t>> properties) override; |
| 38 void NewTopLevelWindow( | 38 void NewTopLevelWindow( |
| 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 mojo::RectPtr bounds) override; | 45 const gfx::Rect& bounds) override; |
| 46 void SetClientArea( | 46 void SetClientArea(uint32_t window_id, |
| 47 uint32_t window_id, | 47 const gfx::Insets& insets, |
| 48 mojo::InsetsPtr insets, | 48 mojo::Array<gfx::Rect> additional_client_areas) override; |
| 49 mojo::Array<mojo::RectPtr> additional_client_areas) override; | 49 void SetHitTestMask(uint32_t window_id, const gfx::Rect& mask) override; |
| 50 void SetHitTestMask(uint32_t window_id, mojo::RectPtr mask) override; | |
| 51 void SetWindowVisibility(uint32_t change_id, | 50 void SetWindowVisibility(uint32_t change_id, |
| 52 uint32_t window_id, | 51 uint32_t window_id, |
| 53 bool visible) override; | 52 bool visible) override; |
| 54 void SetWindowProperty(uint32_t change_id, | 53 void SetWindowProperty(uint32_t change_id, |
| 55 uint32_t window_id, | 54 uint32_t window_id, |
| 56 const mojo::String& name, | 55 const mojo::String& name, |
| 57 mojo::Array<uint8_t> value) override; | 56 mojo::Array<uint8_t> value) override; |
| 58 void SetWindowOpacity(uint32_t change_id, | 57 void SetWindowOpacity(uint32_t change_id, |
| 59 uint32_t window_id, | 58 uint32_t window_id, |
| 60 float opacity) override; | 59 float opacity) override; |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 uint32_t change_id_; | 104 uint32_t change_id_; |
| 106 std::set<uint32_t> acked_events_; | 105 std::set<uint32_t> acked_events_; |
| 107 uint32_t window_id_; | 106 uint32_t window_id_; |
| 108 | 107 |
| 109 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); | 108 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); |
| 110 }; | 109 }; |
| 111 | 110 |
| 112 } // namespace mus | 111 } // namespace mus |
| 113 | 112 |
| 114 #endif // COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ | 113 #endif // COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ |
| OLD | NEW |