Index: ui/compositor/mac/surface_handle_types_mac.h |
diff --git a/content/common/gpu/surface_handle_types_mac.h b/ui/compositor/mac/surface_handle_types_mac.h |
similarity index 84% |
rename from content/common/gpu/surface_handle_types_mac.h |
rename to ui/compositor/mac/surface_handle_types_mac.h |
index 8432017377abd39b9e3d2fe6472e7b5909ed0bba..2ddd95df1dfbb6321631a6076fb3b0bf84fb262e 100644 |
--- a/content/common/gpu/surface_handle_types_mac.h |
+++ b/ui/compositor/mac/surface_handle_types_mac.h |
@@ -2,14 +2,15 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CONTENT_COMMON_GPU_SURFACE_HANDLE_TYPES_MAC_H_ |
-#define CONTENT_COMMON_GPU_SURFACE_HANDLE_TYPES_MAC_H_ |
+#ifndef UI_COMPOSITOR_MAC_SURFACE_HANDLE_TYPES_MAC_H_ |
+#define UI_COMPOSITOR_MAC_SURFACE_HANDLE_TYPES_MAC_H_ |
#include <IOSurface/IOSurface.h> |
#include <OpenGL/CGLIOSurface.h> |
#include "base/basictypes.h" |
#include "ui/base/cocoa/remote_layer_api.h" |
+#include "ui/compositor/compositor_export.h" |
namespace content { |
@@ -27,7 +28,10 @@ SurfaceHandleType GetSurfaceHandleType(uint64 surface_handle); |
CAContextID CAContextIDFromSurfaceHandle(uint64 surface_handle); |
IOSurfaceID IOSurfaceIDFromSurfaceHandle(uint64 surface_handle); |
+COMPOSITOR_EXPORT |
uint64 SurfaceHandleFromIOSurfaceID(IOSurfaceID io_surface_id); |
+ |
+COMPOSITOR_EXPORT |
uint64 SurfaceHandleFromCAContextID(CAContextID ca_context_id); |
} // namespace content |