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

Side by Side Diff: services/ui/ws/window_coordinate_conversions_unittest.cc

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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/ui/ws/window_coordinate_conversions.cc ('k') | services/ui/ws/window_finder.h » ('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 "components/mus/ws/window_coordinate_conversions.h" 5 #include "services/ui/ws/window_coordinate_conversions.h"
6 6
7 #include "components/mus/ws/server_window.h" 7 #include "services/ui/ws/server_window.h"
8 #include "components/mus/ws/server_window_delegate.h" 8 #include "services/ui/ws/server_window_delegate.h"
9 #include "components/mus/ws/test_server_window_delegate.h" 9 #include "services/ui/ws/test_server_window_delegate.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 #include "ui/gfx/geometry/point_f.h" 11 #include "ui/gfx/geometry/point_f.h"
12 #include "ui/gfx/geometry/rect.h" 12 #include "ui/gfx/geometry/rect.h"
13 13
14 namespace mus { 14 namespace mus {
15 15
16 namespace ws { 16 namespace ws {
17 17
18 using WindowCoordinateConversionsTest = testing::Test; 18 using WindowCoordinateConversionsTest = testing::Test;
19 19
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 const gfx::PointF result( 53 const gfx::PointF result(
54 ConvertPointFBetweenWindows(&v3, &v1, gfx::PointF(10.2f, 11.4f))); 54 ConvertPointFBetweenWindows(&v3, &v1, gfx::PointF(10.2f, 11.4f)));
55 EXPECT_FLOAT_EQ(18.2f, result.x()); 55 EXPECT_FLOAT_EQ(18.2f, result.x());
56 EXPECT_FLOAT_EQ(21.4f, result.y()); 56 EXPECT_FLOAT_EQ(21.4f, result.y());
57 } 57 }
58 } 58 }
59 59
60 } // namespace ws 60 } // namespace ws
61 61
62 } // namespace mus 62 } // namespace mus
OLDNEW
« no previous file with comments | « services/ui/ws/window_coordinate_conversions.cc ('k') | services/ui/ws/window_finder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698