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

Unified Diff: views/widget/widget.h

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
Index: views/widget/widget.h
===================================================================
--- views/widget/widget.h (revision 48671)
+++ views/widget/widget.h (working copy)
@@ -64,10 +64,20 @@
NotDeleteOnDestroy
};
+ enum MirroringParam {
+ MirrorOriginInRTL,
+ DontMirrorOriginInRTL
+ };
+
// Creates a transient popup widget specific to the current platform.
+ // If |mirror_in_rtl| is set to MirrorOriginInRTL, the contents of the
+ // popup will be mirrored if the current locale is RTL. You should use
jeremy 2010/06/10 20:58:58 "the contents of the popup will be mirrored" -> Th
+ // DontMirrorOriginInRTL if you are aleady handling the RTL layout within
+ // the widget.
static Widget* CreatePopupWidget(TransparencyParam transparent,
EventsParam accept_events,
- DeleteParam delete_on_destroy);
+ DeleteParam delete_on_destroy,
+ MirroringParam mirror_in_rtl);
idana 2010/06/16 13:46:16 Since almost all the call sites use MirrorOriginIn
// Returns the root view for |native_window|. If |native_window| does not have
// a rootview, this recurses through all of |native_window|'s children until

Powered by Google App Engine
This is Rietveld 408576698