OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "components/mus/public/cpp/lib/window_tree_client_impl.h" | 5 #include "components/mus/public/cpp/lib/window_tree_client_impl.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "components/mus/common/util.h" | 8 #include "components/mus/common/util.h" |
9 #include "components/mus/public/cpp/input_event_handler.h" | 9 #include "components/mus/public/cpp/input_event_handler.h" |
10 #include "components/mus/public/cpp/lib/in_flight_change.h" | 10 #include "components/mus/public/cpp/lib/in_flight_change.h" |
(...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
721 result = window_manager_delegate_->OnWmSetProperty(window, name, &data); | 721 result = window_manager_delegate_->OnWmSetProperty(window, name, &data); |
722 if (result) { | 722 if (result) { |
723 // If the resulting bounds differ return false. Returning false ensures | 723 // If the resulting bounds differ return false. Returning false ensures |
724 // the client applies the bounds we set below. | 724 // the client applies the bounds we set below. |
725 window->SetSharedPropertyInternal(name, data.get()); | 725 window->SetSharedPropertyInternal(name, data.get()); |
726 } | 726 } |
727 } | 727 } |
728 tree_->WmResponse(change_id, result); | 728 tree_->WmResponse(change_id, result); |
729 } | 729 } |
730 | 730 |
731 //////////////////////////////////////////////////////////////////////////////// | |
732 // WindowTreeClientImpl, private: | |
733 | |
734 mojo::Callback<void(bool)> WindowTreeClientImpl::ActionCompletedCallback() { | |
735 return [this](bool success) {}; | |
736 } | |
737 | |
738 } // namespace mus | 731 } // namespace mus |
OLD | NEW |