Or perhaps View::UILayoutIsRightToLeft() would be a better fit. On Thu, May 28, 2009 at 12:16 PM, Jeremy Moskovich <[email protected]>wrote:
> xji or idana will correct me if I'm wrong here. > But I think what you want is: > > l10n_util::GetTextDirection() == l10n_util::RIGHT_TO_LEFT > > Best regards, > Jeremy > > On Thu, May 28, 2009 at 1:56 AM, nakro <[email protected]> wrote: > >> >> Hi all, i am right now trying to make the UI_Tests to pass on hebrew >> enabled windows >> >> i am currently stuck with this problem : >> how can i tell if the browser is using a RTL interface ? >> >> the HWND of it does not specify it (the Ex style is still LTR) >> and to hack the command line of the renderers seems ugly (the -- >> lang=he) >> (not to mention there is no getppid() so it will not be reliable) >> >> in short, which API need i call for this ? >> and if it is cross platform the better... >> >> thanx.... >> >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
