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

Unified Diff: ui/gfx/compositor/compositor.h

Issue 9288053: Remove old (pre-webkit) compositor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 8 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/aura/test/test_suite.cc ('k') | ui/gfx/compositor/compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/compositor/compositor.h
diff --git a/ui/gfx/compositor/compositor.h b/ui/gfx/compositor/compositor.h
index 5068946eef4829560347ac1c0eb254bb95536aeb..226adfdad3b16d64ec027a52fad3eb751ccf2c87 100644
--- a/ui/gfx/compositor/compositor.h
+++ b/ui/gfx/compositor/compositor.h
@@ -159,16 +159,6 @@ class COMPOSITOR_EXPORT Compositor : public base::RefCounted<Compositor> {
void RemoveObserver(CompositorObserver* observer);
bool HasObserver(CompositorObserver* observer);
- static void set_compositor_factory_for_testing(
- ui::Compositor*(*factory)(ui::CompositorDelegate* owner)) {
- compositor_factory_ = factory;
- }
-
- static ui::Compositor* (*compositor_factory())(
- ui::CompositorDelegate* owner) {
- return compositor_factory_;
- }
-
protected:
Compositor(CompositorDelegate* delegate, const gfx::Size& size);
virtual ~Compositor();
@@ -207,12 +197,6 @@ class COMPOSITOR_EXPORT Compositor : public base::RefCounted<Compositor> {
ObserverList<CompositorObserver> observer_list_;
- // Factory used to create Compositors. Settable by tests.
- // The delegate can be NULL if you don't wish to catch the ScheduleDraw()
- // calls to it.
- static ui::Compositor*(*compositor_factory_)(
- ui::CompositorDelegate* delegate);
-
friend class base::RefCounted<Compositor>;
};
« no previous file with comments | « ui/aura/test/test_suite.cc ('k') | ui/gfx/compositor/compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698