Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Side by Side Diff: content/common/mac/io_surface_manager.h

Issue 1227363005: mac: Include <IOSurface/IOSurface.h> instead of <IOSurface/IOSurfaceAPI.h> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_COMMON_MAC_IO_SURFACE_MANAGER_H_ 5 #ifndef CONTENT_COMMON_MAC_IO_SURFACE_MANAGER_H_
6 #define CONTENT_COMMON_MAC_IO_SURFACE_MANAGER_H_ 6 #define CONTENT_COMMON_MAC_IO_SURFACE_MANAGER_H_
7 7
8 #include <IOSurface/IOSurfaceAPI.h> 8 #include <IOSurface/IOSurface.h>
9 9
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 // This interface provides a mechanism for different processes to securely 14 // This interface provides a mechanism for different processes to securely
15 // share IOSurfaces. A process can register an IOSurface for use in another 15 // share IOSurfaces. A process can register an IOSurface for use in another
16 // process and the client ID provided with registration determines the process 16 // process and the client ID provided with registration determines the process
17 // that can acquire a reference to the IOSurface. 17 // that can acquire a reference to the IOSurface.
18 class CONTENT_EXPORT IOSurfaceManager { 18 class CONTENT_EXPORT IOSurfaceManager {
(...skipping 13 matching lines...) Expand all
32 // Acquire IO surface reference for a registered IO surface. 32 // Acquire IO surface reference for a registered IO surface.
33 virtual IOSurfaceRef AcquireIOSurface(int io_surface_id) = 0; 33 virtual IOSurfaceRef AcquireIOSurface(int io_surface_id) = 0;
34 34
35 protected: 35 protected:
36 virtual ~IOSurfaceManager() {} 36 virtual ~IOSurfaceManager() {}
37 }; 37 };
38 38
39 } // namespace content 39 } // namespace content
40 40
41 #endif // CONTENT_COMMON_MAC_IO_SURFACE_MANAGER_H_ 41 #endif // CONTENT_COMMON_MAC_IO_SURFACE_MANAGER_H_
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_memory_buffer_factory_io_surface.h ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698