| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
| 8 // This file declares utility functions for X11 (Linux only). | 8 // This file declares utility functions for X11 (Linux only). |
| 9 // | 9 // |
| 10 // These functions do not require the Xlib headers to be included (which is why | 10 // These functions do not require the Xlib headers to be included (which is why |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 WM_KWIN, | 257 WM_KWIN, |
| 258 WM_MATCHBOX, | 258 WM_MATCHBOX, |
| 259 WM_METACITY, | 259 WM_METACITY, |
| 260 WM_MUFFIN, | 260 WM_MUFFIN, |
| 261 WM_MUTTER, | 261 WM_MUTTER, |
| 262 WM_NOTION, | 262 WM_NOTION, |
| 263 WM_OPENBOX, | 263 WM_OPENBOX, |
| 264 WM_QTILE, | 264 WM_QTILE, |
| 265 WM_RATPOISON, | 265 WM_RATPOISON, |
| 266 WM_STUMPWM, | 266 WM_STUMPWM, |
| 267 WM_WMII, |
| 267 WM_XFWM4, | 268 WM_XFWM4, |
| 268 }; | 269 }; |
| 269 // Attempts to guess the window maager. Returns WM_UNKNOWN if we can't | 270 // Attempts to guess the window maager. Returns WM_UNKNOWN if we can't |
| 270 // determine it for one reason or another. | 271 // determine it for one reason or another. |
| 271 UI_BASE_EXPORT WindowManagerName GuessWindowManager(); | 272 UI_BASE_EXPORT WindowManagerName GuessWindowManager(); |
| 272 | 273 |
| 273 // The same as GuessWindowManager(), but returns the raw string. If we | 274 // The same as GuessWindowManager(), but returns the raw string. If we |
| 274 // can't determine it, return "Unknown". | 275 // can't determine it, return "Unknown". |
| 275 UI_BASE_EXPORT std::string GuessWindowManagerName(); | 276 UI_BASE_EXPORT std::string GuessWindowManagerName(); |
| 276 | 277 |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 UI_BASE_EXPORT void ResetXCursorCache(); | 365 UI_BASE_EXPORT void ResetXCursorCache(); |
| 365 | 366 |
| 366 // Returns the cached XcursorImage for |cursor|. | 367 // Returns the cached XcursorImage for |cursor|. |
| 367 UI_BASE_EXPORT const XcursorImage* GetCachedXcursorImage(::Cursor cursor); | 368 UI_BASE_EXPORT const XcursorImage* GetCachedXcursorImage(::Cursor cursor); |
| 368 | 369 |
| 369 } // namespace test | 370 } // namespace test |
| 370 | 371 |
| 371 } // namespace ui | 372 } // namespace ui |
| 372 | 373 |
| 373 #endif // UI_BASE_X_X11_UTIL_H_ | 374 #endif // UI_BASE_X_X11_UTIL_H_ |
| OLD | NEW |