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, |