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

Unified Diff: ui/views/mus/surface_context_factory.h

Issue 2611773002: Removes code using mus client lib (Closed)
Patch Set: dont run on linux Created 3 years, 12 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 | « ui/views/mus/screen_mus_unittest.cc ('k') | ui/views/mus/surface_context_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/surface_context_factory.h
diff --git a/ui/views/mus/surface_context_factory.h b/ui/views/mus/surface_context_factory.h
deleted file mode 100644
index 3abc9c9fa65c921d588ef89670cf977bcf371801..0000000000000000000000000000000000000000
--- a/ui/views/mus/surface_context_factory.h
+++ /dev/null
@@ -1,50 +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 UI_VIEWS_MUS_SURFACE_CONTEXT_FACTORY_H_
-#define UI_VIEWS_MUS_SURFACE_CONTEXT_FACTORY_H_
-
-#include <stdint.h>
-
-#include "base/macros.h"
-#include "cc/surfaces/surface_manager.h"
-#include "services/ui/public/cpp/raster_thread_helper.h"
-#include "services/ui/public/interfaces/window_tree.mojom.h"
-#include "ui/compositor/compositor.h"
-#include "ui/views/mus/mus_export.h"
-
-namespace ui {
-class Gpu;
-}
-
-namespace views {
-
-class VIEWS_MUS_EXPORT SurfaceContextFactory : public ui::ContextFactory {
- public:
- explicit SurfaceContextFactory(ui::Gpu* gpu);
- ~SurfaceContextFactory() override;
-
- private:
- // ContextFactory:
- void CreateCompositorFrameSink(
- base::WeakPtr<ui::Compositor> compositor) override;
- scoped_refptr<cc::ContextProvider> SharedMainThreadContextProvider() override;
- void RemoveCompositor(ui::Compositor* compositor) override;
- bool DoesCreateTestContexts() override;
- uint32_t GetImageTextureTarget(gfx::BufferFormat format,
- gfx::BufferUsage usage) override;
- gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override;
- cc::TaskGraphRunner* GetTaskGraphRunner() override;
- void AddObserver(ui::ContextFactoryObserver* observer) override {}
- void RemoveObserver(ui::ContextFactoryObserver* observer) override {}
-
- ui::RasterThreadHelper raster_thread_helper_;
- ui::Gpu* gpu_;
-
- DISALLOW_COPY_AND_ASSIGN(SurfaceContextFactory);
-};
-
-} // namespace views
-
-#endif // UI_VIEWS_MUS_SURFACE_CONTEXT_FACTORY_H_
« no previous file with comments | « ui/views/mus/screen_mus_unittest.cc ('k') | ui/views/mus/surface_context_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698