diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-06 21:34:44 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-06 21:34:44 +0000 |
commit | a92b2d393e4e751f25d2b03c7140fde1af8c56c4 (patch) | |
tree | 3110acca212c5387d4e0965d371c7a3c207c6871 /views | |
parent | 14b1156207edd1cc99388e76fd6171d2bb941191 (diff) | |
download | chromium_src-a92b2d393e4e751f25d2b03c7140fde1af8c56c4.zip chromium_src-a92b2d393e4e751f25d2b03c7140fde1af8c56c4.tar.gz chromium_src-a92b2d393e4e751f25d2b03c7140fde1af8c56c4.tar.bz2 |
RTL window styles was being set on too many HWNDs. This inverts the default. There may be cases where the window styles are necessary however. Those I do not know and am going to rely on RTL QA to tell me about.
http://crbug.com/77166
TEST=start chrome with --lang=he, content area should render and not be inverted, wrench menu should not be inverted. This change may cause some HWNDs to be incorrectly not flipped. Please let me know about those cases.
Review URL: http://codereview.chromium.org/6804027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80701 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r-- | views/widget/widget.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/widget/widget.cc b/views/widget/widget.cc index e8af806..6a3eb04 100644 --- a/views/widget/widget.cc +++ b/views/widget/widget.cc @@ -26,7 +26,7 @@ Widget::CreateParams::CreateParams() can_activate(true), keep_on_top(false), delete_on_destroy(true), - mirror_origin_in_rtl(true), + mirror_origin_in_rtl(false), has_dropshadow(false), native_widget(NULL) { } @@ -39,7 +39,7 @@ Widget::CreateParams::CreateParams(Type type) can_activate(type != TYPE_POPUP && type != TYPE_MENU), keep_on_top(type == TYPE_MENU), delete_on_destroy(true), - mirror_origin_in_rtl(true), + mirror_origin_in_rtl(false), has_dropshadow(false), native_widget(NULL) { } |