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

Unified Diff: mojo/aura/surface_context_factory.cc

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_context_factory.h ('k') | mojo/aura/window_tree_host_mojo.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/aura/surface_context_factory.cc
diff --git a/mojo/aura/surface_context_factory.cc b/mojo/aura/surface_context_factory.cc
deleted file mode 100644
index 3e1422f9a95c9cececdd2e1bd34fb6a7552148e8..0000000000000000000000000000000000000000
--- a/mojo/aura/surface_context_factory.cc
+++ /dev/null
@@ -1,69 +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.
-
-#include "mojo/aura/surface_context_factory.h"
-
-#include "cc/output/output_surface.h"
-#include "cc/resources/shared_bitmap_manager.h"
-#include "cc/surfaces/surface_id_allocator.h"
-#include "mojo/public/interfaces/application/shell.mojom.h"
-#include "mojo/services/view_manager/public/cpp/view.h"
-#include "ui/compositor/reflector.h"
-
-namespace mojo {
-
-SurfaceContextFactory::SurfaceContextFactory(Shell* shell, View* view)
- : surface_binding_(shell, view) {
-}
-
-SurfaceContextFactory::~SurfaceContextFactory() {
-}
-
-void SurfaceContextFactory::CreateOutputSurface(
- base::WeakPtr<ui::Compositor> compositor,
- bool software_fallback) {
- compositor->SetOutputSurface(surface_binding_.CreateOutputSurface());
-}
-
-scoped_refptr<ui::Reflector> SurfaceContextFactory::CreateReflector(
- ui::Compositor* mirroed_compositor,
- ui::Layer* mirroring_layer) {
- return new ui::Reflector();
-}
-
-void SurfaceContextFactory::RemoveReflector(
- scoped_refptr<ui::Reflector> reflector) {
-}
-
-scoped_refptr<cc::ContextProvider>
-SurfaceContextFactory::SharedMainThreadContextProvider() {
- return nullptr;
-}
-
-void SurfaceContextFactory::RemoveCompositor(ui::Compositor* compositor) {
-}
-
-bool SurfaceContextFactory::DoesCreateTestContexts() {
- return false;
-}
-
-cc::SharedBitmapManager* SurfaceContextFactory::GetSharedBitmapManager() {
- return nullptr;
-}
-
-gpu::GpuMemoryBufferManager*
-SurfaceContextFactory::GetGpuMemoryBufferManager() {
- return nullptr;
-}
-
-base::MessageLoopProxy* SurfaceContextFactory::GetCompositorMessageLoop() {
- return nullptr;
-}
-
-scoped_ptr<cc::SurfaceIdAllocator>
-SurfaceContextFactory::CreateSurfaceIdAllocator() {
- return nullptr;
-}
-
-} // namespace mojo
« no previous file with comments | « mojo/aura/surface_context_factory.h ('k') | mojo/aura/window_tree_host_mojo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698