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

Unified Diff: gpu/ipc/common/gpu_surface_lookup.h

Issue 1823763003: Move more files to gpu/ipc/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed GYP build Created 4 years, 9 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/common/gpu_memory_uma_stats.h ('k') | gpu/ipc/common/gpu_surface_lookup.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/common/gpu_surface_lookup.h
diff --git a/content/common/gpu/gpu_surface_lookup.h b/gpu/ipc/common/gpu_surface_lookup.h
similarity index 69%
rename from content/common/gpu/gpu_surface_lookup.h
rename to gpu/ipc/common/gpu_surface_lookup.h
index c47e7e379018a0b98b68a2736c3a07b17f86bd3d..a1921a9d839a93f3098a5dabd8792468a09fb0f7 100644
--- a/content/common/gpu/gpu_surface_lookup.h
+++ b/gpu/ipc/common/gpu_surface_lookup.h
@@ -2,25 +2,25 @@
// 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_SURFACE_LOOKUP_H_
-#define CONTENT_COMMON_GPU_GPU_SURFACE_LOOKUP_H_
+#ifndef GPU_IPC_COMMON_GPU_SURFACE_LOOKUP_H_
+#define GPU_IPC_COMMON_GPU_SURFACE_LOOKUP_H_
#include "base/macros.h"
-#include "content/common/content_export.h"
+#include "gpu/gpu_export.h"
#include "ui/gfx/native_widget_types.h"
#if defined(OS_ANDROID)
#include "ui/gl/android/scoped_java_surface.h"
#endif
-namespace content {
+namespace gpu {
// This class provides an interface to look up window surface handles
// that cannot be sent through the IPC channel.
-class CONTENT_EXPORT GpuSurfaceLookup {
+class GPU_EXPORT GpuSurfaceLookup {
public:
- GpuSurfaceLookup() { }
- virtual ~GpuSurfaceLookup() { }
+ GpuSurfaceLookup() {}
+ virtual ~GpuSurfaceLookup() {}
static GpuSurfaceLookup* GetInstance();
static void InitInstance(GpuSurfaceLookup* lookup);
@@ -35,6 +35,6 @@ class CONTENT_EXPORT GpuSurfaceLookup {
DISALLOW_COPY_AND_ASSIGN(GpuSurfaceLookup);
};
-} // namespace content
+} // namespace gpu
-#endif // CONTENT_COMMON_GPU_GPU_SURFACE_LOOKUP_H_
+#endif // GPU_IPC_COMMON_GPU_SURFACE_LOOKUP_H_
« no previous file with comments | « gpu/ipc/common/gpu_memory_uma_stats.h ('k') | gpu/ipc/common/gpu_surface_lookup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698