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

Side by Side Diff: third_party/WebKit/Source/web/WebInputEvent.cpp

Issue 2587393004: Add tangentialPressure and twist properties to PointerEvent on Mac (Closed)
Patch Set: pressure mac Created 3 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 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 struct SameSizeAsWebInputEvent { 43 struct SameSizeAsWebInputEvent {
44 int inputData[8]; 44 int inputData[8];
45 }; 45 };
46 46
47 struct SameSizeAsWebKeyboardEvent : public SameSizeAsWebInputEvent { 47 struct SameSizeAsWebKeyboardEvent : public SameSizeAsWebInputEvent {
48 int keyboardData[9]; 48 int keyboardData[9];
49 }; 49 };
50 50
51 struct SameSizeAsWebMouseEvent : public SameSizeAsWebInputEvent { 51 struct SameSizeAsWebMouseEvent : public SameSizeAsWebInputEvent {
52 int mouseData[15]; 52 int mouseData[17];
53 }; 53 };
54 54
55 struct SameSizeAsWebMouseWheelEvent : public SameSizeAsWebMouseEvent { 55 struct SameSizeAsWebMouseWheelEvent : public SameSizeAsWebMouseEvent {
56 int mousewheelData[12]; 56 int mousewheelData[12];
57 }; 57 };
58 58
59 struct SameSizeAsWebGestureEvent : public SameSizeAsWebInputEvent { 59 struct SameSizeAsWebGestureEvent : public SameSizeAsWebInputEvent {
60 int gestureData[14]; 60 int gestureData[14];
61 }; 61 };
62 62
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 CASE_TYPE(TouchCancel); 120 CASE_TYPE(TouchCancel);
121 CASE_TYPE(TouchScrollStarted); 121 CASE_TYPE(TouchScrollStarted);
122 default: 122 default:
123 NOTREACHED(); 123 NOTREACHED();
124 return ""; 124 return "";
125 } 125 }
126 } 126 }
127 #undef CASE_TYPE 127 #undef CASE_TYPE
128 128
129 } // namespace blink 129 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698