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

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

Issue 1474543002: Makes NewWindow() take set of properties for window (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nuke shadow_style changes Created 5 years, 1 month 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/server_window.cc ('k') | components/mus/ws/window_tree_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/window_tree_apptest.cc
diff --git a/components/mus/ws/window_tree_apptest.cc b/components/mus/ws/window_tree_apptest.cc
index 77755c787d333631f3a1357756053f12a10b7fbd..ea44ebc5b22cc7013cb40de082c448a9bbf50afc 100644
--- a/components/mus/ws/window_tree_apptest.cc
+++ b/components/mus/ws/window_tree_apptest.cc
@@ -241,8 +241,9 @@ class TestWindowTreeClientImpl : public mojom::WindowTreeClient,
// Generally you want NewWindow(), but use this if you need to test given
// a complete window id (NewWindow() ors with the connection id).
Id NewWindowWithCompleteId(Id id) {
+ mojo::Map<mojo::String, mojo::Array<uint8_t>> properties;
const uint32_t change_id = GetAndAdvanceChangeId();
- tree()->NewWindow(change_id, id);
+ tree()->NewWindow(change_id, id, properties.Pass());
return WaitForChangeCompleted(change_id) ? id : 0;
}
« no previous file with comments | « components/mus/ws/server_window.cc ('k') | components/mus/ws/window_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698