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

Unified Diff: ui/views/style/platform_style.h

Issue 2532613002: MacViews: fix bubble direction in RTL. (Closed)
Patch Set: Use the advice in buildflag.h? Created 4 years, 1 month 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: ui/views/style/platform_style.h
diff --git a/ui/views/style/platform_style.h b/ui/views/style/platform_style.h
index 67c7ae0fcd69d7c8ccdc6c812f199d99e9d94f9f..181c18076f179045bf1f13b9b2aad9a5ffdb19ab 100644
--- a/ui/views/style/platform_style.h
+++ b/ui/views/style/platform_style.h
@@ -57,6 +57,10 @@ class VIEWS_EXPORT PlatformStyle {
// Whether ripples should be used for visual feedback on control activation.
static const bool kUseRipples;
+ // Whether to mirror the arrow of bubble dialogs in RTL, such that the bubble
+ // opens in the opposite direction.
+ static const bool kMirrorBubbleArrowInRTLByDefault;
+
// Creates an ImageSkia containing the image to use for the combobox arrow.
// The |is_enabled| argument is true if the control the arrow is for is
// enabled, and false if the control is disabled. The |style| argument is the

Powered by Google App Engine
This is Rietveld 408576698