| OLD | NEW |
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2016 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 COMPONENTS_MUS_GLES2_GL_SURFACE_ADAPTER_H_ | 5 #ifndef SERVICES_UI_GLES2_GL_SURFACE_ADAPTER_H_ |
| 6 #define COMPONENTS_MUS_GLES2_GL_SURFACE_ADAPTER_H_ | 6 #define SERVICES_UI_GLES2_GL_SURFACE_ADAPTER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 14 #include "ui/gfx/swap_result.h" | 14 #include "ui/gfx/swap_result.h" |
| 15 #include "ui/gl/gl_surface.h" | 15 #include "ui/gl/gl_surface.h" |
| 16 | 16 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 // here. | 61 // here. |
| 62 scoped_refptr<gl::GLSurface> surface_; | 62 scoped_refptr<gl::GLSurface> surface_; |
| 63 | 63 |
| 64 base::WeakPtrFactory<GLSurfaceAdapterMus> weak_ptr_factory_; | 64 base::WeakPtrFactory<GLSurfaceAdapterMus> weak_ptr_factory_; |
| 65 | 65 |
| 66 DISALLOW_COPY_AND_ASSIGN(GLSurfaceAdapterMus); | 66 DISALLOW_COPY_AND_ASSIGN(GLSurfaceAdapterMus); |
| 67 }; | 67 }; |
| 68 | 68 |
| 69 } // namespace mus | 69 } // namespace mus |
| 70 | 70 |
| 71 #endif // COMPONENTS_MUS_GLES2_GL_SURFACE_ADAPTER_H_ | 71 #endif // SERVICES_UI_GLES2_GL_SURFACE_ADAPTER_H_ |
| OLD | NEW |