Chromium Code Reviews| Index: ui/base/x/x11_util.h |
| diff --git a/ui/base/x/x11_util.h b/ui/base/x/x11_util.h |
| index 29fba7c6672376465058edd5eb356151858250b8..6c87e732d7820d8907ccfe251c2abd5af5819610 100644 |
| --- a/ui/base/x/x11_util.h |
| +++ b/ui/base/x/x11_util.h |
| @@ -228,6 +228,13 @@ UI_EXPORT void SetDefaultX11ErrorHandlers(); |
| // Return true if a given window is in full-screen mode. |
| UI_EXPORT bool IsX11WindowFullScreen(XID window); |
| +// Returns the mapped button. |
| +int GetMappedButton(int button); |
|
sadrul
2011/12/07 17:06:52
This is deliberately not exported since it's not u
|
| + |
| +// Updates button mapping. This is usually called when a MappingNotify event is |
| +// received. |
| +UI_EXPORT void UpdateButtonMap(); |
| + |
| } // namespace ui |
| #endif // UI_BASE_X_X11_UTIL_H_ |