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

Unified Diff: ui/base/platform_window_defaults.cc

Issue 2683033006: Move SetUseOverrideRedirectWindowByDefault() to //ui/base. (Closed)
Patch Set: g_use_test_config. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/platform_window_defaults.h ('k') | ui/gl/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« 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