| OLD | NEW |
| 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 "ui/events/test/mock_motion_event.h" | 5 #include "ui/events/test/mock_motion_event.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 | 8 |
| 9 using base::TimeTicks; | 9 using base::TimeTicks; |
| 10 | 10 |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 DCHECK_LT(pointer_index, pointer_count); | 231 DCHECK_LT(pointer_index, pointer_count); |
| 232 tool_types[pointer_index] = tool_type; | 232 tool_types[pointer_index] = tool_type; |
| 233 } | 233 } |
| 234 | 234 |
| 235 void MockMotionEvent::SetButtonState(int new_button_state) { | 235 void MockMotionEvent::SetButtonState(int new_button_state) { |
| 236 button_state = new_button_state; | 236 button_state = new_button_state; |
| 237 } | 237 } |
| 238 | 238 |
| 239 } // namespace test | 239 } // namespace test |
| 240 } // namespace ui | 240 } // namespace ui |
| OLD | NEW |