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

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

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
« no previous file with comments | « ui/base/BUILD.gn ('k') | ui/base/platform_window_defaults.cc » ('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 #ifndef UI_BASE_PLATFORM_WINDOW_DEFAULTS_H_
6 #define UI_BASE_PLATFORM_WINDOW_DEFAULTS_H_
7
8 #include "ui/base/ui_base_export.h"
9
10 namespace ui {
11
12 // Gets the |override_redirect| flag used when creating an X11 window.
13 UI_BASE_EXPORT bool GetUseOverrideRedirectWindowByDefault();
14
15 namespace test {
16
17 // Sets the value of the |override_redirect| flag when creating an X11 window.
18 // It is necessary to set this flag on for various tests, otherwise the call to
19 // Show() blocks because it never receives the MapNotify event. It is unclear
20 // why this is necessary, but might be related to calls to XInitThreads().
21 //
22 // This can be called safely on all platforms. For non-X11 platforms it will
23 // have no effect.
24 UI_BASE_EXPORT void SetUseOverrideRedirectWindowByDefault(
sadrul 2017/02/09 21:49:35 Maybe call this something different? like EnableTe
kylechar 2017/02/10 15:31:03 Done.
25 bool override_redirect);
26
27 } // namespace test
28 } // namespace ui
29
30 #endif // UI_BASE_PLATFORM_WINDOW_DEFAULTS_H_
OLDNEW
« no previous file with comments | « ui/base/BUILD.gn ('k') | ui/base/platform_window_defaults.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698