summaryrefslogtreecommitdiffstats
path: root/views/examples
diff options
context:
space:
mode:
authorjohnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-14 20:46:52 +0000
committerjohnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-14 20:46:52 +0000
commit4245ae4e0766915f2e5ef8f1ba411089bc261ba2 (patch)
tree5b103ce72ad7a5bc03ff742e91a057efd8bd84e7 /views/examples
parentd49099c62c66e972dd4dee81aa0d7eb47096dc1c (diff)
downloadchromium_src-4245ae4e0766915f2e5ef8f1ba411089bc261ba2.zip
chromium_src-4245ae4e0766915f2e5ef8f1ba411089bc261ba2.tar.gz
chromium_src-4245ae4e0766915f2e5ef8f1ba411089bc261ba2.tar.bz2
Notification balloons don't want the WS_EX_LAYOUTRTL style flag, since the directionality of the content is specified already inside the HTML.
BUG=46170 TEST=create a notification while using an RTL language for Chrome UI. Review URL: http://codereview.chromium.org/2794001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49723 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/examples')
-rw-r--r--views/examples/widget_example.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/views/examples/widget_example.h b/views/examples/widget_example.h
index 1897b53..4fff3e2 100644
--- a/views/examples/widget_example.h
+++ b/views/examples/widget_example.h
@@ -144,7 +144,8 @@ class WidgetExample : public ExampleBase, public views::ButtonListener {
const Widget::TransparencyParam transparency) {
Widget* widget = Widget::CreatePopupWidget(transparency,
Widget::AcceptEvents,
- Widget::DeleteOnDestroy);
+ Widget::DeleteOnDestroy,
+ Widget::MirrorOriginInRTL);
// Compute where to place the popup widget.
// We'll place it right below the create button.
gfx::Point point = parent->GetPosition();