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

Unified Diff: webkit/compositor_bindings/web_to_ccinput_handler_adapter.cc

Issue 13844021: Move compositor thread input handling logic into content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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: webkit/compositor_bindings/web_to_ccinput_handler_adapter.cc
diff --git a/webkit/compositor_bindings/web_to_ccinput_handler_adapter.cc b/webkit/compositor_bindings/web_to_ccinput_handler_adapter.cc
index 85c1b199e72856aaca51d80c6e87e1e6dbe93583..bc1fe560ed66f8db772b2b550d4ba745c48d93e1 100644
--- a/webkit/compositor_bindings/web_to_ccinput_handler_adapter.cc
+++ b/webkit/compositor_bindings/web_to_ccinput_handler_adapter.cc
@@ -107,11 +107,6 @@ class WebToCCInputHandlerAdapter::HandlerAdapter
cc::InputHandler* handler_;
};
-void WebToCCInputHandlerAdapter::BindToHandler(cc::InputHandler* handler) {
- handler_adapter_.reset(new HandlerAdapter(handler));
- handler_->bindToClient(handler_adapter_.get());
-}
-
void WebToCCInputHandlerAdapter::Animate(base::TimeTicks time) {
double monotonic_time_seconds = (time - base::TimeTicks()).InSecondsF();
handler_->animate(monotonic_time_seconds);

Powered by Google App Engine
This is Rietveld 408576698