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

Unified Diff: content/browser/renderer_host/gesture_event_filter.cc

Issue 10977073: Delete some unused code found by -Wunused-function (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: leiz Created 8 years, 3 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/browser/renderer_host/gesture_event_filter.cc
diff --git a/content/browser/renderer_host/gesture_event_filter.cc b/content/browser/renderer_host/gesture_event_filter.cc
index 7e0c6e4ff61a687686b699edfcebbc798915db80..af331c3b6e8f3aafc822c8ef54250bde6a2396e1 100644
--- a/content/browser/renderer_host/gesture_event_filter.cc
+++ b/content/browser/renderer_host/gesture_event_filter.cc
@@ -50,16 +50,6 @@ static int GetTapDownDeferralTimeMs() {
switches::kTapDownDeferralTimeMs);
return tap_down_deferral_time_window;
}
-
-
-// TODO(rjkroege): Coalesce pinch updates.
-// Returns |true| if two gesture events should be coalesced.
-bool ShouldCoalesceGestureEvents(const WebKit::WebGestureEvent& last_event,
- const WebKit::WebGestureEvent& new_event) {
- return new_event.type == WebInputEvent::GestureScrollUpdate &&
- last_event.type == new_event.type &&
- last_event.modifiers == new_event.modifiers;
-}
} // namespace
GestureEventFilter::GestureEventFilter(RenderWidgetHostImpl* rwhv)
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698