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

Unified Diff: ui/views/test/platform_test_helper.h

Issue 2471033005: Adds DesktopWindowTreeHostMus (Closed)
Patch Set: fix Created 4 years, 1 month 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
Index: ui/views/test/platform_test_helper.h
diff --git a/ui/views/test/platform_test_helper.h b/ui/views/test/platform_test_helper.h
index 236446afac0b10aa93313824b918fc667f7c9b2f..ada95a28cf07a460a8c62d68a94a45df0ddc07ed 100644
--- a/ui/views/test/platform_test_helper.h
+++ b/ui/views/test/platform_test_helper.h
@@ -12,6 +12,8 @@
namespace views {
+class ViewsTestHelper;
+
class PlatformTestHelper {
public:
using Factory = base::Callback<std::unique_ptr<PlatformTestHelper>(void)>;
@@ -26,6 +28,10 @@ class PlatformTestHelper {
static void SetIsMus();
static bool IsMus();
+ // Called once the ViewsTestHelper has been created, but before SetUp() is
+ // called.
+ virtual void OnTestHelperCreated(ViewsTestHelper* helper) {}
+
private:
DISALLOW_COPY_AND_ASSIGN(PlatformTestHelper);
};

Powered by Google App Engine
This is Rietveld 408576698