| 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 "base/bind.h" | 5 #include "base/bind.h" |
| 6 #include "base/message_loop/message_loop.h" | 6 #include "base/message_loop/message_loop.h" |
| 7 #include "base/run_loop.h" | 7 #include "base/run_loop.h" |
| 8 #include "mojo/public/cpp/application/application_delegate.h" | 8 #include "mojo/public/cpp/application/application_delegate.h" |
| 9 #include "mojo/public/cpp/application/application_impl.h" | 9 #include "mojo/public/cpp/application/application_impl.h" |
| 10 #include "mojo/public/cpp/application/application_test_base.h" | 10 #include "mojo/public/cpp/application/application_test_base.h" |
| 11 #include "mojo/services/public/interfaces/view_manager/view_manager.mojom.h" | 11 #include "mojo/services/public/interfaces/view_manager/view_manager.mojom.h" |
| 12 #include "mojo/services/public/interfaces/window_manager/window_manager.mojom.h" | 12 #include "mojo/services/window_manager/public/interfaces/window_manager.mojom.h" |
| 13 #include "mojo/services/public/interfaces/window_manager/window_manager_internal
.mojom.h" | 13 #include "mojo/services/window_manager/public/interfaces/window_manager_internal
.mojom.h" |
| 14 #include "services/view_manager/ids.h" | 14 #include "services/view_manager/ids.h" |
| 15 #include "services/view_manager/test_change_tracker.h" | 15 #include "services/view_manager/test_change_tracker.h" |
| 16 | 16 |
| 17 namespace mojo { | 17 namespace mojo { |
| 18 namespace service { | 18 namespace service { |
| 19 | 19 |
| 20 // Creates an id used for transport from the specified parameters. | 20 // Creates an id used for transport from the specified parameters. |
| 21 Id BuildViewId(ConnectionSpecificId connection_id, | 21 Id BuildViewId(ConnectionSpecificId connection_id, |
| 22 ConnectionSpecificId view_id) { | 22 ConnectionSpecificId view_id) { |
| 23 return (connection_id << 16) | view_id; | 23 return (connection_id << 16) | view_id; |
| (...skipping 1371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1395 // that SetBounsdViews/AddView and the like don't result in messages to the | 1395 // that SetBounsdViews/AddView and the like don't result in messages to the |
| 1396 // originating connection. | 1396 // originating connection. |
| 1397 | 1397 |
| 1398 // TODO(sky): make sure coverage of what was | 1398 // TODO(sky): make sure coverage of what was |
| 1399 // ViewManagerTest.SecondEmbedRoot_InitService and | 1399 // ViewManagerTest.SecondEmbedRoot_InitService and |
| 1400 // ViewManagerTest.MultipleEmbedRootsBeforeWTHReady gets added to window manager | 1400 // ViewManagerTest.MultipleEmbedRootsBeforeWTHReady gets added to window manager |
| 1401 // tests. | 1401 // tests. |
| 1402 | 1402 |
| 1403 } // namespace service | 1403 } // namespace service |
| 1404 } // namespace mojo | 1404 } // namespace mojo |
| OLD | NEW |