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

Unified Diff: content/common/input/web_input_event_traits.h

Issue 26923002: Consolidate WebInputEvent coalescing logic (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: content/common/input/web_input_event_traits.h
diff --git a/content/common/input/web_input_event_traits.h b/content/common/input/web_input_event_traits.h
index e8c9b3da639887328598df37b8395f98383dee1b..0a853d24a1681baac30dbc5d4a2313d0df4d1745 100644
--- a/content/common/input/web_input_event_traits.h
+++ b/content/common/input/web_input_event_traits.h
@@ -17,6 +17,8 @@ class WebInputEventTraits {
static size_t GetSize(WebKit::WebInputEvent::Type type);
static ScopedWebInputEvent Clone(const WebKit::WebInputEvent& event);
static void Delete(WebKit::WebInputEvent* event);
+ static bool TryCoalesce(const WebKit::WebInputEvent& event_to_coalesce,
jdduke (slow) 2013/10/10 21:21:26 Any guidance on arg ordering here? I prefer "TryCo
+ WebKit::WebInputEvent* event);
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698