| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef UI_BASE_X_X11_UTIL_H_ | 5 #ifndef UI_BASE_X_X11_UTIL_H_ |
| 6 #define UI_BASE_X_X11_UTIL_H_ | 6 #define UI_BASE_X_X11_UTIL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 // This file declares utility functions for X11 (Linux only). | 9 // This file declares utility functions for X11 (Linux only). |
| 10 // | 10 // |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 UI_EXPORT bool ChangeWindowDesktop(XID window, XID destination); | 203 UI_EXPORT bool ChangeWindowDesktop(XID window, XID destination); |
| 204 | 204 |
| 205 // Enable the default X error handlers. These will log the error and abort | 205 // Enable the default X error handlers. These will log the error and abort |
| 206 // the process if called. Use SetX11ErrorHandlers() from x11_util_internal.h | 206 // the process if called. Use SetX11ErrorHandlers() from x11_util_internal.h |
| 207 // to set your own error handlers. | 207 // to set your own error handlers. |
| 208 UI_EXPORT void SetDefaultX11ErrorHandlers(); | 208 UI_EXPORT void SetDefaultX11ErrorHandlers(); |
| 209 | 209 |
| 210 // Return true if a given window is in full-screen mode. | 210 // Return true if a given window is in full-screen mode. |
| 211 UI_EXPORT bool IsX11WindowFullScreen(XID window); | 211 UI_EXPORT bool IsX11WindowFullScreen(XID window); |
| 212 | 212 |
| 213 UI_EXPORT Atom GetAtomForScreenProperty(const char* atom_name); |
| 214 |
| 213 } // namespace ui | 215 } // namespace ui |
| 214 | 216 |
| 215 #endif // UI_BASE_X_X11_UTIL_H_ | 217 #endif // UI_BASE_X_X11_UTIL_H_ |
| OLD | NEW |