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

Issue 2539543007: macOS: Fix <select> popup menu position in RTL. (Closed)

Created:
4 years ago by tkent
Modified:
4 years ago
Reviewers:
Avi (use Gerrit), kojii
CC:
chromium-reviews, darin-cc_chromium.org, jam, mac-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

macOS: Fix <select> popup menu position in RTL. Calls setUserInterfaceLayoutDirection:NSUserInterfaceLayoutDirectionRightToLeft for NSMenu if it's available. This fixes the issue only on macOS 10.11+. BUG=339766 Committed: https://crrev.com/273a3b74ee2e4c676bcc617c5d4acd3005187b7f Cr-Commit-Position: refs/heads/master@{#435481}

Patch Set 1 #

Total comments: 2

Patch Set 2 : No respondoToSelector for NSPopUpButtonCell #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -3 lines) Patch
M content/browser/renderer_host/webmenurunner_mac.mm View 1 1 chunk +16 lines, -3 lines 0 comments Download

Messages

Total messages: 21 (14 generated)
tkent
avi@, would you review this please?
4 years ago (2016-11-30 07:49:35 UTC) #4
kojii
non-owner LGTM, I'm no expert on this area, but look correct after looking at this ...
4 years ago (2016-11-30 08:02:16 UTC) #7
Avi (use Gerrit)
LGTM with fix. https://codereview.chromium.org/2539543007/diff/1/content/browser/renderer_host/webmenurunner_mac.mm File content/browser/renderer_host/webmenurunner_mac.mm (right): https://codereview.chromium.org/2539543007/diff/1/content/browser/renderer_host/webmenurunner_mac.mm#newcode125 content/browser/renderer_host/webmenurunner_mac.mm:125: if ([cell respondsToSelector:sel]) { NSCell has ...
4 years ago (2016-11-30 17:25:05 UTC) #8
tkent
https://codereview.chromium.org/2539543007/diff/1/content/browser/renderer_host/webmenurunner_mac.mm File content/browser/renderer_host/webmenurunner_mac.mm (right): https://codereview.chromium.org/2539543007/diff/1/content/browser/renderer_host/webmenurunner_mac.mm#newcode125 content/browser/renderer_host/webmenurunner_mac.mm:125: if ([cell respondsToSelector:sel]) { On 2016/11/30 at 17:25:04, Avi ...
4 years ago (2016-11-30 23:43:58 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2539543007/20001
4 years ago (2016-11-30 23:44:18 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-11-30 23:49:01 UTC) #19
commit-bot: I haz the power
4 years ago (2016-11-30 23:50:36 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/273a3b74ee2e4c676bcc617c5d4acd3005187b7f
Cr-Commit-Position: refs/heads/master@{#435481}

Powered by Google App Engine
This is Rietveld 408576698