| 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 15 matching lines...) Expand all Loading... |
| 26 virtual gfx::GLSurfaceHandle CreateSharedSurfaceHandle() OVERRIDE; | 26 virtual gfx::GLSurfaceHandle CreateSharedSurfaceHandle() OVERRIDE; |
| 27 virtual void DestroySharedSurfaceHandle(gfx::GLSurfaceHandle surface) | 27 virtual void DestroySharedSurfaceHandle(gfx::GLSurfaceHandle surface) |
| 28 OVERRIDE; | 28 OVERRIDE; |
| 29 virtual scoped_refptr<ui::Texture> CreateTransportClient( | 29 virtual scoped_refptr<ui::Texture> CreateTransportClient( |
| 30 float device_scale_factor) OVERRIDE; | 30 float device_scale_factor) OVERRIDE; |
| 31 virtual scoped_refptr<ui::Texture> CreateOwnedTexture( | 31 virtual scoped_refptr<ui::Texture> CreateOwnedTexture( |
| 32 const gfx::Size& size, | 32 const gfx::Size& size, |
| 33 float device_scale_factor, | 33 float device_scale_factor, |
| 34 unsigned int texture_id) OVERRIDE; | 34 unsigned int texture_id) OVERRIDE; |
| 35 virtual GLHelper* GetGLHelper() OVERRIDE; | 35 virtual GLHelper* GetGLHelper() OVERRIDE; |
| 36 virtual uint32 InsertSyncPoint() OVERRIDE; | |
| 37 virtual void WaitSyncPoint(uint32 sync_point) OVERRIDE; | |
| 38 virtual void AddObserver(ImageTransportFactoryObserver* observer) OVERRIDE; | 36 virtual void AddObserver(ImageTransportFactoryObserver* observer) OVERRIDE; |
| 39 virtual void RemoveObserver(ImageTransportFactoryObserver* observer) OVERRIDE; | 37 virtual void RemoveObserver(ImageTransportFactoryObserver* observer) OVERRIDE; |
| 40 | 38 |
| 41 private: | 39 private: |
| 42 scoped_ptr<ui::ContextFactory> context_factory_; | 40 scoped_ptr<ui::ContextFactory> context_factory_; |
| 43 scoped_refptr<cc::ContextProvider> context_provider_; | 41 scoped_refptr<cc::ContextProvider> context_provider_; |
| 44 scoped_ptr<GLHelper> gl_helper_; | 42 scoped_ptr<GLHelper> gl_helper_; |
| 45 | 43 |
| 46 DISALLOW_COPY_AND_ASSIGN(NoTransportImageTransportFactory); | 44 DISALLOW_COPY_AND_ASSIGN(NoTransportImageTransportFactory); |
| 47 }; | 45 }; |
| 48 | 46 |
| 49 } // namespace content | 47 } // namespace content |
| 50 | 48 |
| 51 #endif // CONTENT_BROWSER_AURA_NO_TRANSPORT_IMAGE_TRANSPORT_FACTORY_H_ | 49 #endif // CONTENT_BROWSER_AURA_NO_TRANSPORT_IMAGE_TRANSPORT_FACTORY_H_ |
| OLD | NEW |