| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_WINDOW_TREE_CLIENT_PRIVATE_H_ | 5 #ifndef UI_AURA_TEST_MUS_WINDOW_TREE_CLIENT_PRIVATE_H_ |
| 6 #define UI_AURA_TEST_MUS_WINDOW_TREE_CLIENT_PRIVATE_H_ | 6 #define UI_AURA_TEST_MUS_WINDOW_TREE_CLIENT_PRIVATE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 void CallOnWindowInputEvent(Window* window, std::unique_ptr<ui::Event> event); | 50 void CallOnWindowInputEvent(Window* window, std::unique_ptr<ui::Event> event); |
| 51 | 51 |
| 52 void CallOnCaptureChanged(Window* new_capture, Window* old_capture); | 52 void CallOnCaptureChanged(Window* new_capture, Window* old_capture); |
| 53 | 53 |
| 54 // Sets the WindowTree and client id. | 54 // Sets the WindowTree and client id. |
| 55 void SetTreeAndClientId(ui::mojom::WindowTree* window_tree, | 55 void SetTreeAndClientId(ui::mojom::WindowTree* window_tree, |
| 56 ClientSpecificId client_id); | 56 ClientSpecificId client_id); |
| 57 | 57 |
| 58 bool HasPointerWatcher(); | 58 bool HasPointerWatcher(); |
| 59 | 59 |
| 60 Window* GetWindowByServerId(Id id); |
| 61 |
| 60 private: | 62 private: |
| 61 WindowTreeClient* tree_client_impl_; | 63 WindowTreeClient* tree_client_impl_; |
| 62 uint16_t next_window_id_ = 1u; | 64 uint16_t next_window_id_ = 1u; |
| 63 | 65 |
| 64 DISALLOW_COPY_AND_ASSIGN(WindowTreeClientPrivate); | 66 DISALLOW_COPY_AND_ASSIGN(WindowTreeClientPrivate); |
| 65 }; | 67 }; |
| 66 | 68 |
| 67 } // namespace ui | 69 } // namespace ui |
| 68 | 70 |
| 69 #endif // UI_AURA_TEST_MUS_WINDOW_TREE_CLIENT_PRIVATE_H_ | 71 #endif // UI_AURA_TEST_MUS_WINDOW_TREE_CLIENT_PRIVATE_H_ |
| OLD | NEW |