| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #include "ui/aura/mus/window_port_mus.h" | 5 #include "ui/aura/mus/window_port_mus.h" |
| 6 | 6 |
| 7 #include "base/memory/ptr_util.h" |
| 7 #include "ui/aura/client/aura_constants.h" | 8 #include "ui/aura/client/aura_constants.h" |
| 8 #include "ui/aura/client/transient_window_client.h" | 9 #include "ui/aura/client/transient_window_client.h" |
| 9 #include "ui/aura/mus/property_converter.h" | 10 #include "ui/aura/mus/property_converter.h" |
| 10 #include "ui/aura/mus/surface_id_handler.h" | 11 #include "ui/aura/mus/surface_id_handler.h" |
| 11 #include "ui/aura/mus/window_tree_client.h" | 12 #include "ui/aura/mus/window_tree_client.h" |
| 12 #include "ui/aura/mus/window_tree_client_delegate.h" | 13 #include "ui/aura/mus/window_tree_client_delegate.h" |
| 13 #include "ui/aura/window.h" | 14 #include "ui/aura/window.h" |
| 14 #include "ui/aura/window_delegate.h" | 15 #include "ui/aura/window_delegate.h" |
| 15 #include "ui/aura/window_observer.h" | 16 #include "ui/aura/window_observer.h" |
| 16 #include "ui/aura/window_property.h" | 17 #include "ui/aura/window_property.h" |
| (...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 425 change_data.property_name = | 426 change_data.property_name = |
| 426 GetPropertyConverter()->GetTransportNameForPropertyKey(key); | 427 GetPropertyConverter()->GetTransportNameForPropertyKey(key); |
| 427 // TODO(sky): investigate to see if we need to compare data. In particular do | 428 // TODO(sky): investigate to see if we need to compare data. In particular do |
| 428 // we ever have a case where changing a property cascades into changing the | 429 // we ever have a case where changing a property cascades into changing the |
| 429 // same property? | 430 // same property? |
| 430 if (!RemoveChangeByTypeAndData(ServerChangeType::PROPERTY, change_data)) | 431 if (!RemoveChangeByTypeAndData(ServerChangeType::PROPERTY, change_data)) |
| 431 window_tree_client_->OnWindowMusPropertyChanged(this, key, std::move(data)); | 432 window_tree_client_->OnWindowMusPropertyChanged(this, key, std::move(data)); |
| 432 } | 433 } |
| 433 | 434 |
| 434 } // namespace aura | 435 } // namespace aura |
| OLD | NEW |