| 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 void SetFocus(uint32_t change_id, uint32_t window_id) override; | 83 void SetFocus(uint32_t change_id, uint32_t window_id) override; |
| 84 void SetCanFocus(uint32_t window_id, bool can_focus) override; | 84 void SetCanFocus(uint32_t window_id, bool can_focus) override; |
| 85 void SetPredefinedCursor(uint32_t change_id, | 85 void SetPredefinedCursor(uint32_t change_id, |
| 86 uint32_t window_id, | 86 uint32_t window_id, |
| 87 mus::mojom::Cursor cursor_id) override; | 87 mus::mojom::Cursor cursor_id) override; |
| 88 void SetWindowTextInputState(uint32_t window_id, | 88 void SetWindowTextInputState(uint32_t window_id, |
| 89 mojo::TextInputStatePtr state) override; | 89 mojo::TextInputStatePtr state) override; |
| 90 void SetImeVisibility(uint32_t window_id, | 90 void SetImeVisibility(uint32_t window_id, |
| 91 bool visible, | 91 bool visible, |
| 92 mojo::TextInputStatePtr state) override; | 92 mojo::TextInputStatePtr state) override; |
| 93 void OnWindowInputEventAck(uint32_t event_id, bool handled) override; | 93 void OnWindowInputEventAck(uint32_t event_id, |
| 94 mus::mojom::EventResult result) override; |
| 94 void GetWindowManagerClient( | 95 void GetWindowManagerClient( |
| 95 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) | 96 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) |
| 96 override; | 97 override; |
| 97 | 98 |
| 98 bool got_change_; | 99 bool got_change_; |
| 99 uint32_t change_id_; | 100 uint32_t change_id_; |
| 100 std::set<uint32_t> acked_events_; | 101 std::set<uint32_t> acked_events_; |
| 101 uint32_t window_id_; | 102 uint32_t window_id_; |
| 102 | 103 |
| 103 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); | 104 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); |
| 104 }; | 105 }; |
| 105 | 106 |
| 106 } // namespace mus | 107 } // namespace mus |
| 107 | 108 |
| 108 #endif // COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ | 109 #endif // COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ |
| OLD | NEW |