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

Unified Diff: ui/views/style/platform_style_mac_cocoa_browser.mm

Issue 2532613002: MacViews: fix bubble direction in RTL. (Closed)
Patch Set: Fix compile 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_mac_cocoa_browser.mm
diff --git a/ui/views/style/platform_style_mac_cocoa_browser.mm b/ui/views/style/platform_style_mac_cocoa_browser.mm
new file mode 100644
index 0000000000000000000000000000000000000000..7dd53a62d307c5bbd98ed3c6570cbd7612cb8e5b
--- /dev/null
+++ b/ui/views/style/platform_style_mac_cocoa_browser.mm
@@ -0,0 +1,13 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ui/views/style/platform_style.h"
+
+namespace views {
+
+// On Mac, the Cocoa browser window does not flip its UI in RTL. Bubbles should
+// open in the same direction as LTR.
+const bool PlatformStyle::kMirrorBubbleArrowInRTLByDefault = false;
+
+} // namespace views

Powered by Google App Engine
This is Rietveld 408576698