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

Unified Diff: ui/aura/mus/gpu_memory_buffer_impl.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/DEPS ('k') | ui/aura/mus/gpu_memory_buffer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/gpu_memory_buffer_impl.h
diff --git a/services/ui/public/cpp/gpu_memory_buffer_impl.h b/ui/aura/mus/gpu_memory_buffer_impl.h
similarity index 85%
copy from services/ui/public/cpp/gpu_memory_buffer_impl.h
copy to ui/aura/mus/gpu_memory_buffer_impl.h
index 9ff185299b0109486d2a6150b3134691b27dad30..4f8534778f9c8bfe3de8cd0a685996660928604f 100644
--- a/services/ui/public/cpp/gpu_memory_buffer_impl.h
+++ b/ui/aura/mus/gpu_memory_buffer_impl.h
@@ -2,14 +2,13 @@
// 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_MEMORY_BUFFER_IMPL_H_
-#define SERVICES_UI_PUBLIC_CPP_GPU_MEMORY_BUFFER_IMPL_H_
+#ifndef UI_AURA_MUS_CPP_GPU_MEMORY_BUFFER_IMPL_H_
+#define UI_AURA_MUS_CPP_GPU_MEMORY_BUFFER_IMPL_H_
#include <memory>
#include "base/callback.h"
#include "base/macros.h"
-#include "gpu/command_buffer/common/sync_token.h"
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/gpu_memory_buffer.h"
@@ -17,7 +16,7 @@
#include "ui/ozone/public/native_pixmap.h"
#endif
-namespace ui {
+namespace aura {
// Provides common implementation of a GPU memory buffer.
class GpuMemoryBufferImpl : public gfx::GpuMemoryBuffer {
@@ -55,6 +54,6 @@ class GpuMemoryBufferImpl : public gfx::GpuMemoryBuffer {
DISALLOW_COPY_AND_ASSIGN(GpuMemoryBufferImpl);
};
-} // namespace ui
+} // namespace aura
-#endif // SERVICES_UI_PUBLIC_CPP_GPU_MEMORY_BUFFER_IMPL_H_
+#endif // UI_AURA_MUS_CPP_GPU_MEMORY_BUFFER_IMPL_H_
« no previous file with comments | « ui/aura/mus/DEPS ('k') | ui/aura/mus/gpu_memory_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698