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

Unified Diff: ui/aura/mus/gpu_service.h

Issue 2464123003: Enabling Aura-Mus clients to submit frames to Mus. (Closed)
Patch Set: Created 4 years, 1 month 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
Index: ui/aura/mus/gpu_service.h
diff --git a/services/ui/public/cpp/gpu_service.h b/ui/aura/mus/gpu_service.h
similarity index 87%
copy from services/ui/public/cpp/gpu_service.h
copy to ui/aura/mus/gpu_service.h
index 79b3893bc0cfbc961e32719783e6c97568125cbb..222e0bfc2af6c88587604e98ec26740f5f44c677 100644
--- a/services/ui/public/cpp/gpu_service.h
+++ b/ui/aura/mus/gpu_service.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 SERVICES_UI_PUBLIC_CPP_GPU_SERVICE_H_
-#define SERVICES_UI_PUBLIC_CPP_GPU_SERVICE_H_
+#ifndef UI_AURA_MUS_GPU_SERVICE_H_
+#define UI_AURA_MUS_GPU_SERVICE_H_
#include <stdint.h>
#include <vector>
@@ -16,17 +16,18 @@
#include "base/threading/thread.h"
#include "gpu/ipc/client/gpu_channel_host.h"
#include "gpu/ipc/common/gpu_info.mojom.h"
-#include "services/ui/public/cpp/mojo_gpu_memory_buffer_manager.h"
#include "services/ui/public/interfaces/gpu_service.mojom.h"
+#include "ui/aura/aura_export.h"
+#include "ui/aura/mus/mojo_gpu_memory_buffer_manager.h"
namespace service_manager {
class Connector;
}
-namespace ui {
+namespace aura {
-class GpuService : public gpu::GpuChannelHostFactory,
- public gpu::GpuChannelEstablishFactory {
+class AURA_EXPORT GpuService : public gpu::GpuChannelHostFactory,
+ public gpu::GpuChannelEstablishFactory {
public:
~GpuService() override;
@@ -79,6 +80,6 @@ class GpuService : public gpu::GpuChannelHostFactory,
DISALLOW_COPY_AND_ASSIGN(GpuService);
};
-} // namespace ui
+} // namespace aura
-#endif // SERVICES_UI_PUBLIC_CPP_GPU_SERVICE_H_
+#endif // UI_AURA_MUS_GPU_SERVICE_H_

Powered by Google App Engine
This is Rietveld 408576698