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

Side by Side Diff: components/mus/ws/window_manager_client_apptest.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/display_manager.cc ('k') | components/mus/ws/window_tree_apptest.cc » ('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 <stddef.h> 5 #include <stddef.h>
6 #include <stdint.h> 6 #include <stdint.h>
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/run_loop.h" 11 #include "base/run_loop.h"
12 #include "components/mus/common/util.h" 12 #include "components/mus/common/util.h"
13 #include "components/mus/public/cpp/tests/window_server_test_base.h" 13 #include "components/mus/public/cpp/tests/window_server_test_base.h"
14 #include "components/mus/public/cpp/window_observer.h" 14 #include "components/mus/public/cpp/window_observer.h"
15 #include "components/mus/public/cpp/window_tree_connection.h" 15 #include "components/mus/public/cpp/window_tree_connection.h"
16 #include "components/mus/public/cpp/window_tree_connection_observer.h" 16 #include "components/mus/public/cpp/window_tree_connection_observer.h"
17 #include "components/mus/public/cpp/window_tree_delegate.h" 17 #include "components/mus/public/cpp/window_tree_delegate.h"
18 #include "mojo/application/public/cpp/application_connection.h"
19 #include "mojo/application/public/cpp/application_impl.h"
20 #include "mojo/application/public/cpp/application_test_base.h"
21 #include "mojo/converters/geometry/geometry_type_converters.h" 18 #include "mojo/converters/geometry/geometry_type_converters.h"
19 #include "mojo/shell/public/cpp/application_connection.h"
20 #include "mojo/shell/public/cpp/application_impl.h"
21 #include "mojo/shell/public/cpp/application_test_base.h"
22 #include "ui/gfx/geometry/rect.h" 22 #include "ui/gfx/geometry/rect.h"
23 #include "ui/mojo/geometry/geometry_util.h" 23 #include "ui/mojo/geometry/geometry_util.h"
24 24
25 namespace mus { 25 namespace mus {
26 namespace ws { 26 namespace ws {
27 27
28 namespace { 28 namespace {
29 29
30 int ValidIndexOf(const Window::Children& windows, Window* window) { 30 int ValidIndexOf(const Window::Children& windows, Window* window) {
31 Window::Children::const_iterator it = 31 Window::Children::const_iterator it =
(...skipping 1027 matching lines...) Expand 10 before | Expand all | Expand 10 after
1059 embed_window->SetBounds(gfx::Rect(21, 22, 23, 24)); 1059 embed_window->SetBounds(gfx::Rect(21, 22, 23, 24));
1060 WaitForBoundsToChange(GetFirstRoot(embedded_connection)); 1060 WaitForBoundsToChange(GetFirstRoot(embedded_connection));
1061 EXPECT_TRUE(gfx::Rect(21, 22, 23, 24) == 1061 EXPECT_TRUE(gfx::Rect(21, 22, 23, 24) ==
1062 GetFirstRoot(embedded_connection)->bounds()); 1062 GetFirstRoot(embedded_connection)->bounds());
1063 EXPECT_TRUE(gfx::Insets(1, 2, 3, 4) == 1063 EXPECT_TRUE(gfx::Insets(1, 2, 3, 4) ==
1064 GetFirstRoot(embedded_connection)->client_area()); 1064 GetFirstRoot(embedded_connection)->client_area());
1065 } 1065 }
1066 1066
1067 } // namespace ws 1067 } // namespace ws
1068 } // namespace mus 1068 } // namespace mus
OLDNEW
« no previous file with comments | « components/mus/ws/display_manager.cc ('k') | components/mus/ws/window_tree_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698