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

Unified Diff: mojo/aura/surface_context_factory.h

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 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
« no previous file with comments | « mojo/aura/surface_binding.cc ('k') | mojo/aura/surface_context_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/aura/surface_context_factory.h
diff --git a/mojo/aura/surface_context_factory.h b/mojo/aura/surface_context_factory.h
deleted file mode 100644
index a69bb90a7798bc5ab412da7980b99a4ed3388f57..0000000000000000000000000000000000000000
--- a/mojo/aura/surface_context_factory.h
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright 2014 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 MOJO_AURA_SURFACE_CONTEXT_FACTORY_H_
-#define MOJO_AURA_SURFACE_CONTEXT_FACTORY_H_
-
-#include "mojo/aura/surface_binding.h"
-#include "ui/compositor/compositor.h"
-
-namespace mojo {
-class Shell;
-class View;
-
-class SurfaceContextFactory : public ui::ContextFactory {
- public:
- SurfaceContextFactory(Shell* shell, View* view);
- ~SurfaceContextFactory() override;
-
- private:
- // ContextFactory:
- void CreateOutputSurface(base::WeakPtr<ui::Compositor> compositor,
- bool software_fallback) override;
- scoped_refptr<ui::Reflector> CreateReflector(
- ui::Compositor* mirrored_compositor,
- ui::Layer* mirroring_layer) override;
- void RemoveReflector(scoped_refptr<ui::Reflector> reflector) override;
- scoped_refptr<cc::ContextProvider> SharedMainThreadContextProvider() override;
- void RemoveCompositor(ui::Compositor* compositor) override;
- bool DoesCreateTestContexts() override;
- cc::SharedBitmapManager* GetSharedBitmapManager() override;
- gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override;
- base::MessageLoopProxy* GetCompositorMessageLoop() override;
- scoped_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator() override;
-
- SurfaceBinding surface_binding_;
-
- DISALLOW_COPY_AND_ASSIGN(SurfaceContextFactory);
-};
-
-} // namespace mojo
-
-#endif // MOJO_AURA_SURFACE_CONTEXT_FACTORY_H_
« no previous file with comments | « mojo/aura/surface_binding.cc ('k') | mojo/aura/surface_context_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698