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 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 void SetWindowVisibility(uint32_t change_id, | 406 void SetWindowVisibility(uint32_t change_id, |
407 Id window_id, | 407 Id window_id, |
408 bool visible) override; | 408 bool visible) override; |
409 void SetWindowProperty(uint32_t change_id, | 409 void SetWindowProperty(uint32_t change_id, |
410 Id transport_window_id, | 410 Id transport_window_id, |
411 const mojo::String& name, | 411 const mojo::String& name, |
412 mojo::Array<uint8_t> value) override; | 412 mojo::Array<uint8_t> value) override; |
413 void SetWindowOpacity(uint32_t change_id, | 413 void SetWindowOpacity(uint32_t change_id, |
414 Id window_id, | 414 Id window_id, |
415 float opacity) override; | 415 float opacity) override; |
416 void AttachSurface(Id transport_window_id, | 416 void AttachSurface( |
417 mojom::SurfaceType type, | 417 Id transport_window_id, |
418 mojo::InterfaceRequest<mojom::Surface> surface, | 418 mojom::SurfaceType type, |
419 mojom::SurfaceClientPtr client) override; | 419 mojo::InterfaceRequest<cc::mojom::MojoCompositorFrameSink> surface, |
| 420 cc::mojom::MojoCompositorFrameSinkClientPtr client) override; |
420 void OnWindowSurfaceDetached(Id transport_window_id, | 421 void OnWindowSurfaceDetached(Id transport_window_id, |
421 const cc::SurfaceSequence& sequence) override; | 422 const cc::SurfaceSequence& sequence) override; |
422 void Embed(Id transport_window_id, | 423 void Embed(Id transport_window_id, |
423 mojom::WindowTreeClientPtr client, | 424 mojom::WindowTreeClientPtr client, |
424 uint32_t flags, | 425 uint32_t flags, |
425 const EmbedCallback& callback) override; | 426 const EmbedCallback& callback) override; |
426 void SetFocus(uint32_t change_id, Id transport_window_id) override; | 427 void SetFocus(uint32_t change_id, Id transport_window_id) override; |
427 void SetCanFocus(Id transport_window_id, bool can_focus) override; | 428 void SetCanFocus(Id transport_window_id, bool can_focus) override; |
428 void SetCanAcceptEvents(Id transport_window_id, | 429 void SetCanAcceptEvents(Id transport_window_id, |
429 bool can_accept_events) override; | 430 bool can_accept_events) override; |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
573 waiting_for_top_level_window_info_; | 574 waiting_for_top_level_window_info_; |
574 bool embedder_intercepts_events_ = false; | 575 bool embedder_intercepts_events_ = false; |
575 | 576 |
576 DISALLOW_COPY_AND_ASSIGN(WindowTree); | 577 DISALLOW_COPY_AND_ASSIGN(WindowTree); |
577 }; | 578 }; |
578 | 579 |
579 } // namespace ws | 580 } // namespace ws |
580 } // namespace ui | 581 } // namespace ui |
581 | 582 |
582 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ | 583 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ |
OLD | NEW |