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

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

Issue 1228333004: Move code that doesn't depend on PPAPI out of remoting/client/plugin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « remoting/client/touch_input_scaler.cc ('k') | remoting/remoting_nacl.gyp » ('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/plugin/touch_input_scaler.h" 5 #include "remoting/client/touch_input_scaler.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 8
9 #include "remoting/protocol/protocol_mock_objects.h" 9 #include "remoting/protocol/protocol_mock_objects.h"
10 #include "remoting/protocol/test_event_matchers.h" 10 #include "remoting/protocol/test_event_matchers.h"
11 #include "testing/gmock/include/gmock/gmock.h" 11 #include "testing/gmock/include/gmock/gmock.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 13
14 using ::testing::_; 14 using ::testing::_;
15 using ::testing::AllOf; 15 using ::testing::AllOf;
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 point->set_radius_x(2.666f); 365 point->set_radius_x(2.666f);
366 point->set_radius_y(1.0f); 366 point->set_radius_y(1.0f);
367 367
368 EXPECT_CALL(mock_stub_, 368 EXPECT_CALL(mock_stub_,
369 InjectTouchEvent(AllOf(EqualsTouchPointCoordinates(expected_out), 369 InjectTouchEvent(AllOf(EqualsTouchPointCoordinates(expected_out),
370 EqualsTouchPointRadii(expected_out)))); 370 EqualsTouchPointRadii(expected_out))));
371 InjectTestTouchEvent(); 371 InjectTestTouchEvent();
372 } 372 }
373 373
374 } // namespace remoting 374 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/client/touch_input_scaler.cc ('k') | remoting/remoting_nacl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698