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

Unified Diff: ui/base/x/x11_util.h

Issue 264713007: Add unittests for X11TopmostWindowFinder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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
Index: ui/base/x/x11_util.h
diff --git a/ui/base/x/x11_util.h b/ui/base/x/x11_util.h
index e9af790902a7c23a633e974a15be742092623dc7..3ccdce0a5a1f3c2bddb7b359132fcaebc4b6cc68 100644
--- a/ui/base/x/x11_util.h
+++ b/ui/base/x/x11_util.h
@@ -94,8 +94,14 @@ UI_BASE_EXPORT void HideHostCursor();
// Returns an invisible cursor.
UI_BASE_EXPORT ::Cursor CreateInvisibleCursor();
+// Sets whether |window| should use the OS window frame.
+UI_BASE_EXPORT void SetUseOSWindowFrame(XID window, bool use_os_borders);
+
// These functions do not cache their results --------------------------
+// Returns true if the shape extension is supported.
+UI_BASE_EXPORT bool IsShapeExtensionAvailable();
+
// Get the X window id for the default root window
UI_BASE_EXPORT XID GetX11RootWindow();
@@ -167,6 +173,10 @@ UI_BASE_EXPORT bool SetIntArrayProperty(XID window,
const std::string& name,
const std::string& type,
const std::vector<int>& value);
+UI_BASE_EXPORT bool SetAtomProperty(XID window,
+ const std::string& name,
+ const std::string& type,
+ Atom value);
UI_BASE_EXPORT bool SetAtomArrayProperty(XID window,
const std::string& name,
const std::string& type,

Powered by Google App Engine
This is Rietveld 408576698