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

Issue 2120353003: Fix TouchSelectionControllerImpl tests failing with DPI=125% (Closed)

Created:
4 years, 5 months ago by Tomasz Moniuszko
Modified:
4 years, 5 months ago
Reviewers:
mohsen
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix TouchSelectionControllerImpl tests failing with DPI=125% Make textfield a bit larger so text fits it when system DPI is set to 125%. Fixes following tests: TouchSelectionControllerImplTest.DoubleTapInTextfieldWithCursorHandleShouldSelectText TouchSelectionControllerImplTest.SelectRectCallbackTest TouchSelectionControllerImplTest.SelectRectInBidiCallbackTest TouchSelectionControllerImplTest.SelectionInBidiTextfieldTest TouchSelectionControllerImplTest.SelectionInTextfieldTest BUG=626264 Committed: https://crrev.com/0bb7f67eec734651731263d35879d5a93b9e3bad Cr-Commit-Position: refs/heads/master@{#405743}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M ui/views/touchui/touch_selection_controller_impl_unittest.cc View 1 chunk +1 line, -1 line 1 comment Download

Messages

Total messages: 24 (9 generated)
Tomasz Moniuszko
4 years, 5 months ago (2016-07-05 12:33:34 UTC) #2
mohsen
Can you tell me how can I set DPI to 125% to run the tests ...
4 years, 5 months ago (2016-07-06 16:44:36 UTC) #3
Tomasz Moniuszko
On 2016/07/06 16:44:36, mohsen wrote: > Can you tell me how can I set DPI ...
4 years, 5 months ago (2016-07-07 09:37:24 UTC) #4
mohsen
Thanks for creating the bug report! https://codereview.chromium.org/2120353003/diff/1/ui/views/touchui/touch_selection_controller_impl_unittest.cc File ui/views/touchui/touch_selection_controller_impl_unittest.cc (right): https://codereview.chromium.org/2120353003/diff/1/ui/views/touchui/touch_selection_controller_impl_unittest.cc#newcode100 ui/views/touchui/touch_selection_controller_impl_unittest.cc:100: textfield_->SetBoundsRect(gfx::Rect(0, 0, 200, ...
4 years, 5 months ago (2016-07-07 19:41:13 UTC) #6
Tomasz Moniuszko
On 2016/07/07 19:41:13, mohsen wrote: > Thanks for creating the bug report! > > https://codereview.chromium.org/2120353003/diff/1/ui/views/touchui/touch_selection_controller_impl_unittest.cc ...
4 years, 5 months ago (2016-07-08 07:59:39 UTC) #7
mohsen
lgtm
4 years, 5 months ago (2016-07-11 16:19:06 UTC) #8
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/2120353003/1
4 years, 5 months ago (2016-07-12 07:29:54 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/260831)
4 years, 5 months ago (2016-07-12 10:31:09 UTC) #12
Tomasz Moniuszko
On 2016/07/12 10:31:09, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 5 months ago (2016-07-12 11:05:04 UTC) #13
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/2120353003/1
4 years, 5 months ago (2016-07-12 11:08:40 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/260957)
4 years, 5 months ago (2016-07-12 14:03:56 UTC) #17
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/2120353003/1
4 years, 5 months ago (2016-07-15 10:37:49 UTC) #19
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-15 11:19:32 UTC) #21
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-15 11:19:34 UTC) #22
commit-bot: I haz the power
4 years, 5 months ago (2016-07-15 11:22:22 UTC) #24
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/0bb7f67eec734651731263d35879d5a93b9e3bad
Cr-Commit-Position: refs/heads/master@{#405743}

Powered by Google App Engine
This is Rietveld 408576698