| 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 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 414 const mojo::String& name, | 414 const mojo::String& name, |
| 415 mojo::Array<uint8_t> value) override; | 415 mojo::Array<uint8_t> value) override; |
| 416 void SetWindowOpacity(uint32_t change_id, | 416 void SetWindowOpacity(uint32_t change_id, |
| 417 Id window_id, | 417 Id window_id, |
| 418 float opacity) override; | 418 float opacity) override; |
| 419 void AttachCompositorFrameSink( | 419 void AttachCompositorFrameSink( |
| 420 Id transport_window_id, | 420 Id transport_window_id, |
| 421 mojom::CompositorFrameSinkType type, | 421 mojom::CompositorFrameSinkType type, |
| 422 cc::mojom::MojoCompositorFrameSinkRequest compositor_frame_sink, | 422 cc::mojom::MojoCompositorFrameSinkRequest compositor_frame_sink, |
| 423 cc::mojom::MojoCompositorFrameSinkClientPtr client) override; | 423 cc::mojom::MojoCompositorFrameSinkClientPtr client) override; |
| 424 void OnWindowSurfaceDetached(Id transport_window_id, | |
| 425 const cc::SurfaceSequence& sequence) override; | |
| 426 void Embed(Id transport_window_id, | 424 void Embed(Id transport_window_id, |
| 427 mojom::WindowTreeClientPtr client, | 425 mojom::WindowTreeClientPtr client, |
| 428 uint32_t flags, | 426 uint32_t flags, |
| 429 const EmbedCallback& callback) override; | 427 const EmbedCallback& callback) override; |
| 430 void SetFocus(uint32_t change_id, Id transport_window_id) override; | 428 void SetFocus(uint32_t change_id, Id transport_window_id) override; |
| 431 void SetCanFocus(Id transport_window_id, bool can_focus) override; | 429 void SetCanFocus(Id transport_window_id, bool can_focus) override; |
| 432 void SetCanAcceptEvents(Id transport_window_id, | 430 void SetCanAcceptEvents(Id transport_window_id, |
| 433 bool can_accept_events) override; | 431 bool can_accept_events) override; |
| 434 void SetPredefinedCursor(uint32_t change_id, | 432 void SetPredefinedCursor(uint32_t change_id, |
| 435 Id transport_window_id, | 433 Id transport_window_id, |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 579 waiting_for_top_level_window_info_; | 577 waiting_for_top_level_window_info_; |
| 580 bool embedder_intercepts_events_ = false; | 578 bool embedder_intercepts_events_ = false; |
| 581 | 579 |
| 582 DISALLOW_COPY_AND_ASSIGN(WindowTree); | 580 DISALLOW_COPY_AND_ASSIGN(WindowTree); |
| 583 }; | 581 }; |
| 584 | 582 |
| 585 } // namespace ws | 583 } // namespace ws |
| 586 } // namespace ui | 584 } // namespace ui |
| 587 | 585 |
| 588 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ | 586 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ |
| OLD | NEW |