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

Side by Side Diff: services/view_manager/view_manager_service_unittest.cc

Issue 790623003: Restructure public side of view_manager service. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: BUILD.gn file reorderings Created 6 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 | « services/view_manager/view_manager_service_impl.h ('k') | services/window_manager/BUILD.gn » ('j') | 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 <string> 5 #include <string>
6 #include <vector> 6 #include <vector>
7 7
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "mojo/converters/geometry/geometry_type_converters.h" 9 #include "mojo/converters/geometry/geometry_type_converters.h"
10 #include "mojo/public/interfaces/application/service_provider.mojom.h" 10 #include "mojo/public/interfaces/application/service_provider.mojom.h"
11 #include "mojo/services/public/cpp/view_manager/types.h" 11 #include "mojo/services/view_manager/public/cpp/types.h"
12 #include "mojo/services/public/cpp/view_manager/util.h" 12 #include "mojo/services/view_manager/public/cpp/util.h"
13 #include "mojo/services/public/interfaces/view_manager/view_manager.mojom.h" 13 #include "mojo/services/view_manager/public/interfaces/view_manager.mojom.h"
14 #include "mojo/services/window_manager/public/interfaces/window_manager.mojom.h" 14 #include "mojo/services/window_manager/public/interfaces/window_manager.mojom.h"
15 #include "mojo/services/window_manager/public/interfaces/window_manager_internal .mojom.h" 15 #include "mojo/services/window_manager/public/interfaces/window_manager_internal .mojom.h"
16 #include "services/view_manager/client_connection.h" 16 #include "services/view_manager/client_connection.h"
17 #include "services/view_manager/connection_manager.h" 17 #include "services/view_manager/connection_manager.h"
18 #include "services/view_manager/connection_manager_delegate.h" 18 #include "services/view_manager/connection_manager_delegate.h"
19 #include "services/view_manager/display_manager.h" 19 #include "services/view_manager/display_manager.h"
20 #include "services/view_manager/ids.h" 20 #include "services/view_manager/ids.h"
21 #include "services/view_manager/server_view.h" 21 #include "services/view_manager/server_view.h"
22 #include "services/view_manager/test_change_tracker.h" 22 #include "services/view_manager/test_change_tracker.h"
23 #include "services/view_manager/view_manager_service_impl.h" 23 #include "services/view_manager/view_manager_service_impl.h"
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 ASSERT_TRUE(cloned_view); 431 ASSERT_TRUE(cloned_view);
432 // |cloned_view| should have a child and its child should have a child. 432 // |cloned_view| should have a child and its child should have a child.
433 ASSERT_EQ(1u, cloned_view->GetChildren().size()); 433 ASSERT_EQ(1u, cloned_view->GetChildren().size());
434 const ServerView* cloned_view_child = cloned_view->GetChildren()[0]; 434 const ServerView* cloned_view_child = cloned_view->GetChildren()[0];
435 EXPECT_EQ(1u, cloned_view_child->GetChildren().size()); 435 EXPECT_EQ(1u, cloned_view_child->GetChildren().size());
436 EXPECT_TRUE(cloned_view_child->id() == ClonedViewId()); 436 EXPECT_TRUE(cloned_view_child->id() == ClonedViewId());
437 } 437 }
438 438
439 } // namespace service 439 } // namespace service
440 } // namespace mojo 440 } // namespace mojo
OLDNEW
« no previous file with comments | « services/view_manager/view_manager_service_impl.h ('k') | services/window_manager/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698