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

Unified Diff: webkit/compositor_bindings/WebToCCInputHandlerAdapter.h

Issue 11142031: Remove WTF dependencies from webkit_compositor_bindings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 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: webkit/compositor_bindings/WebToCCInputHandlerAdapter.h
diff --git a/webkit/compositor_bindings/WebToCCInputHandlerAdapter.h b/webkit/compositor_bindings/WebToCCInputHandlerAdapter.h
index 437c923f0f756870a583ebab375fc7aaa20bb427..7cbf32440db671f94b163b931b82fc71ad93d1da 100644
--- a/webkit/compositor_bindings/WebToCCInputHandlerAdapter.h
+++ b/webkit/compositor_bindings/WebToCCInputHandlerAdapter.h
@@ -6,16 +6,14 @@
#define WebToCCInputHandlerAdapter_h
#include "base/memory/scoped_ptr.h"
-#include "CCInputHandler.h"
-#include <public/WebInputHandler.h>
-#include <wtf/OwnPtr.h>
-#include <wtf/PassOwnPtr.h>
+#include "cc/input_handler.h"
+#include "third_party/WebKit/Source/Platform/chromium/public/WebInputHandler.h"
namespace WebKit {
class WebToCCInputHandlerAdapter : public cc::CCInputHandler {
public:
- static scoped_ptr<WebToCCInputHandlerAdapter> create(PassOwnPtr<WebInputHandler>);
+ static scoped_ptr<WebToCCInputHandlerAdapter> create(scoped_ptr<WebInputHandler>);
virtual ~WebToCCInputHandlerAdapter();
// cc::CCInputHandler implementation.
@@ -23,11 +21,11 @@ public:
virtual void animate(double monotonicTime) OVERRIDE;
private:
- explicit WebToCCInputHandlerAdapter(PassOwnPtr<WebInputHandler>);
+ explicit WebToCCInputHandlerAdapter(scoped_ptr<WebInputHandler>);
class ClientAdapter;
- OwnPtr<ClientAdapter> m_clientAdapter;
- OwnPtr<WebInputHandler> m_handler;
+ scoped_ptr<ClientAdapter> m_clientAdapter;
+ scoped_ptr<WebInputHandler> m_handler;
};
}
« no previous file with comments | « webkit/compositor_bindings/WebSolidColorLayerImpl.cpp ('k') | webkit/compositor_bindings/WebToCCInputHandlerAdapter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698