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

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

Issue 1984403002: Revert of Reland: mus: Add views_mus_interactive_ui_tests target (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/test/platform_test_helper.h ('k') | ui/views/test/scoped_views_test_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/test/platform_test_helper.cc
diff --git a/ui/views/test/platform_test_helper.cc b/ui/views/test/platform_test_helper.cc
index 1d309ee25931b11829d15dacd8a0ca940a59056c..a415ff9ae860f1f5bca9635d2da8ac8a971a4507 100644
--- a/ui/views/test/platform_test_helper.cc
+++ b/ui/views/test/platform_test_helper.cc
@@ -17,12 +17,13 @@
~DefaultPlatformTestHelper() override {}
+ bool IsMus() const override { return false; }
+
private:
DISALLOW_COPY_AND_ASSIGN(DefaultPlatformTestHelper);
};
PlatformTestHelper::Factory test_helper_factory;
-bool is_mus = false;
} // namespace
@@ -38,14 +39,4 @@
: base::WrapUnique(new DefaultPlatformTestHelper);
}
-// static
-void PlatformTestHelper::SetIsMus() {
- is_mus = true;
-}
-
-// static
-bool PlatformTestHelper::IsMus() {
- return is_mus;
-}
-
} // namespace views
« no previous file with comments | « ui/views/test/platform_test_helper.h ('k') | ui/views/test/scoped_views_test_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698