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

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

Issue 2683033006: Move SetUseOverrideRedirectWindowByDefault() to //ui/base. (Closed)
Patch Set: Rename files. 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
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;
11
12 } // namespace
13
14 bool GetUseOverrideRedirectWindowByDefault() {
15 return g_override_redirect;
16 }
17
18 namespace test {
19
20 void SetUseOverrideRedirectWindowByDefault(bool override_redirect) {
21 g_override_redirect = override_redirect;
22 }
23
24 } // namespace test
25 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698