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

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

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