Index: ui/base/platform_window_defaults.cc |
diff --git a/ui/base/platform_window_defaults.cc b/ui/base/platform_window_defaults.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6f87bf7e8b62cf2e02b513a46af23ab593b4fc61 |
--- /dev/null |
+++ b/ui/base/platform_window_defaults.cc |
@@ -0,0 +1,25 @@ |
+// Copyright 2017 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. |
+ |
+#include "ui/base/platform_window_defaults.h" |
+ |
+namespace ui { |
+namespace { |
+ |
+bool g_use_test_config = false; |
+ |
+} // namespace |
+ |
+bool UseTestConfigForPlatformWindows() { |
+ return g_use_test_config; |
+} |
+ |
+namespace test { |
+ |
+void EnableTestConfigForPlatformWindows() { |
+ g_use_test_config = true; |
+} |
+ |
+} // namespace test |
+} // namespace ui |