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

Unified Diff: blimp/engine/app/ui/blimp_ui_context_factory.h

Issue 1830293003: Remove BlimpUiContextFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove blink/engine deps Created 4 years, 9 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 | « blimp/engine/app/ui/BUILD.gn ('k') | blimp/engine/app/ui/blimp_ui_context_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/engine/app/ui/blimp_ui_context_factory.h
diff --git a/blimp/engine/app/ui/blimp_ui_context_factory.h b/blimp/engine/app/ui/blimp_ui_context_factory.h
deleted file mode 100644
index 4028b54d42c36d4de912444732e4b58f199037c3..0000000000000000000000000000000000000000
--- a/blimp/engine/app/ui/blimp_ui_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 BLIMP_ENGINE_APP_UI_BLIMP_UI_CONTEXT_FACTORY_H_
-#define BLIMP_ENGINE_APP_UI_BLIMP_UI_CONTEXT_FACTORY_H_
-
-#include <stdint.h>
-
-#include "base/macros.h"
-#include "blimp/common/compositor/blimp_task_graph_runner.h"
-#include "ui/compositor/compositor.h"
-
-namespace blimp {
-namespace engine {
-
-class BlimpUiContextFactory : public ui::ContextFactory {
- public:
- BlimpUiContextFactory();
- ~BlimpUiContextFactory() override;
-
- private:
- // ui::ContextFactory implementation.
- void CreateOutputSurface(base::WeakPtr<ui::Compositor> compositor) override;
- scoped_ptr<ui::Reflector> CreateReflector(
- ui::Compositor* mirrored_compositor,
- ui::Layer* mirroring_layer) override;
- void RemoveReflector(ui::Reflector* reflector) 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;
- cc::SharedBitmapManager* GetSharedBitmapManager() override;
- gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override;
- cc::TaskGraphRunner* GetTaskGraphRunner() override;
- scoped_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator() override;
- void ResizeDisplay(ui::Compositor* compositor,
- const gfx::Size& size) override;
-
- uint32_t next_surface_id_namespace_;
- BlimpTaskGraphRunner task_graph_runner_;
-
- DISALLOW_COPY_AND_ASSIGN(BlimpUiContextFactory);
-};
-
-} // namespace engine
-} // namespace blimp
-
-#endif // BLIMP_ENGINE_APP_UI_BLIMP_UI_CONTEXT_FACTORY_H_
« no previous file with comments | « blimp/engine/app/ui/BUILD.gn ('k') | blimp/engine/app/ui/blimp_ui_context_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698