#ifndef CHROME_COMMON_L10N_UTIL_WIN_H_ #define CHROME_COMMON_L10N_UTIL_WIN_H_ #include namespace l10n_util { // Returns the locale-dependent extended window styles. // This function is used for adding locale-dependent extended window styles // (e.g. WS_EX_LAYOUTRTL, WS_EX_RTLREADING, etc.) when creating a window. // Callers should OR this value into their extended style value when creating // a window. int GetExtendedStyles(); // TODO(xji): // This is a temporary name, it will eventually replace GetExtendedStyles int GetExtendedTooltipStyles(); // Give an HWND, this function sets the WS_EX_LAYOUTRTL extended style for the // underlying window. When this style is set, the UI for the window is going to // be mirrored. This is generally done for the UI of right-to-left languages // such as Hebrew. void HWNDSetRTLLayout(HWND hwnd); } // namespace l10n_util #endif // CHROME_COMMON_L10N_UTIL_WIN_H_