OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "ui/base/platform_window_defaults.h" | |
6 | |
7 namespace ui { | |
8 namespace { | |
9 | |
10 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.
| |
11 | |
12 } // namespace | |
13 | |
14 bool UseTestConfigForPlatformWindows() { | |
15 return g_override_redirect; | |
16 } | |
17 | |
18 namespace test { | |
19 | |
20 void EnableTestConfigForPlatformWindows() { | |
21 g_override_redirect = true; | |
22 } | |
23 | |
24 } // namespace test | |
25 } // namespace ui | |
OLD | NEW |