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

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: Rebase and review 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..078e141ea3edbd03be085200160d308beaf57292 100644
--- a/content/common/input/web_input_event_traits.h
+++ b/content/common/input/web_input_event_traits.h
@@ -17,6 +17,10 @@ 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 CanCoalesce(const WebKit::WebInputEvent& event_to_coalesce,
+ const WebKit::WebInputEvent& event);
+ static void Coalesce(const WebKit::WebInputEvent& event_to_coalesce,
+ WebKit::WebInputEvent* event);
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698