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

Unified Diff: ui/aura/mus/window_compositor_frame_sink.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/window_compositor_frame_sink.h
diff --git a/services/ui/public/cpp/window_compositor_frame_sink.h b/ui/aura/mus/window_compositor_frame_sink.h
similarity index 92%
copy from services/ui/public/cpp/window_compositor_frame_sink.h
copy to ui/aura/mus/window_compositor_frame_sink.h
index 2bb98687125879acab6f7bc721457e96b6af9651..73e384d52142f54a9b3b20e6c9ac7b34ab23dd5f 100644
--- a/services/ui/public/cpp/window_compositor_frame_sink.h
+++ b/ui/aura/mus/window_compositor_frame_sink.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_WINDOW_COMPOSITOR_FRAME_SINK_H_
-#define SERVICES_UI_PUBLIC_CPP_WINDOW_COMPOSITOR_FRAME_SINK_H_
+#ifndef UI_AURA_MUS_WINDOW_COMPOSITOR_FRAME_SINK_H_
+#define UI_AURA_MUS_WINDOW_COMPOSITOR_FRAME_SINK_H_
#include "base/macros.h"
#include "cc/ipc/mojo_compositor_frame_sink.mojom.h"
@@ -17,7 +17,7 @@ namespace gpu {
class GpuChannelHost;
}
-namespace ui {
+namespace aura {
class WindowCompositorFrameSinkBinding;
@@ -40,8 +40,6 @@ class WindowCompositorFrameSink
void SubmitCompositorFrame(cc::CompositorFrame frame) override;
private:
- friend class Window;
-
WindowCompositorFrameSink(
scoped_refptr<cc::ContextProvider> context_provider,
gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager,
@@ -77,7 +75,7 @@ class WindowCompositorFrameSinkBinding {
~WindowCompositorFrameSinkBinding();
private:
- friend class Window;
+ friend class WindowPortMus;
friend class WindowCompositorFrameSink;
WindowCompositorFrameSinkBinding(
@@ -91,6 +89,7 @@ class WindowCompositorFrameSinkBinding {
DISALLOW_COPY_AND_ASSIGN(WindowCompositorFrameSinkBinding);
};
-} // namespace ui
-#endif // SERVICES_UI_PUBLIC_CPP_WINDOW_COMPOSITOR_FRAME_SINK_H_
+} // namespace aura
+
+#endif // UI_AURA_MUS_WINDOW_COMPOSITOR_FRAME_SINK_H_

Powered by Google App Engine
This is Rietveld 408576698