summaryrefslogtreecommitdiffstats
path: root/mojo/aura/context_factory_mojo.h
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-06 16:07:54 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-06 16:07:54 +0000
commit74d9b7a702f19af4840814ba88184aa4935dad3d (patch)
tree0a062cad65d1601e695c8ff5a789f2481a461bae /mojo/aura/context_factory_mojo.h
parent877dd945749497167a247015ad5775fa325f8fce (diff)
downloadchromium_src-74d9b7a702f19af4840814ba88184aa4935dad3d.zip
chromium_src-74d9b7a702f19af4840814ba88184aa4935dad3d.tar.gz
chromium_src-74d9b7a702f19af4840814ba88184aa4935dad3d.tar.bz2
Moves view_manager files to view_manager directory
The WindowTreeHost and ContextFactory implementations are specific to the view manager and should be moved there. No one else should be using these directly. I'm also nuking launcher as it was temporary and the only other place that was using this code. BUG=365012 TEST=none R=ben@chromium.org Review URL: https://codereview.chromium.org/315223004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275453 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'mojo/aura/context_factory_mojo.h')
-rw-r--r--mojo/aura/context_factory_mojo.h52
1 files changed, 0 insertions, 52 deletions
diff --git a/mojo/aura/context_factory_mojo.h b/mojo/aura/context_factory_mojo.h
deleted file mode 100644
index 3eca794..0000000
--- a/mojo/aura/context_factory_mojo.h
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright 2013 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_CONTEXT_FACTORY_MOJO_H_
-#define MOJO_AURA_CONTEXT_FACTORY_MOJO_H_
-
-#include "mojo/public/cpp/system/core.h"
-#include "ui/compositor/compositor.h"
-
-namespace webkit {
-namespace gpu {
-class ContextProviderInProcess;
-}
-}
-
-namespace mojo {
-
-// The default factory that creates in-process contexts.
-class ContextFactoryMojo : public ui::ContextFactory {
- public:
- explicit ContextFactoryMojo(ScopedMessagePipeHandle command_buffer_handle);
- virtual ~ContextFactoryMojo();
-
- // ContextFactory implementation
- virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(
- ui::Compositor* compositor, bool software_fallback) OVERRIDE;
-
- virtual scoped_refptr<ui::Reflector> CreateReflector(
- ui::Compositor* compositor,
- ui::Layer* layer) OVERRIDE;
- virtual void RemoveReflector(scoped_refptr<ui::Reflector> reflector) OVERRIDE;
-
- virtual scoped_refptr<cc::ContextProvider>
- SharedMainThreadContextProvider() OVERRIDE;
- virtual void RemoveCompositor(ui::Compositor* compositor) OVERRIDE;
- virtual bool DoesCreateTestContexts() OVERRIDE;
- virtual cc::SharedBitmapManager* GetSharedBitmapManager() OVERRIDE;
- virtual base::MessageLoopProxy* GetCompositorMessageLoop() OVERRIDE;
-
- private:
- scoped_refptr<webkit::gpu::ContextProviderInProcess>
- shared_main_thread_contexts_;
-
- ScopedMessagePipeHandle command_buffer_handle_;
-
- DISALLOW_COPY_AND_ASSIGN(ContextFactoryMojo);
-};
-
-} // namespace mojo
-
-#endif // MOJO_AURA_CONTEXT_FACTORY_MOJO_H_