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

Unified Diff: webkit/renderer/compositor_bindings/web_to_ccinput_handler_adapter.h

Issue 13844021: Move compositor thread input handling logic into content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 7 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/renderer/compositor_bindings/web_to_ccinput_handler_adapter.h
diff --git a/webkit/renderer/compositor_bindings/web_to_ccinput_handler_adapter.h b/webkit/renderer/compositor_bindings/web_to_ccinput_handler_adapter.h
deleted file mode 100644
index 9d91d61db4bb45ddb890fb61646acff97e3194a8..0000000000000000000000000000000000000000
--- a/webkit/renderer/compositor_bindings/web_to_ccinput_handler_adapter.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_TO_CCINPUT_HANDLER_ADAPTER_H_
-#define WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_TO_CCINPUT_HANDLER_ADAPTER_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "cc/input/input_handler.h"
-#include "third_party/WebKit/Source/Platform/chromium/public/WebInputHandler.h"
-#include "webkit/renderer/compositor_bindings/webkit_compositor_bindings_export.h"
-
-namespace WebKit {
-
-class WebToCCInputHandlerAdapter : public cc::InputHandlerClient {
- public:
- WEBKIT_COMPOSITOR_BINDINGS_EXPORT static
- scoped_ptr<WebToCCInputHandlerAdapter> create(
- scoped_ptr<WebInputHandler>);
- virtual ~WebToCCInputHandlerAdapter();
-
- // cc::InputHandlerClient implementation.
- virtual void BindToHandler(cc::InputHandler*) OVERRIDE;
- virtual void Animate(base::TimeTicks time) OVERRIDE;
- virtual void MainThreadHasStoppedFlinging() OVERRIDE;
-
- private:
- explicit WebToCCInputHandlerAdapter(scoped_ptr<WebInputHandler>);
-
- class HandlerAdapter;
- scoped_ptr<HandlerAdapter> handler_adapter_;
- scoped_ptr<WebInputHandler> handler_;
-
- DISALLOW_COPY_AND_ASSIGN(WebToCCInputHandlerAdapter);
-};
-
-} // namespace webkit
-
-#endif // WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_TO_CCINPUT_HANDLER_ADAPTER_H_

Powered by Google App Engine
This is Rietveld 408576698