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

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

Issue 320713004: Update panel layout immediately after the user has finished resizing a panel. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 // |last_event|. 86 // |last_event|.
87 UI_BASE_EXPORT int CoalescePendingMotionEvents(const XEvent* xev, 87 UI_BASE_EXPORT int CoalescePendingMotionEvents(const XEvent* xev,
88 XEvent* last_event); 88 XEvent* last_event);
89 89
90 // Hides the host cursor. 90 // Hides the host cursor.
91 UI_BASE_EXPORT void HideHostCursor(); 91 UI_BASE_EXPORT void HideHostCursor();
92 92
93 // Returns an invisible cursor. 93 // Returns an invisible cursor.
94 UI_BASE_EXPORT ::Cursor CreateInvisibleCursor(); 94 UI_BASE_EXPORT ::Cursor CreateInvisibleCursor();
95 95
96 // Sets whether |window| should use the OS window frame.
97 UI_BASE_EXPORT void SetUseOSWindowFrame(XID window, bool use_os_window_frame);
98
96 // These functions do not cache their results -------------------------- 99 // These functions do not cache their results --------------------------
97 100
98 // Returns true if the shape extension is supported. 101 // Returns true if the shape extension is supported.
99 UI_BASE_EXPORT bool IsShapeExtensionAvailable(); 102 UI_BASE_EXPORT bool IsShapeExtensionAvailable();
100 103
101 // Get the X window id for the default root window 104 // Get the X window id for the default root window
102 UI_BASE_EXPORT XID GetX11RootWindow(); 105 UI_BASE_EXPORT XID GetX11RootWindow();
103 106
104 // Returns the user's current desktop. 107 // Returns the user's current desktop.
105 UI_BASE_EXPORT bool GetCurrentDesktop(int* desktop); 108 UI_BASE_EXPORT bool GetCurrentDesktop(int* desktop);
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 UI_BASE_EXPORT void ResetXCursorCache(); 350 UI_BASE_EXPORT void ResetXCursorCache();
348 351
349 // Returns the cached XcursorImage for |cursor|. 352 // Returns the cached XcursorImage for |cursor|.
350 UI_BASE_EXPORT const XcursorImage* GetCachedXcursorImage(::Cursor cursor); 353 UI_BASE_EXPORT const XcursorImage* GetCachedXcursorImage(::Cursor cursor);
351 354
352 } // namespace test 355 } // namespace test
353 356
354 } // namespace ui 357 } // namespace ui
355 358
356 #endif // UI_BASE_X_X11_UTIL_H_ 359 #endif // UI_BASE_X_X11_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | ui/base/x/x11_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698