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

Side by Side Diff: third_party/WebKit/Source/web/WebInputEventConversion.h

Issue 2479123003: WIP Add getCoalescedEvents API using vector of WebInputEvents (Closed)
Patch Set: Creating CoalescedWebInputEvent Created 4 years, 1 month 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 }; 129 };
130 130
131 // Converts GestureEvent to a corresponding WebGestureEvent. 131 // Converts GestureEvent to a corresponding WebGestureEvent.
132 // NOTE: If event mapping fails, the type will be set to Undefined. 132 // NOTE: If event mapping fails, the type will be set to Undefined.
133 class WEB_EXPORT WebGestureEventBuilder 133 class WEB_EXPORT WebGestureEventBuilder
134 : WTF_NON_EXPORTED_BASE(public WebGestureEvent) { 134 : WTF_NON_EXPORTED_BASE(public WebGestureEvent) {
135 public: 135 public:
136 WebGestureEventBuilder(const LayoutItem, const GestureEvent&); 136 WebGestureEventBuilder(const LayoutItem, const GestureEvent&);
137 }; 137 };
138 138
139 Vector<PlatformMouseEvent> createPlatformMouseEventVector(
140 Widget*,
141 const std::vector<const WebInputEvent*>&);
142 Vector<PlatformTouchEvent> createPlatformTouchEventVector(
143 Widget*,
144 const std::vector<const WebInputEvent*>&);
145
139 } // namespace blink 146 } // namespace blink
140 147
141 #endif 148 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698