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

Side by Side Diff: remoting/client/touch_input_scaler_unittest.cc

Issue 1542203002: Switch to standard integer types in remoting/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-remoting-host
Patch Set: Created 4 years, 12 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/touch_input_scaler.h ('k') | remoting/codec/audio_decoder_opus.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/touch_input_scaler.h" 5 #include "remoting/client/touch_input_scaler.h"
6 6
7 #include <stdint.h>
8
7 #include <cmath> 9 #include <cmath>
8 10
11 #include "base/macros.h"
9 #include "remoting/protocol/protocol_mock_objects.h" 12 #include "remoting/protocol/protocol_mock_objects.h"
10 #include "remoting/protocol/test_event_matchers.h" 13 #include "remoting/protocol/test_event_matchers.h"
11 #include "testing/gmock/include/gmock/gmock.h" 14 #include "testing/gmock/include/gmock/gmock.h"
12 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
13 16
14 using ::testing::_; 17 using ::testing::_;
15 using ::testing::AllOf; 18 using ::testing::AllOf;
16 using ::testing::PrintToString; 19 using ::testing::PrintToString;
17 20
18 namespace remoting { 21 namespace remoting {
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 point->set_radius_x(2.666f); 368 point->set_radius_x(2.666f);
366 point->set_radius_y(1.0f); 369 point->set_radius_y(1.0f);
367 370
368 EXPECT_CALL(mock_stub_, 371 EXPECT_CALL(mock_stub_,
369 InjectTouchEvent(AllOf(EqualsTouchPointCoordinates(expected_out), 372 InjectTouchEvent(AllOf(EqualsTouchPointCoordinates(expected_out),
370 EqualsTouchPointRadii(expected_out)))); 373 EqualsTouchPointRadii(expected_out))));
371 InjectTestTouchEvent(); 374 InjectTestTouchEvent();
372 } 375 }
373 376
374 } // namespace remoting 377 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/client/touch_input_scaler.h ('k') | remoting/codec/audio_decoder_opus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698