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

Issue 2634153002: Clean up keyboard_unittests. (Closed)

Created:
3 years, 11 months ago by yhanada
Modified:
3 years, 11 months ago
Reviewers:
bshe
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Clean up keyboard_unittests. - Introduce ScopedTouchKeyboardEnabler and ScopedAccessibilityKeyboardEnabler class for managing flags by using RAII. - Add dependency to ui_test_pak in keyboard_unittests. BUG=681007 TEST=keyboard_unittests passes. Review-Url: https://codereview.chromium.org/2634153002 Cr-Commit-Position: refs/heads/master@{#444562} Committed: https://chromium.googlesource.com/chromium/src/+/3ad6fbee118e858145e28d4f5720f695069c956b

Patch Set 1 #

Patch Set 2 : Clean up keyboard_unittests. #

Patch Set 3 : rebase & update commit comment #

Total comments: 2

Patch Set 4 : address the comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -19 lines) Patch
M ui/keyboard/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M ui/keyboard/keyboard_controller_unittest.cc View 1 2 3 15 chunks +39 lines, -19 lines 0 comments Download

Messages

Total messages: 28 (23 generated)
yhanada
Hi bshe@, PTAL.
3 years, 11 months ago (2017-01-18 13:25:28 UTC) #11
bshe
lgtm https://codereview.chromium.org/2634153002/diff/40001/ui/keyboard/keyboard_controller_unittest.cc File ui/keyboard/keyboard_controller_unittest.cc (right): https://codereview.chromium.org/2634153002/diff/40001/ui/keyboard/keyboard_controller_unittest.cc#newcode524 ui/keyboard/keyboard_controller_unittest.cc:524: gfx::Rect screen_bounds = root_window()->bounds(); ScopedTouchKeyboardEnabler scoped_keyboard_enabler; ?
3 years, 11 months ago (2017-01-18 20:52:33 UTC) #21
yhanada
Thanks! https://codereview.chromium.org/2634153002/diff/40001/ui/keyboard/keyboard_controller_unittest.cc File ui/keyboard/keyboard_controller_unittest.cc (right): https://codereview.chromium.org/2634153002/diff/40001/ui/keyboard/keyboard_controller_unittest.cc#newcode524 ui/keyboard/keyboard_controller_unittest.cc:524: gfx::Rect screen_bounds = root_window()->bounds(); On 2017/01/18 20:52:33, bshe ...
3 years, 11 months ago (2017-01-18 23:16:02 UTC) #22
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/2634153002/60001
3 years, 11 months ago (2017-01-18 23:16:41 UTC) #25
commit-bot: I haz the power
3 years, 11 months ago (2017-01-19 00:23:56 UTC) #28
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/3ad6fbee118e858145e28d4f5720...

Powered by Google App Engine
This is Rietveld 408576698