| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 SERVICES_UI_WS_WINDOW_TREE_H_ | 5 #ifndef SERVICES_UI_WS_WINDOW_TREE_H_ |
| 6 #define SERVICES_UI_WS_WINDOW_TREE_H_ | 6 #define SERVICES_UI_WS_WINDOW_TREE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 387 void AttachSurface(Id transport_window_id, | 387 void AttachSurface(Id transport_window_id, |
| 388 mojom::SurfaceType type, | 388 mojom::SurfaceType type, |
| 389 mojo::InterfaceRequest<mojom::Surface> surface, | 389 mojo::InterfaceRequest<mojom::Surface> surface, |
| 390 mojom::SurfaceClientPtr client) override; | 390 mojom::SurfaceClientPtr client) override; |
| 391 void Embed(Id transport_window_id, | 391 void Embed(Id transport_window_id, |
| 392 mojom::WindowTreeClientPtr client, | 392 mojom::WindowTreeClientPtr client, |
| 393 uint32_t flags, | 393 uint32_t flags, |
| 394 const EmbedCallback& callback) override; | 394 const EmbedCallback& callback) override; |
| 395 void SetFocus(uint32_t change_id, Id transport_window_id) override; | 395 void SetFocus(uint32_t change_id, Id transport_window_id) override; |
| 396 void SetCanFocus(Id transport_window_id, bool can_focus) override; | 396 void SetCanFocus(Id transport_window_id, bool can_focus) override; |
| 397 void SetCanAcceptEvents(Id transport_window_id, |
| 398 bool can_accept_events) override; |
| 397 void SetPredefinedCursor(uint32_t change_id, | 399 void SetPredefinedCursor(uint32_t change_id, |
| 398 Id transport_window_id, | 400 Id transport_window_id, |
| 399 ui::mojom::Cursor cursor_id) override; | 401 ui::mojom::Cursor cursor_id) override; |
| 400 void SetWindowTextInputState(Id transport_window_id, | 402 void SetWindowTextInputState(Id transport_window_id, |
| 401 mojo::TextInputStatePtr state) override; | 403 mojo::TextInputStatePtr state) override; |
| 402 void SetImeVisibility(Id transport_window_id, | 404 void SetImeVisibility(Id transport_window_id, |
| 403 bool visible, | 405 bool visible, |
| 404 mojo::TextInputStatePtr state) override; | 406 mojo::TextInputStatePtr state) override; |
| 405 void OnWindowInputEventAck(uint32_t event_id, | 407 void OnWindowInputEventAck(uint32_t event_id, |
| 406 mojom::EventResult result) override; | 408 mojom::EventResult result) override; |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 503 waiting_for_top_level_window_info_; | 505 waiting_for_top_level_window_info_; |
| 504 bool embedder_intercepts_events_ = false; | 506 bool embedder_intercepts_events_ = false; |
| 505 | 507 |
| 506 DISALLOW_COPY_AND_ASSIGN(WindowTree); | 508 DISALLOW_COPY_AND_ASSIGN(WindowTree); |
| 507 }; | 509 }; |
| 508 | 510 |
| 509 } // namespace ws | 511 } // namespace ws |
| 510 } // namespace ui | 512 } // namespace ui |
| 511 | 513 |
| 512 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ | 514 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ |
| OLD | NEW |