OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | 5 #ifndef WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ |
6 #define WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | 6 #define WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/message_loop_proxy.h" | 9 #include "base/message_loop_proxy.h" |
10 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayer.h" | 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayer.h" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 const WebKit::WebAnimationCurve& curve, | 46 const WebKit::WebAnimationCurve& curve, |
47 WebKit::WebAnimation::TargetProperty target, | 47 WebKit::WebAnimation::TargetProperty target, |
48 int animation_id); | 48 int animation_id); |
49 virtual WebKit::WebFloatAnimationCurve* createFloatAnimationCurve(); | 49 virtual WebKit::WebFloatAnimationCurve* createFloatAnimationCurve(); |
50 virtual WebKit::WebTransformAnimationCurve* createTransformAnimationCurve(); | 50 virtual WebKit::WebTransformAnimationCurve* createTransformAnimationCurve(); |
51 virtual WebKit::WebTransformOperations* createTransformOperations(); | 51 virtual WebKit::WebTransformOperations* createTransformOperations(); |
52 | 52 |
53 scoped_refptr<base::MessageLoopProxy> compositor_thread_message_loop_proxy() { | 53 scoped_refptr<base::MessageLoopProxy> compositor_thread_message_loop_proxy() { |
54 return compositor_thread_message_loop_proxy_; | 54 return compositor_thread_message_loop_proxy_; |
55 } | 55 } |
| 56 |
56 private: | 57 private: |
57 scoped_refptr<base::MessageLoopProxy> compositor_thread_message_loop_proxy_; | 58 scoped_refptr<base::MessageLoopProxy> compositor_thread_message_loop_proxy_; |
58 bool initialized_; | 59 bool initialized_; |
59 }; | 60 }; |
60 | 61 |
61 } // namespace webkit | 62 } // namespace webkit |
62 | 63 |
63 #endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | 64 #endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ |
OLD | NEW |