| 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 "mojo/services/window_manager/window_manager_impl.h" | 5 #include "mojo/services/window_manager/window_manager_impl.h" |
| 6 | 6 |
| 7 #include "mojo/services/window_manager/window_manager_app.h" | 7 #include "mojo/services/window_manager/window_manager_app.h" |
| 8 | 8 |
| 9 namespace mojo { | 9 namespace mojo { |
| 10 | 10 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 const Callback<void(bool)>& callback) { | 67 const Callback<void(bool)>& callback) { |
| 68 if (!from_vm_) | 68 if (!from_vm_) |
| 69 return; // See comments for |from_vm_| on this. | 69 return; // See comments for |from_vm_| on this. |
| 70 | 70 |
| 71 bool success = window_manager_->IsReady(); | 71 bool success = window_manager_->IsReady(); |
| 72 if (success) | 72 if (success) |
| 73 window_manager_->ActivateWindow(view); | 73 window_manager_->ActivateWindow(view); |
| 74 callback.Run(success); | 74 callback.Run(success); |
| 75 } | 75 } |
| 76 | 76 |
| 77 void WindowManagerImpl::OnConnectionEstablished() { | |
| 78 } | |
| 79 | |
| 80 } // namespace mojo | 77 } // namespace mojo |
| OLD | NEW |