OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_BROWSER_AURA_NO_TRANSPORT_IMAGE_TRANSPORT_FACTORY_H_ | 5 #ifndef CONTENT_BROWSER_AURA_NO_TRANSPORT_IMAGE_TRANSPORT_FACTORY_H_ |
6 #define CONTENT_BROWSER_AURA_NO_TRANSPORT_IMAGE_TRANSPORT_FACTORY_H_ | 6 #define CONTENT_BROWSER_AURA_NO_TRANSPORT_IMAGE_TRANSPORT_FACTORY_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "content/browser/aura/image_transport_factory.h" | 9 #include "content/browser/aura/image_transport_factory.h" |
10 | 10 |
(...skipping 10 matching lines...) Expand all Loading... |
21 virtual ui::ContextFactory* AsContextFactory() OVERRIDE; | 21 virtual ui::ContextFactory* AsContextFactory() OVERRIDE; |
22 virtual gfx::GLSurfaceHandle CreateSharedSurfaceHandle() OVERRIDE; | 22 virtual gfx::GLSurfaceHandle CreateSharedSurfaceHandle() OVERRIDE; |
23 virtual void DestroySharedSurfaceHandle(gfx::GLSurfaceHandle surface) | 23 virtual void DestroySharedSurfaceHandle(gfx::GLSurfaceHandle surface) |
24 OVERRIDE; | 24 OVERRIDE; |
25 virtual scoped_refptr<ui::Texture> CreateTransportClient( | 25 virtual scoped_refptr<ui::Texture> CreateTransportClient( |
26 float device_scale_factor) OVERRIDE; | 26 float device_scale_factor) OVERRIDE; |
27 virtual scoped_refptr<ui::Texture> CreateOwnedTexture( | 27 virtual scoped_refptr<ui::Texture> CreateOwnedTexture( |
28 const gfx::Size& size, | 28 const gfx::Size& size, |
29 float device_scale_factor, | 29 float device_scale_factor, |
30 unsigned int texture_id) OVERRIDE; | 30 unsigned int texture_id) OVERRIDE; |
| 31 virtual scoped_ptr<SurfaceCapturer> CreateOutputSurfaceCapturer( |
| 32 ui::Compositor* compositor, |
| 33 SurfaceCapturer::Client* client) OVERRIDE; |
31 virtual GLHelper* GetGLHelper() OVERRIDE; | 34 virtual GLHelper* GetGLHelper() OVERRIDE; |
32 virtual uint32 InsertSyncPoint() OVERRIDE; | 35 virtual uint32 InsertSyncPoint() OVERRIDE; |
33 virtual void WaitSyncPoint(uint32 sync_point) OVERRIDE; | 36 virtual void WaitSyncPoint(uint32 sync_point) OVERRIDE; |
34 virtual void AddObserver(ImageTransportFactoryObserver* observer) OVERRIDE; | 37 virtual void AddObserver(ImageTransportFactoryObserver* observer) OVERRIDE; |
35 virtual void RemoveObserver(ImageTransportFactoryObserver* observer) OVERRIDE; | 38 virtual void RemoveObserver(ImageTransportFactoryObserver* observer) OVERRIDE; |
36 | 39 |
37 private: | 40 private: |
38 scoped_ptr<ui::ContextFactory> context_factory_; | 41 scoped_ptr<ui::ContextFactory> context_factory_; |
39 | 42 |
40 DISALLOW_COPY_AND_ASSIGN(NoTransportImageTransportFactory); | 43 DISALLOW_COPY_AND_ASSIGN(NoTransportImageTransportFactory); |
41 }; | 44 }; |
42 | 45 |
43 } // namespace content | 46 } // namespace content |
44 | 47 |
45 #endif // CONTENT_BROWSER_AURA_NO_TRANSPORT_IMAGE_TRANSPORT_FACTORY_H_ | 48 #endif // CONTENT_BROWSER_AURA_NO_TRANSPORT_IMAGE_TRANSPORT_FACTORY_H_ |
OLD | NEW |