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

Unified Diff: ui/aura/mus/window_tree_client.h

Issue 2764433003: mus-ws: Plumb FrameSinkId to Children (Closed)
Patch Set: Addressed Antoine's comment Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura/mus/window_port_mus.cc ('k') | ui/aura/mus/window_tree_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/window_tree_client.h
diff --git a/ui/aura/mus/window_tree_client.h b/ui/aura/mus/window_tree_client.h
index 7ca78f410fc64e349d4b19b5b06c843771f68d7f..8c9c8098638f0f7289346dafd4ca188715984d42 100644
--- a/ui/aura/mus/window_tree_client.h
+++ b/ui/aura/mus/window_tree_client.h
@@ -231,7 +231,8 @@ class AURA_EXPORT WindowTreeClient
std::unique_ptr<WindowTreeHostMus> CreateWindowTreeHost(
WindowMusType window_mus_type,
const ui::mojom::WindowData& window_data,
- int64_t display_id);
+ int64_t display_id,
+ const cc::FrameSinkId& frame_sink_id = cc::FrameSinkId());
WindowMus* NewWindowFromWindowData(WindowMus* parent,
const ui::mojom::WindowData& window_data);
@@ -257,12 +258,15 @@ class AURA_EXPORT WindowTreeClient
ui::mojom::WindowDataPtr root_data,
int64_t display_id,
Id focused_window_id,
- bool drawn);
+ bool drawn,
+ const cc::FrameSinkId& frame_sink_id);
// Called by WmNewDisplayAdded().
- WindowTreeHostMus* WmNewDisplayAddedImpl(const display::Display& display,
- ui::mojom::WindowDataPtr root_data,
- bool parent_drawn);
+ WindowTreeHostMus* WmNewDisplayAddedImpl(
+ const display::Display& display,
+ ui::mojom::WindowDataPtr root_data,
+ bool parent_drawn,
+ const cc::FrameSinkId& frame_sink_id);
std::unique_ptr<EventResultCallback> CreateEventResultCallback(
int32_t event_id);
@@ -309,7 +313,8 @@ class AURA_EXPORT WindowTreeClient
ui::mojom::WindowTreePtr tree,
int64_t display_id,
Id focused_window_id,
- bool drawn) override;
+ bool drawn,
+ const cc::FrameSinkId& frame_sink_Id) override;
void OnEmbeddedAppDisconnected(Id window_id) override;
void OnUnembed(Id window_id) override;
void OnCaptureChanged(Id new_capture_window_id,
@@ -317,7 +322,8 @@ class AURA_EXPORT WindowTreeClient
void OnTopLevelCreated(uint32_t change_id,
ui::mojom::WindowDataPtr data,
int64_t display_id,
- bool drawn) override;
+ bool drawn,
+ const cc::FrameSinkId& frame_sink_id) override;
void OnWindowBoundsChanged(
Id window_id,
const gfx::Rect& old_bounds,
@@ -394,7 +400,8 @@ class AURA_EXPORT WindowTreeClient
void OnConnect(ClientSpecificId client_id) override;
void WmNewDisplayAdded(const display::Display& display,
ui::mojom::WindowDataPtr root_data,
- bool parent_drawn) override;
+ bool parent_drawn,
+ const cc::FrameSinkId& frame_sink_id) override;
void WmDisplayRemoved(int64_t display_id) override;
void WmDisplayModified(const display::Display& display) override;
void WmSetBounds(uint32_t change_id,
« no previous file with comments | « ui/aura/mus/window_port_mus.cc ('k') | ui/aura/mus/window_tree_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698