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

Side by Side Diff: components/mus/ws/window_tree_unittest.cc

Issue 1565343003: Move mojo/application/public -> mojo/shell/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fetcher
Patch Set: . Created 4 years, 11 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 | « components/mus/ws/window_tree_apptest.cc ('k') | components/pdf_viewer/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 <stdint.h> 5 #include <stdint.h>
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "base/strings/stringprintf.h" 12 #include "base/strings/stringprintf.h"
13 #include "components/mus/common/types.h" 13 #include "components/mus/common/types.h"
14 #include "components/mus/common/util.h" 14 #include "components/mus/common/util.h"
15 #include "components/mus/public/interfaces/window_tree.mojom.h" 15 #include "components/mus/public/interfaces/window_tree.mojom.h"
16 #include "components/mus/surfaces/surfaces_state.h" 16 #include "components/mus/surfaces/surfaces_state.h"
17 #include "components/mus/ws/client_connection.h" 17 #include "components/mus/ws/client_connection.h"
18 #include "components/mus/ws/connection_manager.h" 18 #include "components/mus/ws/connection_manager.h"
19 #include "components/mus/ws/connection_manager_delegate.h" 19 #include "components/mus/ws/connection_manager_delegate.h"
20 #include "components/mus/ws/display_manager.h" 20 #include "components/mus/ws/display_manager.h"
21 #include "components/mus/ws/display_manager_factory.h" 21 #include "components/mus/ws/display_manager_factory.h"
22 #include "components/mus/ws/ids.h" 22 #include "components/mus/ws/ids.h"
23 #include "components/mus/ws/server_window.h" 23 #include "components/mus/ws/server_window.h"
24 #include "components/mus/ws/server_window_surface_manager_test_api.h" 24 #include "components/mus/ws/server_window_surface_manager_test_api.h"
25 #include "components/mus/ws/test_change_tracker.h" 25 #include "components/mus/ws/test_change_tracker.h"
26 #include "components/mus/ws/window_tree_host_connection.h" 26 #include "components/mus/ws/window_tree_host_connection.h"
27 #include "components/mus/ws/window_tree_impl.h" 27 #include "components/mus/ws/window_tree_impl.h"
28 #include "mojo/application/public/interfaces/service_provider.mojom.h"
29 #include "mojo/converters/geometry/geometry_type_converters.h" 28 #include "mojo/converters/geometry/geometry_type_converters.h"
30 #include "mojo/services/network/public/interfaces/url_loader.mojom.h" 29 #include "mojo/services/network/public/interfaces/url_loader.mojom.h"
30 #include "mojo/shell/public/interfaces/service_provider.mojom.h"
31 #include "testing/gtest/include/gtest/gtest.h" 31 #include "testing/gtest/include/gtest/gtest.h"
32 #include "ui/events/event.h" 32 #include "ui/events/event.h"
33 #include "ui/events/event_utils.h" 33 #include "ui/events/event_utils.h"
34 #include "ui/gfx/geometry/rect.h" 34 #include "ui/gfx/geometry/rect.h"
35 35
36 using mojo::Array; 36 using mojo::Array;
37 using mojo::InterfaceRequest; 37 using mojo::InterfaceRequest;
38 using mojo::String; 38 using mojo::String;
39 using mus::mojom::ERROR_CODE_NONE; 39 using mus::mojom::ERROR_CODE_NONE;
40 using mus::mojom::Event; 40 using mus::mojom::Event;
(...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after
856 SingleChangeToDescription(*embed_connection->tracker()->changes())); 856 SingleChangeToDescription(*embed_connection->tracker()->changes()));
857 857
858 // Set the visibility from the child using the client assigned id. 858 // Set the visibility from the child using the client assigned id.
859 ASSERT_TRUE(window_tree_connection->SetWindowVisibility( 859 ASSERT_TRUE(window_tree_connection->SetWindowVisibility(
860 embed_window_id2_in_child, false)); 860 embed_window_id2_in_child, false));
861 EXPECT_FALSE(embed_window->visible()); 861 EXPECT_FALSE(embed_window->visible());
862 } 862 }
863 863
864 } // namespace ws 864 } // namespace ws
865 } // namespace mus 865 } // namespace mus
OLDNEW
« no previous file with comments | « components/mus/ws/window_tree_apptest.cc ('k') | components/pdf_viewer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698