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

Side by Side Diff: components/mus/public/cpp/lib/window_tree_client_impl.cc

Issue 1492183002: mus: Remove some dead code from client-lib. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 unified diff | Download patch
« no previous file with comments | « components/mus/public/cpp/lib/window_tree_client_impl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/lib/in_flight_change.h" 9 #include "components/mus/public/cpp/lib/in_flight_change.h"
10 #include "components/mus/public/cpp/lib/window_private.h" 10 #include "components/mus/public/cpp/lib/window_private.h"
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 // the client applies the bounds we set below. 648 // the client applies the bounds we set below.
649 window->SetSharedPropertyInternal(name, data.get()); 649 window->SetSharedPropertyInternal(name, data.get());
650 } 650 }
651 } 651 }
652 tree_->WmResponse(change_id, result); 652 tree_->WmResponse(change_id, result);
653 } 653 }
654 654
655 //////////////////////////////////////////////////////////////////////////////// 655 ////////////////////////////////////////////////////////////////////////////////
656 // WindowTreeClientImpl, private: 656 // WindowTreeClientImpl, private:
657 657
658 void WindowTreeClientImpl::OnActionCompleted(bool success) {
659 if (!change_acked_callback_.is_null())
660 change_acked_callback_.Run();
661 }
662
663 mojo::Callback<void(bool)> WindowTreeClientImpl::ActionCompletedCallback() { 658 mojo::Callback<void(bool)> WindowTreeClientImpl::ActionCompletedCallback() {
664 return [this](bool success) { OnActionCompleted(success); }; 659 return [this](bool success) {};
665 } 660 }
666 661
667 } // namespace mus 662 } // namespace mus
OLDNEW
« no previous file with comments | « components/mus/public/cpp/lib/window_tree_client_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698