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

Issue 2486963003: views::Label: Enable text selection related tests on Mac. (Closed)

Created:
4 years, 1 month ago by karandeepb
Modified:
4 years, 1 month ago
Reviewers:
sky
CC:
chromium-reviews, tfarina, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

views::Label: Enable text selection related tests on Mac. Currently text selection related tests for Labels are not run on Mac since it uses RenderTextMac by default. Enable these tests on Mac, by explicitly using RenderTextHarfBuzz which supports text selection. To do this, create a new test fixture class called LabelSelectionTest and append the kEnableHarfBuzzRenderText switch to the list of command line switches. BUG=630365 Committed: https://crrev.com/d52fcdcee551a2f4e77c1f7223eb73f6d85c210b Cr-Commit-Position: refs/heads/master@{#431107}

Patch Set 1 #

Patch Set 2 : Cleanup. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -19 lines) Patch
M ui/views/controls/label.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/views/controls/label_unittest.cc View 1 11 chunks +36 lines, -17 lines 2 comments Download

Depends on Patchset:

Messages

Total messages: 16 (9 generated)
karandeepb
PTAL sky@. Did not think of this earlier.
4 years, 1 month ago (2016-11-09 08:38:31 UTC) #7
sky
LGTM - I'm ok with this, but if there if you there isn't a good ...
4 years, 1 month ago (2016-11-09 16:23:10 UTC) #8
karandeepb
PTAL sky@. https://codereview.chromium.org/2486963003/diff/20001/ui/views/controls/label_unittest.cc File ui/views/controls/label_unittest.cc (right): https://codereview.chromium.org/2486963003/diff/20001/ui/views/controls/label_unittest.cc#newcode80 ui/views/controls/label_unittest.cc:80: // On Mac, by default RenderTextMac is ...
4 years, 1 month ago (2016-11-10 00:00:03 UTC) #9
sky
On 2016/11/10 00:00:03, karandeepb wrote: > PTAL sky@. > > https://codereview.chromium.org/2486963003/diff/20001/ui/views/controls/label_unittest.cc > File ui/views/controls/label_unittest.cc (right): ...
4 years, 1 month ago (2016-11-10 00:35:00 UTC) #10
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/2486963003/20001
4 years, 1 month ago (2016-11-10 00:36:52 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-10 00:42:23 UTC) #14
commit-bot: I haz the power
4 years, 1 month ago (2016-11-10 00:45:30 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d52fcdcee551a2f4e77c1f7223eb73f6d85c210b
Cr-Commit-Position: refs/heads/master@{#431107}

Powered by Google App Engine
This is Rietveld 408576698