| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_FACTORY_H_ | 5 #ifndef CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_FACTORY_H_ |
| 6 #define CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_FACTORY_H_ | 6 #define CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_FACTORY_H_ |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 | 10 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 | 43 |
| 44 virtual scoped_refptr<cc::ContextProvider> | 44 virtual scoped_refptr<cc::ContextProvider> |
| 45 GetOffscreenContextProviderForMainThread() = 0; | 45 GetOffscreenContextProviderForMainThread() = 0; |
| 46 virtual scoped_refptr<cc::ContextProvider> | 46 virtual scoped_refptr<cc::ContextProvider> |
| 47 GetOffscreenContextProviderForCompositorThread() = 0; | 47 GetOffscreenContextProviderForCompositorThread() = 0; |
| 48 virtual scoped_ptr<StreamTextureFactory> CreateStreamTextureFactory( | 48 virtual scoped_ptr<StreamTextureFactory> CreateStreamTextureFactory( |
| 49 int view_id) = 0; | 49 int view_id) = 0; |
| 50 | 50 |
| 51 protected: | 51 protected: |
| 52 SynchronousCompositorFactory() {} | 52 SynchronousCompositorFactory() {} |
| 53 ~SynchronousCompositorFactory() {} | 53 virtual ~SynchronousCompositorFactory() {} |
| 54 }; | 54 }; |
| 55 | 55 |
| 56 } | 56 } |
| 57 | 57 |
| 58 #endif // CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_FACTORY_H_ | 58 #endif // CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_FACTORY_H_ |
| OLD | NEW |