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

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

Issue 2464123003: Enabling Aura-Mus clients to submit frames to Mus. (Closed)
Patch Set: Rebase, addressing feedback, removing some unneded imports/deps. 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
« no previous file with comments | « ui/aura/mus/gpu_service.cc ('k') | ui/aura/mus/mojo_gpu_memory_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/mojo_gpu_memory_buffer.h
diff --git a/services/ui/public/cpp/mojo_gpu_memory_buffer.h b/ui/aura/mus/mojo_gpu_memory_buffer.h
similarity index 83%
copy from services/ui/public/cpp/mojo_gpu_memory_buffer.h
copy to ui/aura/mus/mojo_gpu_memory_buffer.h
index fe9bc6030eee06ae23ebccc359b4c307834330cd..40d83103dce19f7f04e77259cd6a47967fd291c0 100644
--- a/services/ui/public/cpp/mojo_gpu_memory_buffer.h
+++ b/ui/aura/mus/mojo_gpu_memory_buffer.h
@@ -2,21 +2,21 @@
// 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_MOJO_GPU_MEMORY_BUFFER_H_
-#define SERVICES_UI_PUBLIC_CPP_MOJO_GPU_MEMORY_BUFFER_H_
+#ifndef UI_AURA_MUS_CPP_MOJO_GPU_MEMORY_BUFFER_H_
+#define UI_AURA_MUS_CPP_MOJO_GPU_MEMORY_BUFFER_H_
#include <stddef.h>
#include <memory>
#include "base/macros.h"
-#include "services/ui/public/cpp/gpu_memory_buffer_impl.h"
+#include "ui/aura/mus/gpu_memory_buffer_impl.h"
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/gpu_memory_buffer.h"
-namespace ui {
+namespace aura {
-class MojoGpuMemoryBufferImpl : public ui::GpuMemoryBufferImpl {
+class MojoGpuMemoryBufferImpl : public GpuMemoryBufferImpl {
public:
~MojoGpuMemoryBufferImpl() override;
@@ -56,6 +56,6 @@ class MojoGpuMemoryBufferImpl : public ui::GpuMemoryBufferImpl {
DISALLOW_COPY_AND_ASSIGN(MojoGpuMemoryBufferImpl);
};
-} // namespace ui
+} // namespace aura
-#endif // SERVICES_UI_PUBLIC_CPP_MOJO_GPU_MEMORY_BUFFER_H_
+#endif // UI_AURA_MUS_CPP_MOJO_GPU_MEMORY_BUFFER_H_
« no previous file with comments | « ui/aura/mus/gpu_service.cc ('k') | ui/aura/mus/mojo_gpu_memory_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698