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

Side by Side Diff: remoting/host/touch_injector_win_unittest.cc

Issue 1547473005: Switch to standard integer types in remoting/host/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/host/touch_injector_win.h ('k') | remoting/host/username.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 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/host/touch_injector_win.h" 5 #include "remoting/host/touch_injector_win.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include <map> 10 #include <map>
8 11
9 #include "base/stl_util.h" 12 #include "base/stl_util.h"
10 #include "remoting/proto/event.pb.h" 13 #include "remoting/proto/event.pb.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::AtLeast; 18 using ::testing::AtLeast;
16 using ::testing::InSequence; 19 using ::testing::InSequence;
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 TouchEvent cancel_rest; 508 TouchEvent cancel_rest;
506 cancel_rest.set_event_type(TouchEvent::TOUCH_POINT_CANCEL); 509 cancel_rest.set_event_type(TouchEvent::TOUCH_POINT_CANCEL);
507 point0 = cancel_rest.add_touch_points(); 510 point0 = cancel_rest.add_touch_points();
508 point0->set_id(0u); 511 point0->set_id(0u);
509 point2 = cancel_rest.add_touch_points(); 512 point2 = cancel_rest.add_touch_points();
510 point2->set_id(2u); 513 point2->set_id(2u);
511 injector.InjectTouchEvent(cancel_rest); 514 injector.InjectTouchEvent(cancel_rest);
512 } 515 }
513 516
514 } // namespace remoting 517 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/touch_injector_win.h ('k') | remoting/host/username.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698