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

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

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

Powered by Google App Engine
This is Rietveld 408576698