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

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

Issue 1398973004: Move //mojo/services/X/public/... to //mojo/services/X/... (part 2). (Closed) Base URL: https://github.com/domokit/mojo.git@no_public_1
Patch Set: add missing copyright notices Created 5 years, 2 months 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/test_change_tracker.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 "mojo/services/view_manager/public/cpp/view_manager.h" 5 #include "mojo/services/view_manager/public/cpp/view_manager.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/memory/scoped_vector.h" 10 #include "base/memory/scoped_vector.h"
11 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "base/run_loop.h" 12 #include "base/run_loop.h"
13 #include "base/test/test_timeouts.h" 13 #include "base/test/test_timeouts.h"
14 #include "mojo/public/cpp/application/application_connection.h" 14 #include "mojo/public/cpp/application/application_connection.h"
15 #include "mojo/public/cpp/application/application_delegate.h" 15 #include "mojo/public/cpp/application/application_delegate.h"
16 #include "mojo/public/cpp/application/application_impl.h" 16 #include "mojo/public/cpp/application/application_impl.h"
17 #include "mojo/public/cpp/application/application_test_base.h" 17 #include "mojo/public/cpp/application/application_test_base.h"
18 #include "mojo/public/cpp/application/service_provider_impl.h" 18 #include "mojo/public/cpp/application/service_provider_impl.h"
19 #include "mojo/services/geometry/public/cpp/geometry_util.h" 19 #include "mojo/services/geometry/cpp/geometry_util.h"
20 #include "mojo/services/view_manager/public/cpp/lib/view_manager_client_impl.h" 20 #include "mojo/services/view_manager/public/cpp/lib/view_manager_client_impl.h"
21 #include "mojo/services/view_manager/public/cpp/view_manager_client_factory.h" 21 #include "mojo/services/view_manager/public/cpp/view_manager_client_factory.h"
22 #include "mojo/services/view_manager/public/cpp/view_manager_context.h" 22 #include "mojo/services/view_manager/public/cpp/view_manager_context.h"
23 #include "mojo/services/view_manager/public/cpp/view_manager_delegate.h" 23 #include "mojo/services/view_manager/public/cpp/view_manager_delegate.h"
24 #include "mojo/services/view_manager/public/cpp/view_observer.h" 24 #include "mojo/services/view_manager/public/cpp/view_observer.h"
25 25
26 namespace mojo { 26 namespace mojo {
27 27
28 namespace { 28 namespace {
29 29
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 EXPECT_EQ(nullptr, view2->parent()); 644 EXPECT_EQ(nullptr, view2->parent());
645 EXPECT_TRUE(view1->children().empty()); 645 EXPECT_TRUE(view1->children().empty());
646 646
647 // Run the message loop so the Embed() call above completes. Without this 647 // Run the message loop so the Embed() call above completes. Without this
648 // we may end up reconnecting to the test and rerunning the test, which is 648 // we may end up reconnecting to the test and rerunning the test, which is
649 // problematic since the other services don't shut down. 649 // problematic since the other services don't shut down.
650 ASSERT_TRUE(DoRunLoopWithTimeout()); 650 ASSERT_TRUE(DoRunLoopWithTimeout());
651 } 651 }
652 652
653 } // namespace mojo 653 } // namespace mojo
OLDNEW
« no previous file with comments | « services/view_manager/test_change_tracker.h ('k') | services/window_manager/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698