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

Side by Side Diff: remoting/client/ui/desktop_viewport_unittest.cc

Issue 2879383002: [CRD iOS] Move UI stuff into a subdirectory (Closed)
Patch Set: Fix include Created 3 years, 7 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 | « remoting/client/ui/desktop_viewport.cc ('k') | remoting/client/ui/direct_input_strategy.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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 "remoting/client/desktop_viewport.h" 5 #include "remoting/client/ui/desktop_viewport.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/strings/stringprintf.h" 9 #include "base/strings/stringprintf.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 11
12 namespace remoting { 12 namespace remoting {
13 13
14 namespace { 14 namespace {
15 15
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 new_transformation.MapPoint({1.2f, 1.3f}); 286 new_transformation.MapPoint({1.2f, 1.3f});
287 ASSERT_FLOAT_EQ(surface_point.x, new_surface_point.x); 287 ASSERT_FLOAT_EQ(surface_point.x, new_surface_point.x);
288 ASSERT_FLOAT_EQ(surface_point.y, new_surface_point.y); 288 ASSERT_FLOAT_EQ(surface_point.y, new_surface_point.y);
289 289
290 // Verify the scale is correct. 290 // Verify the scale is correct.
291 ASSERT_FLOAT_EQ(old_transformation.GetScale() * 1.1f, 291 ASSERT_FLOAT_EQ(old_transformation.GetScale() * 1.1f,
292 new_transformation.GetScale()); 292 new_transformation.GetScale());
293 } 293 }
294 294
295 } // namespace remoting 295 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/client/ui/desktop_viewport.cc ('k') | remoting/client/ui/direct_input_strategy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698