| Index: ui/base/x/x11_util.h
|
| ===================================================================
|
| --- ui/base/x/x11_util.h (revision 72012)
|
| +++ ui/base/x/x11_util.h (working copy)
|
| @@ -17,6 +17,7 @@
|
|
|
| #include "base/basictypes.h"
|
|
|
| +typedef unsigned long Atom;
|
| typedef struct _GdkDrawable GdkWindow;
|
| typedef struct _GtkWidget GtkWidget;
|
| typedef struct _GtkWindow GtkWindow;
|
| @@ -76,11 +77,15 @@
|
| bool IsWindowVisible(XID window);
|
| // Returns the bounds of |window|.
|
| bool GetWindowRect(XID window, gfx::Rect* rect);
|
| -// Get the value of an int, int array, or string property. On
|
| +// Return true if |window| has any property with |property_name|.
|
| +bool PropertyExists(XID window, const std::string& property_name);
|
| +// Get the value of an int, int array, atom array or string property. On
|
| // success, true is returned and the value is stored in |value|.
|
| bool GetIntProperty(XID window, const std::string& property_name, int* value);
|
| bool GetIntArrayProperty(XID window, const std::string& property_name,
|
| std::vector<int>* value);
|
| +bool GetAtomArrayProperty(XID window, const std::string& property_name,
|
| + std::vector<Atom>* value);
|
| bool GetStringProperty(
|
| XID window, const std::string& property_name, std::string* value);
|
|
|
| @@ -178,6 +183,9 @@
|
| // to set your own error handlers.
|
| void SetDefaultX11ErrorHandlers();
|
|
|
| +// Return true if a given window is in full-screen mode.
|
| +bool IsX11WindowFullScreen(XID window);
|
| +
|
| } // namespace ui
|
|
|
| #endif // UI_BASE_X_X11_UTIL_H_
|
|
|