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

Unified Diff: ui/compositor/test/context_factories_for_test.h

Issue 2563783002: ui + mus: Split ContextFactory into ContextFactory(Client) and ContextFactoryPrivate (Closed)
Patch Set: Restore mash Created 4 years 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/compositor/layer_unittest.cc ('k') | ui/compositor/test/context_factories_for_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/test/context_factories_for_test.h
diff --git a/ui/compositor/test/context_factories_for_test.h b/ui/compositor/test/context_factories_for_test.h
index e54d20639d24d6fc0a753569b5a42a432fafcbeb..ca9d098092afac775f603afc2d2b7ce5efde4136 100644
--- a/ui/compositor/test/context_factories_for_test.h
+++ b/ui/compositor/test/context_factories_for_test.h
@@ -5,6 +5,7 @@
namespace ui {
class ContextFactory;
+class ContextFactoryPrivate;
// Set up the compositor ContextFactory for a test environment. Unit tests
// that do not have a full content environment need to call this before
@@ -14,7 +15,11 @@ class ContextFactory;
// called, the caller must call TerminateContextFactoryForTests() to clean up.
// TODO(sky): this should return a scoped_ptr and then nuke
// TerminateContextFactoryForTests().
-ui::ContextFactory* InitializeContextFactoryForTests(bool enable_pixel_output);
+void InitializeContextFactoryForTests(
+ bool enable_pixel_output,
+ ui::ContextFactory** context_factory,
+ ui::ContextFactoryPrivate** context_factory_private);
+
void TerminateContextFactoryForTests();
} // namespace ui
« no previous file with comments | « ui/compositor/layer_unittest.cc ('k') | ui/compositor/test/context_factories_for_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698