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

Unified Diff: ui/gfx/test/gfx_test_utils.h

Issue 8395043: Fix up compositor mocking. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Deeper down the rabbit hole. Created 9 years, 2 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/gfx/compositor/compositor_test_support.cc ('k') | ui/gfx/test/gfx_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/test/gfx_test_utils.h
diff --git a/ui/gfx/test/gfx_test_utils.h b/ui/gfx/test/gfx_test_utils.h
new file mode 100644
index 0000000000000000000000000000000000000000..da2b2bec3780d2addea5c66e058f8a6f86cbd1cd
--- /dev/null
+++ b/ui/gfx/test/gfx_test_utils.h
@@ -0,0 +1,19 @@
+// Copyright (c) 2011 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 UI_GFX_GFX_TEST_UTILS_H_
+#define UI_GFX_GFX_TEST_UTILS_H_
+#pragma once
+
+namespace ui {
+namespace gfx_test_utils {
+
+// Called by tests that want to use a mocked compositor.
+// Implementation is no-oped on platforms that don't use a compositor.
+void SetupTestCompositor();
+
+} // namespace gfx_test_utils
+} // namespace ui
+
+#endif // UI_GFX_GFX_TEST_UTILS_H_
« no previous file with comments | « ui/gfx/compositor/compositor_test_support.cc ('k') | ui/gfx/test/gfx_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698