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

Side by Side Diff: ui/compositor/test/in_process_context_factory.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 UI_COMPOSITOR_TEST_IN_PROCESS_CONTEXT_FACTORY_H_ 5 #ifndef UI_COMPOSITOR_TEST_IN_PROCESS_CONTEXT_FACTORY_H_
6 #define UI_COMPOSITOR_TEST_IN_PROCESS_CONTEXT_FACTORY_H_ 6 #define UI_COMPOSITOR_TEST_IN_PROCESS_CONTEXT_FACTORY_H_
7 7
8 #include "ui/compositor/compositor.h" 8 #include "ui/compositor/compositor.h"
9 9
10 namespace webkit { 10 namespace webkit {
(...skipping 16 matching lines...) Expand all
27 27
28 virtual scoped_refptr<Reflector> CreateReflector( 28 virtual scoped_refptr<Reflector> CreateReflector(
29 Compositor* mirrored_compositor, 29 Compositor* mirrored_compositor,
30 Layer* mirroring_layer) OVERRIDE; 30 Layer* mirroring_layer) OVERRIDE;
31 virtual void RemoveReflector(scoped_refptr<Reflector> reflector) OVERRIDE; 31 virtual void RemoveReflector(scoped_refptr<Reflector> reflector) OVERRIDE;
32 32
33 virtual scoped_refptr<cc::ContextProvider> SharedMainThreadContextProvider() 33 virtual scoped_refptr<cc::ContextProvider> SharedMainThreadContextProvider()
34 OVERRIDE; 34 OVERRIDE;
35 virtual void RemoveCompositor(Compositor* compositor) OVERRIDE; 35 virtual void RemoveCompositor(Compositor* compositor) OVERRIDE;
36 virtual bool DoesCreateTestContexts() OVERRIDE; 36 virtual bool DoesCreateTestContexts() OVERRIDE;
37 virtual cc::SharedBitmapManager* GetSharedBitmapManager() OVERRIDE;
37 38
38 private: 39 private:
39 scoped_refptr<webkit::gpu::ContextProviderInProcess> 40 scoped_refptr<webkit::gpu::ContextProviderInProcess>
40 shared_main_thread_contexts_; 41 shared_main_thread_contexts_;
42 scoped_ptr<cc::SharedBitmapManager> shared_bitmap_manager_;
41 43
42 DISALLOW_COPY_AND_ASSIGN(InProcessContextFactory); 44 DISALLOW_COPY_AND_ASSIGN(InProcessContextFactory);
43 }; 45 };
44 46
45 } // namespace ui 47 } // namespace ui
46 48
47 #endif // UI_COMPOSITOR_TEST_IN_PROCESS_CONTEXT_FACTORY_H_ 49 #endif // UI_COMPOSITOR_TEST_IN_PROCESS_CONTEXT_FACTORY_H_
OLDNEW
« no previous file with comments | « ui/compositor/test/context_factories_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