Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1193)

Unified Diff: views/widget/widget_win.cc

Issue 2794001: Notification balloons don't want the WS_EX_LAYOUTRTL style flag, since the di... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: new naming, comment Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« views/widget/widget.h ('K') | « views/widget/widget_gtk.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/widget_win.cc
===================================================================
--- views/widget/widget_win.cc (revision 48671)
+++ views/widget/widget_win.cc (working copy)
@@ -1253,9 +1253,12 @@
// static
Widget* Widget::CreatePopupWidget(TransparencyParam transparent,
EventsParam accept_events,
- DeleteParam delete_on_destroy) {
+ DeleteParam delete_on_destroy,
+ MirroringParam mirror_in_rtl) {
WidgetWin* popup = new WidgetWin;
- DWORD ex_style = WS_EX_TOOLWINDOW | l10n_util::GetExtendedTooltipStyles();
+ DWORD ex_style = WS_EX_TOOLWINDOW;
+ if (mirror_in_rtl == MirrorOriginInRTL)
+ ex_style |= l10n_util::GetExtendedTooltipStyles();
if (transparent == Transparent)
ex_style |= WS_EX_LAYERED;
if (accept_events != AcceptEvents)
« views/widget/widget.h ('K') | « views/widget/widget_gtk.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698