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

Side by Side Diff: content/public/common/input/web_touch_event_traits.cc

Issue 1560553002: Framelet Prototype 2016 Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased + Applied Brett's Windows + Fixed security issue Created 4 years, 11 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
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 "content/common/input/web_touch_event_traits.h" 5 #include "content/public/common/input/web_touch_event_traits.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 10
11 using blink::WebInputEvent; 11 using blink::WebInputEvent;
12 using blink::WebTouchEvent; 12 using blink::WebTouchEvent;
13 using blink::WebTouchPoint; 13 using blink::WebTouchPoint;
14 14
15 namespace content { 15 namespace content {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 break; 77 break;
78 default: 78 default:
79 NOTREACHED(); 79 NOTREACHED();
80 break; 80 break;
81 } 81 }
82 for (size_t i = 0; i < event->touchesLength; ++i) 82 for (size_t i = 0; i < event->touchesLength; ++i)
83 event->touches[i].state = newState; 83 event->touches[i].state = newState;
84 } 84 }
85 85
86 } // namespace content 86 } // namespace content
OLDNEW
« no previous file with comments | « content/public/common/input/web_touch_event_traits.h ('k') | content/public/renderer/content_renderer_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698