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

Side by Side Diff: ui/events/test/mock_motion_event.cc

Issue 401863003: Merge 279991 "[Android] Select text when stylus first button is ..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1985_122/src/
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « ui/events/test/mock_motion_event.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « ui/events/test/mock_motion_event.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698