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

Issue 2532613002: MacViews: fix bubble direction in RTL. (Closed)

Created:
4 years ago by tapted
Modified:
4 years ago
CC:
chromium-reviews, groby+bubble_chromium.org, tfarina, msw+watch_chromium.org, hcarmona+bubble_chromium.org, mac-reviews_chromium.org, rouslan+bubble_chromium.org, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MacViews: fix bubble direction in RTL. The Cocoa browser doesn't have good RTL support, and doesn't flip its UI in RTL. Bubble direction should not flip by default. Add BUILDFLAG(MAC_VIEWS_BROWSER) to accomplish this. BUG=657244 Committed: https://crrev.com/c60452305f151964dee9b5eaff7c9b0356c41c16 Cr-Commit-Position: refs/heads/master@{#435207}

Patch Set 1 #

Patch Set 2 : rebase to master #

Patch Set 3 : Fix compile #

Total comments: 2

Patch Set 4 : BUILDFLAG #

Patch Set 5 : Use the advice in buildflag.h? #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -4 lines) Patch
M build/config/ui.gni View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M components/constrained_window/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M tools/grit/grit_rule.gni View 1 2 3 1 chunk +1 line, -0 lines 1 comment Download
M ui/base/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ui/base/ui_features.gni View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M ui/views/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/bubble/bubble_dialog_delegate.cc View 2 chunks +2 lines, -1 line 0 comments Download
M ui/views/style/platform_style.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/views/style/platform_style.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/style/platform_style_mac.mm View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 42 (26 generated)
tapted
Hi sky - please take a look.
4 years ago (2016-11-28 11:35:06 UTC) #8
sky
https://codereview.chromium.org/2532613002/diff/40001/ui/views/BUILD.gn File ui/views/BUILD.gn (right): https://codereview.chromium.org/2532613002/diff/40001/ui/views/BUILD.gn#newcode624 ui/views/BUILD.gn:624: if (mac_views_browser) { Why does whether the browser uses ...
4 years ago (2016-11-28 16:22:22 UTC) #11
tapted
https://codereview.chromium.org/2532613002/diff/40001/ui/views/BUILD.gn File ui/views/BUILD.gn (right): https://codereview.chromium.org/2532613002/diff/40001/ui/views/BUILD.gn#newcode624 ui/views/BUILD.gn:624: if (mac_views_browser) { On 2016/11/28 16:22:22, sky wrote: > ...
4 years ago (2016-11-29 06:43:54 UTC) #20
sky
LGTM
4 years ago (2016-11-29 14:12:48 UTC) #21
lgrey
On 2016/11/29 06:43:54, tapted wrote: > > We never implemented proper RTL support for the ...
4 years ago (2016-11-29 14:55:34 UTC) #22
tapted
On 2016/11/29 14:55:34, lgrey wrote: > On 2016/11/29 06:43:54, tapted wrote: > > > > ...
4 years ago (2016-11-29 23:30:10 UTC) #23
tapted
+scottmg for build/config and tools/grit/OWNERS +msw for components/constrained_window
4 years ago (2016-11-29 23:33:46 UTC) #26
scottmg
lgtm
4 years ago (2016-11-29 23:35:44 UTC) #27
msw
components/constrained_window lgtm
4 years ago (2016-11-29 23:45:09 UTC) #28
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/2532613002/80001
4 years ago (2016-11-29 23:47:03 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: blimp_linux_dbg on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
4 years ago (2016-11-30 03:01:13 UTC) #32
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/2532613002/80001
4 years ago (2016-11-30 09:45:11 UTC) #34
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-11-30 10:42:37 UTC) #37
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/c60452305f151964dee9b5eaff7c9b0356c41c16 Cr-Commit-Position: refs/heads/master@{#435207}
4 years ago (2016-11-30 10:44:20 UTC) #39
kjellander_webrtc
This CL introduces dependency from tools/grit to src/ui - is there another way to do ...
4 years ago (2016-12-01 07:01:40 UTC) #41
tapted
4 years ago (2016-12-01 07:52:24 UTC) #42
Message was sent while issue was closed.
On 2016/12/01 07:01:40, kjellander_webrtc wrote:
> This CL introduces dependency from tools/grit to src/ui - is there another way
> to do it, since this breaks WebRTC? (see comment for more info)
> 
> https://codereview.chromium.org/2532613002/diff/80001/tools/grit/grit_rule.gni
> File tools/grit/grit_rule.gni (right):
> 
>
https://codereview.chromium.org/2532613002/diff/80001/tools/grit/grit_rule.gn...
> tools/grit/grit_rule.gni:95: import("//ui/base/ui_features.gni")
> I don't think it makes sense to have tools/grit depending on //ui in Chrome.
Is
> there another way to get around this?
> 
> In WebRTC, we're using the Chromium Android test framework and we pull in the
> dependencies of it. With this change, our build broke since Chromium's ui/
> directory is obviously not something we can have.
> It broke our auto-roll here: https://codereview.webrtc.org/2542033002/

Published https://codereview.chromium.org/2535753007/

Powered by Google App Engine
This is Rietveld 408576698