Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(219)

Side by Side Diff: services/ui/ws/window_tree.h

Issue 2617403003: Mus: Remove CompositorFrameSinkType (Closed)
Patch Set: Fix some unit tests Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « services/ui/ws/window_server_test_impl.cc ('k') | services/ui/ws/window_tree.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 void SetWindowProperty( 410 void SetWindowProperty(
411 uint32_t change_id, 411 uint32_t change_id,
412 Id transport_window_id, 412 Id transport_window_id,
413 const std::string& name, 413 const std::string& name,
414 const base::Optional<std::vector<uint8_t>>& value) override; 414 const base::Optional<std::vector<uint8_t>>& value) override;
415 void SetWindowOpacity(uint32_t change_id, 415 void SetWindowOpacity(uint32_t change_id,
416 Id window_id, 416 Id window_id,
417 float opacity) override; 417 float opacity) override;
418 void AttachCompositorFrameSink( 418 void AttachCompositorFrameSink(
419 Id transport_window_id, 419 Id transport_window_id,
420 mojom::CompositorFrameSinkType type,
421 cc::mojom::MojoCompositorFrameSinkRequest compositor_frame_sink, 420 cc::mojom::MojoCompositorFrameSinkRequest compositor_frame_sink,
422 cc::mojom::MojoCompositorFrameSinkClientPtr client) override; 421 cc::mojom::MojoCompositorFrameSinkClientPtr client) override;
423 void Embed(Id transport_window_id, 422 void Embed(Id transport_window_id,
424 mojom::WindowTreeClientPtr client, 423 mojom::WindowTreeClientPtr client,
425 uint32_t flags, 424 uint32_t flags,
426 const EmbedCallback& callback) override; 425 const EmbedCallback& callback) override;
427 void SetFocus(uint32_t change_id, Id transport_window_id) override; 426 void SetFocus(uint32_t change_id, Id transport_window_id) override;
428 void SetCanFocus(Id transport_window_id, bool can_focus) override; 427 void SetCanFocus(Id transport_window_id, bool can_focus) override;
429 void SetCanAcceptEvents(Id transport_window_id, 428 void SetCanAcceptEvents(Id transport_window_id,
430 bool can_accept_events) override; 429 bool can_accept_events) override;
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 waiting_for_top_level_window_info_; 576 waiting_for_top_level_window_info_;
578 bool embedder_intercepts_events_ = false; 577 bool embedder_intercepts_events_ = false;
579 578
580 DISALLOW_COPY_AND_ASSIGN(WindowTree); 579 DISALLOW_COPY_AND_ASSIGN(WindowTree);
581 }; 580 };
582 581
583 } // namespace ws 582 } // namespace ws
584 } // namespace ui 583 } // namespace ui
585 584
586 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ 585 #endif // SERVICES_UI_WS_WINDOW_TREE_H_
OLDNEW
« no previous file with comments | « services/ui/ws/window_server_test_impl.cc ('k') | services/ui/ws/window_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698