| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 UI_GL_GL_IMAGE_SHARED_MEMORY_H_ | 5 #ifndef UI_GL_GL_IMAGE_SHARED_MEMORY_H_ |
| 6 #define UI_GL_GL_IMAGE_SHARED_MEMORY_H_ | 6 #define UI_GL_GL_IMAGE_SHARED_MEMORY_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
| 11 #include "base/macros.h" |
| 8 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/memory/shared_memory_handle.h" | 13 #include "base/memory/shared_memory_handle.h" |
| 10 #include "ui/gfx/generic_shared_memory_id.h" | 14 #include "ui/gfx/generic_shared_memory_id.h" |
| 11 #include "ui/gl/gl_image_memory.h" | 15 #include "ui/gl/gl_image_memory.h" |
| 12 | 16 |
| 13 namespace base { | 17 namespace base { |
| 14 class SharedMemory; | 18 class SharedMemory; |
| 15 } | 19 } |
| 16 | 20 |
| 17 namespace gl { | 21 namespace gl { |
| (...skipping 20 matching lines...) Expand all Loading... |
| 38 private: | 42 private: |
| 39 scoped_ptr<base::SharedMemory> shared_memory_; | 43 scoped_ptr<base::SharedMemory> shared_memory_; |
| 40 gfx::GenericSharedMemoryId shared_memory_id_; | 44 gfx::GenericSharedMemoryId shared_memory_id_; |
| 41 | 45 |
| 42 DISALLOW_COPY_AND_ASSIGN(GLImageSharedMemory); | 46 DISALLOW_COPY_AND_ASSIGN(GLImageSharedMemory); |
| 43 }; | 47 }; |
| 44 | 48 |
| 45 } // namespace gl | 49 } // namespace gl |
| 46 | 50 |
| 47 #endif // UI_GL_GL_IMAGE_SHARED_MEMORY_H_ | 51 #endif // UI_GL_GL_IMAGE_SHARED_MEMORY_H_ |
| OLD | NEW |