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

Side by Side Diff: mojo/services/public/cpp/view_manager/tests/view_manager_unittest.cc

Issue 782693004: Update mojo sdk to rev f6c8ec07c01deebc13178d516225fd12695c3dc2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: hack mojo_system_impl gypi for android :| 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
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/public/cpp/view_manager/view_manager.h" 5 #include "mojo/services/public/cpp/view_manager/view_manager.h"
6 6
7 #include "base/auto_reset.h" 7 #include "base/auto_reset.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "mojo/application_manager/application_manager.h" 10 #include "mojo/application_manager/application_manager.h"
11 #include "mojo/public/cpp/application/application_connection.h" 11 #include "mojo/public/cpp/application/application_connection.h"
12 #include "mojo/public/cpp/application/application_delegate.h" 12 #include "mojo/public/cpp/application/application_delegate.h"
13 #include "mojo/public/cpp/application/application_impl.h" 13 #include "mojo/public/cpp/application/application_impl.h"
14 #include "mojo/public/cpp/application/service_provider_impl.h" 14 #include "mojo/public/cpp/application/service_provider_impl.h"
15 #include "mojo/public/interfaces/application/service_provider.mojom.h" 15 #include "mojo/public/interfaces/application/service_provider.mojom.h"
16 #include "mojo/services/public/cpp/geometry/geometry_util.h" 16 #include "mojo/services/public/cpp/geometry/geometry_util.h"
17 #include "mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.h" 17 #include "mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.h"
18 #include "mojo/services/public/cpp/view_manager/lib/view_private.h" 18 #include "mojo/services/public/cpp/view_manager/lib/view_private.h"
19 #include "mojo/services/public/cpp/view_manager/util.h" 19 #include "mojo/services/public/cpp/view_manager/util.h"
20 #include "mojo/services/public/cpp/view_manager/view_manager_client_factory.h" 20 #include "mojo/services/public/cpp/view_manager/view_manager_client_factory.h"
21 #include "mojo/services/public/cpp/view_manager/view_manager_delegate.h" 21 #include "mojo/services/public/cpp/view_manager/view_manager_delegate.h"
22 #include "mojo/services/public/cpp/view_manager/view_observer.h" 22 #include "mojo/services/public/cpp/view_manager/view_observer.h"
23 #include "mojo/shell/shell_test_helper.h" 23 #include "shell/shell_test_helper.h"
24 #include "testing/gtest/include/gtest/gtest.h" 24 #include "testing/gtest/include/gtest/gtest.h"
25 25
26 namespace mojo { 26 namespace mojo {
27 27
28 namespace { 28 namespace {
29 29
30 const char kWindowManagerURL[] = "mojo:window_manager"; 30 const char kWindowManagerURL[] = "mojo:window_manager";
31 const char kEmbeddedApp1URL[] = "mojo:embedded_app_1"; 31 const char kEmbeddedApp1URL[] = "mojo:embedded_app_1";
32 32
33 base::RunLoop* current_run_loop = NULL; 33 base::RunLoop* current_run_loop = NULL;
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 644
645 // TODO(beng): tests for focus: 645 // TODO(beng): tests for focus:
646 // - focus between two views known to a connection 646 // - focus between two views known to a connection
647 // - focus between views unknown to one of the connections. 647 // - focus between views unknown to one of the connections.
648 // - focus between views unknown to either connection. 648 // - focus between views unknown to either connection.
649 649
650 // TODO(sky): need test of root being destroyed with existing views. See 650 // TODO(sky): need test of root being destroyed with existing views. See
651 // 434555 for specific case. 651 // 434555 for specific case.
652 652
653 } // namespace mojo 653 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698