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..933ae941f3d47ea548792b7f557dcf93a1a7fd8a |
--- /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_override_redirect = false; |
sadrul
2017/02/10 20:44:42
g_use_test_config!
kylechar
2017/02/10 21:15:29
Thanks, totally missed that.
|
+ |
+} // namespace |
+ |
+bool UseTestConfigForPlatformWindows() { |
+ return g_override_redirect; |
+} |
+ |
+namespace test { |
+ |
+void EnableTestConfigForPlatformWindows() { |
+ g_override_redirect = true; |
+} |
+ |
+} // namespace test |
+} // namespace ui |