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

Unified Diff: components/mus/ws/test_utils.cc

Issue 2019013002: mus: Send display-id to client only for the root windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: doc Created 4 years, 7 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 | « components/mus/ws/test_utils.h ('k') | components/mus/ws/window_tree.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/test_utils.cc
diff --git a/components/mus/ws/test_utils.cc b/components/mus/ws/test_utils.cc
index 7706e307fa07939b9481f462a95dc7fb12a137b5..4c310b43b44cf74cc095670ddc6640a1e6830b95 100644
--- a/components/mus/ws/test_utils.cc
+++ b/components/mus/ws/test_utils.cc
@@ -182,6 +182,7 @@ void TestWindowTreeClient::Bind(
void TestWindowTreeClient::OnEmbed(uint16_t client_id,
mojom::WindowDataPtr root,
mus::mojom::WindowTreePtr tree,
+ int64_t display_id,
Id focused_window_id,
bool drawn) {
// TODO(sky): add test coverage of |focused_window_id|.
@@ -200,6 +201,7 @@ void TestWindowTreeClient::OnLostCapture(Id window_id) {}
void TestWindowTreeClient::OnTopLevelCreated(uint32_t change_id,
mojom::WindowDataPtr data,
+ int64_t display_id,
bool drawn) {
tracker_.OnTopLevelCreated(change_id, std::move(data), drawn);
}
« no previous file with comments | « components/mus/ws/test_utils.h ('k') | components/mus/ws/window_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698