| 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 CONTENT_BROWSER_RENDERER_HOST_IMAGE_TRANSPORT_CLIENT_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_IMAGE_TRANSPORT_CLIENT_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_IMAGE_TRANSPORT_CLIENT_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_IMAGE_TRANSPORT_CLIENT_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "ui/gfx/compositor/compositor.h" | 10 #include "ui/compositor/compositor.h" |
| 11 #include "ui/surface/transport_dib.h" | 11 #include "ui/surface/transport_dib.h" |
| 12 | 12 |
| 13 namespace gfx { | 13 namespace gfx { |
| 14 class Size; | 14 class Size; |
| 15 } | 15 } |
| 16 class ImageTransportFactory; | 16 class ImageTransportFactory; |
| 17 | 17 |
| 18 // This is a client for ImageTransportSurface, that handles the | 18 // This is a client for ImageTransportSurface, that handles the |
| 19 // platform-specific task of binding the transport surface to a GL texture. | 19 // platform-specific task of binding the transport surface to a GL texture. |
| 20 // The GL texture is allocated in the ImageTransportFactory context, and the | 20 // The GL texture is allocated in the ImageTransportFactory context, and the |
| (...skipping 18 matching lines...) Expand all Loading... |
| 39 | 39 |
| 40 protected: | 40 protected: |
| 41 ImageTransportClient(bool flipped, const gfx::Size& size); | 41 ImageTransportClient(bool flipped, const gfx::Size& size); |
| 42 | 42 |
| 43 private: | 43 private: |
| 44 DISALLOW_COPY_AND_ASSIGN(ImageTransportClient); | 44 DISALLOW_COPY_AND_ASSIGN(ImageTransportClient); |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 #endif // CONTENT_BROWSER_RENDERER_HOST_IMAGE_TRANSPORT_CLIENT_H_ | 47 #endif // CONTENT_BROWSER_RENDERER_HOST_IMAGE_TRANSPORT_CLIENT_H_ |
| 48 | 48 |
| OLD | NEW |