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

Side by Side Diff: webkit/compositor_bindings/WebToCCInputHandlerAdapter.h

Issue 10917153: Update cc snapshot to r127918 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WebToCCInputHandlerAdapter_h
6 #define WebToCCInputHandlerAdapter_h
7
8 #include "CCInputHandler.h"
9 #include <public/WebInputHandler.h>
10 #include <wtf/OwnPtr.h>
11 #include <wtf/PassOwnPtr.h>
12
13 namespace WebKit {
14
15 class WebToCCInputHandlerAdapter : public WebCore::CCInputHandler {
16 public:
17 static PassOwnPtr<WebToCCInputHandlerAdapter> create(PassOwnPtr<WebInputHand ler>);
18 virtual ~WebToCCInputHandlerAdapter();
19
20 // WebCore::CCInputHandler implementation.
21 virtual void bindToClient(WebCore::CCInputHandlerClient*) OVERRIDE;
22 virtual void animate(double monotonicTime) OVERRIDE;
23
24 private:
25 explicit WebToCCInputHandlerAdapter(PassOwnPtr<WebInputHandler>);
26
27 class ClientAdapter;
28 OwnPtr<ClientAdapter> m_clientAdapter;
29 OwnPtr<WebInputHandler> m_handler;
30 };
31
32 }
33
34 #endif // WebToCCInputHandlerAdapter_h
OLDNEW
« no previous file with comments | « webkit/compositor_bindings/WebLayerTreeViewTest.cpp ('k') | webkit/compositor_bindings/WebToCCInputHandlerAdapter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698