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

Issue 1118173003: Gets InputMethodFocus tests added in r327286 working on Mac (Closed)

Created:
5 years, 7 months ago by tapted
Modified:
5 years, 7 months ago
Reviewers:
Shu Chen, sadrul
CC:
chromium-reviews, tfarina, tdanderson+views_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Gets InputMethodFocus tests added in r327286 working on Mac This is achieved by using the cross-platform APIs on views::Widget. These APIs are at a different abstraction layer, so generally give coverage that is a closer match to the situation in Release code. In doing so, fix a possible use-after-free in TouchSelectionControllerImpl that results when Widget::OnNativeWidgetDestroying attempts to call TouchSelectionControllerImpl::OnWidgetDestroying() on a deleted observer. Coverage in WidgetTestInteractive.TouchSelectionQuickMenuIsNotActivated BUG=474828 Committed: https://crrev.com/5db26dbaa8002855e73abda366edc07d034e42bb Cr-Commit-Position: refs/heads/master@{#328297}

Patch Set 1 #

Patch Set 2 : Fix desktop linux #

Patch Set 3 : fix chromeos and probably windows #

Patch Set 4 : Fix bug in TouchSelectionControllerImpl #

Patch Set 5 : Fix Windows #

Total comments: 3

Patch Set 6 : Update blur comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -145 lines) Patch
M ui/views/touchui/touch_selection_controller_impl.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/widget/widget_interactive_uitest.cc View 1 2 3 4 5 15 chunks +147 lines, -145 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
tapted
Hi sadrul and shuchen, please take a look. https://codereview.chromium.org/1118173003/diff/90001/ui/views/widget/widget_interactive_uitest.cc File ui/views/widget/widget_interactive_uitest.cc (right): https://codereview.chromium.org/1118173003/diff/90001/ui/views/widget/widget_interactive_uitest.cc#newcode247 ui/views/widget/widget_interactive_uitest.cc:247: widget->widget_delegate()->set_can_activate(true); ...
5 years, 7 months ago (2015-05-05 00:31:42 UTC) #3
Shu Chen
lgtm Thanks for cleaning up the tests! https://codereview.chromium.org/1118173003/diff/90001/ui/views/widget/widget_interactive_uitest.cc File ui/views/widget/widget_interactive_uitest.cc (right): https://codereview.chromium.org/1118173003/diff/90001/ui/views/widget/widget_interactive_uitest.cc#newcode1558 ui/views/widget/widget_interactive_uitest.cc:1558: // Window::Blur ...
5 years, 7 months ago (2015-05-05 02:37:06 UTC) #4
sadrul
rs lgtm
5 years, 7 months ago (2015-05-05 05:31:37 UTC) #5
tapted
Thanks all! https://codereview.chromium.org/1118173003/diff/90001/ui/views/widget/widget_interactive_uitest.cc File ui/views/widget/widget_interactive_uitest.cc (right): https://codereview.chromium.org/1118173003/diff/90001/ui/views/widget/widget_interactive_uitest.cc#newcode1558 ui/views/widget/widget_interactive_uitest.cc:1558: // Window::Blur doesn't work for CrOS, because ...
5 years, 7 months ago (2015-05-05 06:38:30 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1118173003/110001
5 years, 7 months ago (2015-05-05 06:38:50 UTC) #9
commit-bot: I haz the power
Committed patchset #6 (id:110001)
5 years, 7 months ago (2015-05-05 08:03:06 UTC) #10
commit-bot: I haz the power
5 years, 7 months ago (2015-05-05 08:04:07 UTC) #11
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/5db26dbaa8002855e73abda366edc07d034e42bb
Cr-Commit-Position: refs/heads/master@{#328297}

Powered by Google App Engine
This is Rietveld 408576698