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

Side by Side Diff: ui/base/x/x11_util.h

Issue 854713003: More old files deletion. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fix tryjobs? Created 5 years, 11 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/win/dpi_setup.cc ('k') | ui/base/x/x11_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 int max_depth); 236 int max_depth);
237 237
238 // Enumerates the top-level windows of the current display. 238 // Enumerates the top-level windows of the current display.
239 UI_BASE_EXPORT void EnumerateTopLevelWindows( 239 UI_BASE_EXPORT void EnumerateTopLevelWindows(
240 ui::EnumerateWindowsDelegate* delegate); 240 ui::EnumerateWindowsDelegate* delegate);
241 241
242 // Returns all children windows of a given window in top-to-bottom stacking 242 // Returns all children windows of a given window in top-to-bottom stacking
243 // order. 243 // order.
244 UI_BASE_EXPORT bool GetXWindowStack(XID window, std::vector<XID>* windows); 244 UI_BASE_EXPORT bool GetXWindowStack(XID window, std::vector<XID>* windows);
245 245
246 // Copies |source_bounds| from |drawable| to |canvas| at offset |dest_offset|.
247 // |source_bounds| is in physical pixels, while |dest_offset| is relative to
248 // the canvas's scale. Note that this function is slow since it uses
249 // XGetImage() to copy the data from the X server to this process before
250 // copying it to |canvas|.
251 UI_BASE_EXPORT bool CopyAreaToCanvas(XID drawable,
252 gfx::Rect source_bounds,
253 gfx::Point dest_offset,
254 gfx::Canvas* canvas);
255
256 enum WindowManagerName { 246 enum WindowManagerName {
257 WM_UNKNOWN, 247 WM_UNKNOWN,
258 248
259 WM_AWESOME, 249 WM_AWESOME,
260 WM_BLACKBOX, 250 WM_BLACKBOX,
261 WM_COMPIZ, 251 WM_COMPIZ,
262 WM_ENLIGHTENMENT, 252 WM_ENLIGHTENMENT,
263 WM_I3, 253 WM_I3,
264 WM_ICE_WM, 254 WM_ICE_WM,
265 WM_ION3, 255 WM_ION3,
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 UI_BASE_EXPORT void ResetXCursorCache(); 364 UI_BASE_EXPORT void ResetXCursorCache();
375 365
376 // Returns the cached XcursorImage for |cursor|. 366 // Returns the cached XcursorImage for |cursor|.
377 UI_BASE_EXPORT const XcursorImage* GetCachedXcursorImage(::Cursor cursor); 367 UI_BASE_EXPORT const XcursorImage* GetCachedXcursorImage(::Cursor cursor);
378 368
379 } // namespace test 369 } // namespace test
380 370
381 } // namespace ui 371 } // namespace ui
382 372
383 #endif // UI_BASE_X_X11_UTIL_H_ 373 #endif // UI_BASE_X_X11_UTIL_H_
OLDNEW
« no previous file with comments | « ui/base/win/dpi_setup.cc ('k') | ui/base/x/x11_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698