| Index: chrome/views/native_control.cc
|
| ===================================================================
|
| --- chrome/views/native_control.cc (revision 8587)
|
| +++ chrome/views/native_control.cc (working copy)
|
| @@ -340,6 +340,17 @@
|
| return ex_style;
|
| }
|
|
|
| +DWORD NativeControl::GetAdditionalRTLStyle() const {
|
| + // If the UI for the view is mirrored, we should make sure we add the
|
| + // extended window style for a right-to-left layout so the subclass creates
|
| + // a mirrored HWND for the underlying control.
|
| + DWORD ex_style = 0;
|
| + if (UILayoutIsRightToLeft())
|
| + ex_style |= l10n_util::GetExtendedTooltipStyles();
|
| +
|
| + return ex_style;
|
| +}
|
| +
|
| // static
|
| LRESULT CALLBACK NativeControl::NativeControlWndProc(HWND window, UINT message,
|
| WPARAM w_param,
|
|
|