Index: gpu/ipc/service/gpu_channel_manager_delegate.h |
diff --git a/content/common/gpu/gpu_channel_manager_delegate.h b/gpu/ipc/service/gpu_channel_manager_delegate.h |
similarity index 85% |
rename from content/common/gpu/gpu_channel_manager_delegate.h |
rename to gpu/ipc/service/gpu_channel_manager_delegate.h |
index 00b3fe6a4606f0a5c4ee29650cf43a137b89ba56..83f2dc11526aa46a07d14e106b39c884238160e9 100644 |
--- a/content/common/gpu/gpu_channel_manager_delegate.h |
+++ b/gpu/ipc/service/gpu_channel_manager_delegate.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CONTENT_COMMON_GPU_GPU_CHANNEL_MANAGER_DELEGATE_H_ |
-#define CONTENT_COMMON_GPU_GPU_CHANNEL_MANAGER_DELEGATE_H_ |
+#ifndef GPU_IPC_SERVICE_GPU_CHANNEL_MANAGER_DELEGATE_H_ |
+#define GPU_IPC_SERVICE_GPU_CHANNEL_MANAGER_DELEGATE_H_ |
#include "gpu/command_buffer/common/constants.h" |
#include "gpu/ipc/common/surface_handle.h" |
@@ -21,10 +21,8 @@ struct ChannelHandle; |
} |
namespace gpu { |
-struct GPUMemoryUmaStats; |
-} |
-namespace content { |
+struct GPUMemoryUmaStats; |
class GpuChannelManagerDelegate { |
public: |
@@ -45,11 +43,11 @@ class GpuChannelManagerDelegate { |
// Tells the delegate that a context was lost. |
virtual void DidLoseContext(bool offscreen, |
- gpu::error::ContextLostReason reason, |
+ error::ContextLostReason reason, |
const GURL& active_url) = 0; |
// Tells the delegate about GPU memory usage statistics for UMA logging. |
- virtual void GpuMemoryUmaStats(const gpu::GPUMemoryUmaStats& params) = 0; |
+ virtual void GpuMemoryUmaStats(const GPUMemoryUmaStats& params) = 0; |
// Tells the delegate that no contexts are subscribed to the target anymore |
// so the delegate should stop sending the corresponding information. |
@@ -75,8 +73,8 @@ class GpuChannelManagerDelegate { |
#if defined(OS_WIN) |
virtual void SendAcceleratedSurfaceCreatedChildWindow( |
- gpu::SurfaceHandle parent_window, |
- gpu::SurfaceHandle child_window) = 0; |
+ SurfaceHandle parent_window, |
+ SurfaceHandle child_window) = 0; |
#endif |
// Sets the currently active URL. Use GURL() to clear the URL. |
@@ -86,6 +84,6 @@ class GpuChannelManagerDelegate { |
virtual ~GpuChannelManagerDelegate() {} |
}; |
-} // namespace content |
+} // namespace gpu |
-#endif // CONTENT_COMMON_GPU_GPU_CHANNEL_MANAGER_DELEGATE_H_ |
+#endif // GPU_IPC_SERVICE_GPU_CHANNEL_MANAGER_DELEGATE_H_ |