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

Unified Diff: ui/compositor/test/in_process_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 | « ui/compositor/test/draw_waiter_for_test.cc ('k') | ui/compositor/test/in_process_context_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/test/in_process_context_factory.h
diff --git a/ui/compositor/test/in_process_context_factory.h b/ui/compositor/test/in_process_context_factory.h
deleted file mode 100644
index 4e5b3e89e902b2bb79627a72977567e56c8507ef..0000000000000000000000000000000000000000
--- a/ui/compositor/test/in_process_context_factory.h
+++ /dev/null
@@ -1,59 +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 UI_COMPOSITOR_TEST_IN_PROCESS_CONTEXT_FACTORY_H_
-#define UI_COMPOSITOR_TEST_IN_PROCESS_CONTEXT_FACTORY_H_
-
-#include "cc/test/test_gpu_memory_buffer_manager.h"
-#include "cc/test/test_shared_bitmap_manager.h"
-#include "ui/compositor/compositor.h"
-
-namespace base {
-class Thread;
-}
-
-namespace webkit {
-namespace gpu {
-class ContextProviderInProcess;
-}
-}
-
-namespace ui {
-
-class InProcessContextFactory : public ContextFactory {
- public:
- InProcessContextFactory();
- ~InProcessContextFactory() override;
-
- // ContextFactory implementation
- scoped_ptr<cc::OutputSurface> CreateOutputSurface(
- Compositor* compositor,
- bool software_fallback) override;
-
- scoped_refptr<Reflector> CreateReflector(Compositor* mirrored_compositor,
- Layer* mirroring_layer) override;
- void RemoveReflector(scoped_refptr<Reflector> reflector) override;
-
- scoped_refptr<cc::ContextProvider> SharedMainThreadContextProvider() override;
- void RemoveCompositor(Compositor* compositor) override;
- bool DoesCreateTestContexts() override;
- cc::SharedBitmapManager* GetSharedBitmapManager() override;
- cc::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override;
- base::MessageLoopProxy* GetCompositorMessageLoop() override;
- scoped_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator() override;
-
- private:
- scoped_ptr<base::Thread> compositor_thread_;
- scoped_refptr<webkit::gpu::ContextProviderInProcess>
- shared_main_thread_contexts_;
- cc::TestSharedBitmapManager shared_bitmap_manager_;
- cc::TestGpuMemoryBufferManager gpu_memory_buffer_manager_;
- uint32_t next_surface_id_namespace_;
-
- DISALLOW_COPY_AND_ASSIGN(InProcessContextFactory);
-};
-
-} // namespace ui
-
-#endif // UI_COMPOSITOR_TEST_IN_PROCESS_CONTEXT_FACTORY_H_
« no previous file with comments | « ui/compositor/test/draw_waiter_for_test.cc ('k') | ui/compositor/test/in_process_context_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698