| Index: services/ui/public/cpp/window_tree_client.cc
|
| diff --git a/services/ui/public/cpp/window_tree_client.cc b/services/ui/public/cpp/window_tree_client.cc
|
| index 11e73b05533d8f45fb7c94dd285dadeb1e01723d..611b584543cf07b6d6b8fce8a122424e5fcff65d 100644
|
| --- a/services/ui/public/cpp/window_tree_client.cc
|
| +++ b/services/ui/public/cpp/window_tree_client.cc
|
| @@ -5,7 +5,6 @@
|
| #include "services/ui/public/cpp/window_tree_client.h"
|
|
|
| #include <stddef.h>
|
| -
|
| #include <string>
|
| #include <utility>
|
| #include <vector>
|
| @@ -503,8 +502,10 @@ Window* WindowTreeClient::NewWindowImpl(
|
| DCHECK(tree_);
|
| Window* window =
|
| new Window(this, MakeTransportId(client_id_, next_window_id_++));
|
| +
|
| if (properties)
|
| window->properties_ = *properties;
|
| +
|
| AddWindow(window);
|
|
|
| const uint32_t change_id =
|
| @@ -518,6 +519,15 @@ Window* WindowTreeClient::NewWindowImpl(
|
| mojo::Map<mojo::String, mojo::Array<uint8_t>>::From(*properties);
|
| }
|
| if (type == NewWindowType::CHILD) {
|
| + // LOG(ERROR) << "\n\n WindowTreeClient::NewWindowImpl
|
| + // transport_properties ";
|
| + // for (auto i = transport_properties.begin(); i !=
|
| + // transport_properties.end(); ++i)
|
| + // {
|
| + // LOG(ERROR) << "\n transport_properties->first " << i->first;
|
| + // // do something with it here like adding it to a vector
|
| + // }
|
| +
|
| tree_->NewWindow(change_id, server_id(window),
|
| std::move(transport_properties));
|
| } else {
|
|
|