Hi, nakro --

have you tried

  if (l10n_util::GetTextDirection() == l10n_util::RIGHT_TO_LEFT)

?

On May 28, 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to