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

Side by Side Diff: ui/base/platform_window_defaults.cc

Issue 2683033006: Move SetUseOverrideRedirectWindowByDefault() to //ui/base. (Closed)
Patch Set: Rename again. Created 3 years, 10 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 unified diff | Download patch
« no previous file with comments | « ui/base/platform_window_defaults.h ('k') | ui/gl/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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
OLDNEW
« no previous file with comments | « ui/base/platform_window_defaults.h ('k') | ui/gl/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698