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

Unified Diff: components/mus/surfaces/top_level_display_client.h

Issue 2036563002: Delete OnscreenDisplayClient and TopLevelDisplayClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: onscreendisplayclient: webview-scoped-allow-gl-for-hardwarerenderer-constructor Created 4 years, 6 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
« no previous file with comments | « components/mus/surfaces/display_compositor.cc ('k') | components/mus/surfaces/top_level_display_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/surfaces/top_level_display_client.h
diff --git a/components/mus/surfaces/top_level_display_client.h b/components/mus/surfaces/top_level_display_client.h
deleted file mode 100644
index ea042bf648e8ac4fd721aaf4f9205cca3c63aac4..0000000000000000000000000000000000000000
--- a/components/mus/surfaces/top_level_display_client.h
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_MUS_SURFACES_TOP_LEVEL_DISPLAY_CLIENT_H_
-#define COMPONENTS_MUS_SURFACES_TOP_LEVEL_DISPLAY_CLIENT_H_
-
-#include "cc/surfaces/display_client.h"
-
-#include "base/memory/ref_counted.h"
-#include "base/single_thread_task_runner.h"
-
-namespace cc {
-class Display;
-class OutputSurface;
-class RendererSettings;
-class SharedBitmapManager;
-class SurfaceManager;
-}
-
-namespace gpu {
-class GpuMemoryBufferManager;
-}
-
-namespace mus {
-
-class TopLevelDisplayClient : public cc::DisplayClient {
- public:
- TopLevelDisplayClient(std::unique_ptr<cc::OutputSurface> output_surface,
- cc::SurfaceManager* surface_manager,
- cc::SharedBitmapManager* bitmap_manager,
- gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager,
- const cc::RendererSettings& settings,
- scoped_refptr<base::SingleThreadTaskRunner> task_runner,
- uint32_t compositor_surface_namespace);
- ~TopLevelDisplayClient() override;
-
- bool Initialize();
-
- cc::Display* display() { return display_.get(); }
-
- private:
- // DisplayClient implementation.
- void OutputSurfaceLost() override;
- void SetMemoryPolicy(const cc::ManagedMemoryPolicy& policy) override;
-
- std::unique_ptr<cc::OutputSurface> output_surface_;
- scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
- std::unique_ptr<cc::Display> display_;
-
- DISALLOW_COPY_AND_ASSIGN(TopLevelDisplayClient);
-};
-
-} // namespace mus
-
-#endif // COMPONENTS_MUS_SURFACES_TOP_LEVEL_DISPLAY_CLIENT_H_
« no previous file with comments | « components/mus/surfaces/display_compositor.cc ('k') | components/mus/surfaces/top_level_display_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698