Index: ui/base/x/x11_util.h |
diff --git a/ui/base/x/x11_util.h b/ui/base/x/x11_util.h |
index e80d6cb8c875871f3e6a7c79ad6e0a9f3c567f41..a349fdaa91ddb6a1500cac672c8c1b667a87b0b6 100644 |
--- a/ui/base/x/x11_util.h |
+++ b/ui/base/x/x11_util.h |
@@ -179,7 +179,7 @@ UI_BASE_EXPORT bool SetStringProperty(XID window, |
const std::string& value); |
// Gets the X atom for default display corresponding to atom_name. |
-Atom GetAtom(const char* atom_name); |
+UI_BASE_EXPORT Atom GetAtom(const char* atom_name); |
// Sets the WM_CLASS attribute for a given X11 window. |
UI_BASE_EXPORT void SetWindowClassHint(XDisplay* display, |
@@ -262,9 +262,12 @@ UI_BASE_EXPORT WindowManagerName GuessWindowManager(); |
// to set your own error handlers. |
UI_BASE_EXPORT void SetDefaultX11ErrorHandlers(); |
-// Return true if a given window is in full-screen mode. |
+// Returns true if a given window is in full-screen mode. |
UI_BASE_EXPORT bool IsX11WindowFullScreen(XID window); |
+// Returns true if the window manager supports the given hint. |
+UI_BASE_EXPORT bool WmSupportsHint(Atom atom); |
+ |
// Manages a piece of X11 allocated memory as a RefCountedMemory segment. This |
// object takes ownership over the passed in memory and will free it with the |
// X11 allocator when done. |