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

Side by Side Diff: mojo/aura/context_factory_mojo.h

Issue 271843002: Remove SharedBitmapManager global in ui/compositor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mojo Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MOJO_AURA_CONTEXT_FACTORY_MOJO_H_ 5 #ifndef MOJO_AURA_CONTEXT_FACTORY_MOJO_H_
6 #define MOJO_AURA_CONTEXT_FACTORY_MOJO_H_ 6 #define MOJO_AURA_CONTEXT_FACTORY_MOJO_H_
7 7
8 #include "mojo/public/cpp/system/core.h" 8 #include "mojo/public/cpp/system/core.h"
9 #include "ui/compositor/compositor.h" 9 #include "ui/compositor/compositor.h"
10 10
(...skipping 17 matching lines...) Expand all
28 28
29 virtual scoped_refptr<ui::Reflector> CreateReflector( 29 virtual scoped_refptr<ui::Reflector> CreateReflector(
30 ui::Compositor* compositor, 30 ui::Compositor* compositor,
31 ui::Layer* layer) OVERRIDE; 31 ui::Layer* layer) OVERRIDE;
32 virtual void RemoveReflector(scoped_refptr<ui::Reflector> reflector) OVERRIDE; 32 virtual void RemoveReflector(scoped_refptr<ui::Reflector> reflector) OVERRIDE;
33 33
34 virtual scoped_refptr<cc::ContextProvider> 34 virtual scoped_refptr<cc::ContextProvider>
35 SharedMainThreadContextProvider() OVERRIDE; 35 SharedMainThreadContextProvider() OVERRIDE;
36 virtual void RemoveCompositor(ui::Compositor* compositor) OVERRIDE; 36 virtual void RemoveCompositor(ui::Compositor* compositor) OVERRIDE;
37 virtual bool DoesCreateTestContexts() OVERRIDE; 37 virtual bool DoesCreateTestContexts() OVERRIDE;
38 virtual cc::SharedBitmapManager* GetSharedBitmapManager() OVERRIDE;
38 39
39 private: 40 private:
40 scoped_refptr<webkit::gpu::ContextProviderInProcess> 41 scoped_refptr<webkit::gpu::ContextProviderInProcess>
41 shared_main_thread_contexts_; 42 shared_main_thread_contexts_;
42 43
43 ScopedMessagePipeHandle gles2_handle_; 44 ScopedMessagePipeHandle gles2_handle_;
44 45
45 DISALLOW_COPY_AND_ASSIGN(ContextFactoryMojo); 46 DISALLOW_COPY_AND_ASSIGN(ContextFactoryMojo);
46 }; 47 };
47 48
48 } // namespace mojo 49 } // namespace mojo
49 50
50 #endif // MOJO_AURA_CONTEXT_FACTORY_MOJO_H_ 51 #endif // MOJO_AURA_CONTEXT_FACTORY_MOJO_H_
OLDNEW
« no previous file with comments | « content/browser/compositor/no_transport_image_transport_factory.cc ('k') | mojo/aura/context_factory_mojo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698