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

Unified Diff: ui/platform_window/x11/x11_window_base.h

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/platform_window/x11/DEPS ('k') | ui/platform_window/x11/x11_window_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/platform_window/x11/x11_window_base.h
diff --git a/ui/platform_window/x11/x11_window_base.h b/ui/platform_window/x11/x11_window_base.h
index 9e7e17be1a735afad4d1634ea3e3abb9e95e8bcd..b944d296cade1224caaa2015790ada61922fcdc4 100644
--- a/ui/platform_window/x11/x11_window_base.h
+++ b/ui/platform_window/x11/x11_window_base.h
@@ -79,19 +79,6 @@ class X11_WINDOW_EXPORT X11WindowBase : public PlatformWindow {
DISALLOW_COPY_AND_ASSIGN(X11WindowBase);
};
-namespace test {
-
-// Sets the value of the |override_redirect| flag when creating an X11 window.
-// It is necessary to set this flag on for various tests, otherwise the call to
-// X11WindowBase::Show() blocks because it never receives the MapNotify event.
-// It is
-// unclear why this is necessary, but might be related to calls to
-// XInitThreads().
-X11_WINDOW_EXPORT void SetUseOverrideRedirectWindowByDefault(
- bool override_redirect);
-
-} // namespace test
-
} // namespace ui
#endif // UI_PLATFORM_WINDOW_X11_X11_WINDOW_BASE_H_
« no previous file with comments | « ui/platform_window/x11/DEPS ('k') | ui/platform_window/x11/x11_window_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698