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

Unified Diff: gpu/ipc/service/gpu_channel_manager_delegate.h

Issue 1845563005: Refactor content/common/gpu into gpu/ipc/service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Drop ref to deleted content_tests_gypi_values.content_unittests_ozone_sources Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/ipc/service/gpu_channel_manager.cc ('k') | gpu/ipc/service/gpu_channel_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « gpu/ipc/service/gpu_channel_manager.cc ('k') | gpu/ipc/service/gpu_channel_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698