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

Unified Diff: content/browser/compositor/mus_browser_compositor_output_surface.h

Issue 2651593002: mus: Remove the old client lib. (Closed)
Patch Set: restore test Created 3 years, 11 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
Index: content/browser/compositor/mus_browser_compositor_output_surface.h
diff --git a/content/browser/compositor/mus_browser_compositor_output_surface.h b/content/browser/compositor/mus_browser_compositor_output_surface.h
index e60a32066a62b9c7ccaf2f28564fb18dd0c689cc..c5ee24d3aca2e3d529db4a769a69d4475104df30 100644
--- a/content/browser/compositor/mus_browser_compositor_output_surface.h
+++ b/content/browser/compositor/mus_browser_compositor_output_surface.h
@@ -23,12 +23,6 @@ namespace gpu {
class GpuMemoryBufferManager;
}
-// TODO(mfomitchev): Remove once we complete the switch to Aura-Mus.
-namespace ui {
-class Window;
-class WindowCompositorFrameSink;
-}
-
namespace content {
// Adapts a WebGraphicsContext3DCommandBufferImpl into a
@@ -38,16 +32,6 @@ class MusBrowserCompositorOutputSurface
: public GpuBrowserCompositorOutputSurface,
public cc::CompositorFrameSinkClient {
public:
- // TODO(mfomitchev): Remove this constructor once we complete the switch to
- // Aura-Mus.
- MusBrowserCompositorOutputSurface(
- ui::Window* window,
- scoped_refptr<ui::ContextProviderCommandBuffer> context,
- gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager,
- const UpdateVSyncParametersCallback& update_vsync_parameters_callback,
- std::unique_ptr<display_compositor::CompositorOverlayCandidateValidator>
- overlay_candidate_validator);
-
MusBrowserCompositorOutputSurface(
aura::Window* window,
scoped_refptr<ui::ContextProviderCommandBuffer> context,
@@ -83,10 +67,6 @@ class MusBrowserCompositorOutputSurface
void FreeResourceId(uint32_t id);
const gpu::Mailbox& GetMailboxFromResourceId(uint32_t id);
- // TODO(mfomitchev): Remove once we complete the switch to Aura-Mus.
- ui::Window* ui_window_;
- std::unique_ptr<ui::WindowCompositorFrameSink> ui_compositor_frame_sink_;
-
aura::Window* window_;
std::unique_ptr<aura::WindowCompositorFrameSink> compositor_frame_sink_;
std::vector<uint32_t> free_resource_ids_;

Powered by Google App Engine
This is Rietveld 408576698