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

Unified Diff: content/renderer/gpu/input_handler_wrapper.cc

Issue 52663003: Remove all fling related stuff from the renderer assuming that browser side Base URL: svn://svn.chromium.org/chrome/trunk/src
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
« no previous file with comments | « content/renderer/gpu/input_handler_wrapper.h ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/input_handler_wrapper.cc
diff --git a/content/renderer/gpu/input_handler_wrapper.cc b/content/renderer/gpu/input_handler_wrapper.cc
index 348ff6dc5864b1d29b46ae42ded42f2eaa6d2bfe..238d5623f32a1a6245fd40f92f19e5b6e40b7160 100644
--- a/content/renderer/gpu/input_handler_wrapper.cc
+++ b/content/renderer/gpu/input_handler_wrapper.cc
@@ -7,7 +7,6 @@
#include "base/message_loop/message_loop_proxy.h"
#include "content/renderer/gpu/input_event_filter.h"
#include "content/renderer/gpu/input_handler_manager.h"
-#include "third_party/WebKit/public/platform/Platform.h"
namespace content {
@@ -29,27 +28,10 @@ InputHandlerWrapper::~InputHandlerWrapper() {
input_handler_proxy_.SetClient(NULL);
}
-void InputHandlerWrapper::TransferActiveWheelFlingAnimation(
- const WebKit::WebActiveWheelFlingParameters& params) {
- main_loop_->PostTask(
- FROM_HERE,
- base::Bind(&RenderViewImpl::TransferActiveWheelFlingAnimation,
- render_view_impl_,
- params));
-}
-
void InputHandlerWrapper::WillShutdown() {
input_handler_manager_->RemoveInputHandler(routing_id_);
}
-WebKit::WebGestureCurve* InputHandlerWrapper::CreateFlingAnimationCurve(
- int deviceSource,
- const WebKit::WebFloatPoint& velocity,
- const WebKit::WebSize& cumulative_scroll) {
- return WebKit::Platform::current()->createFlingAnimationCurve(
- deviceSource, velocity, cumulative_scroll);
-}
-
void InputHandlerWrapper::DidOverscroll(const cc::DidOverscrollParams& params) {
input_handler_manager_->DidOverscroll(routing_id_, params);
}
« no previous file with comments | « content/renderer/gpu/input_handler_wrapper.h ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698