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

Issue 1891823004: MacViews: Fix BubbleDialogDelegateTest.CloseMethods (Closed)

Created:
4 years, 8 months ago by Patti Lor
Modified:
4 years, 8 months ago
Reviewers:
tapted, sky
CC:
chromium-reviews, tfarina, msw+watch_chromium.org, groby+bubble_chromium.org, hcarmona+bubble_chromium.org, rouslan+bubble_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

MacViews: Fix BubbleDialogDelegateTest.CloseMethods BubbleDialogDelegateTest.CloseMethods, added in http://crrev.com/1809933003 (r382045) fails on MacViews because bubbles cannot be shown unless their parents are already visible. This is expected behaviour, so fix it by showing the parent anchor widget immediately after creation (which affects all tests calling CreateTestWidget()). Note this test passes on Aura because of http://crbug.com/590957. BUG=590957, 600921 Committed: https://crrev.com/bfe263607137b4c4af5cb42fcf9a2d6cb7cc4183 Cr-Commit-Position: refs/heads/master@{#388720}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Move call to Widget::Show() to CreateTestWidget(). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -3 lines) Patch
M ui/views/bubble/bubble_dialog_delegate_unittest.cc View 1 3 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
Patti Lor
PTAL Trent! It's a one line fix for the m51 test regression bug (crbug.com/600921).
4 years, 8 months ago (2016-04-14 19:14:40 UTC) #2
tapted
https://codereview.chromium.org/1891823004/diff/1/ui/views/bubble/bubble_dialog_delegate_unittest.cc File ui/views/bubble/bubble_dialog_delegate_unittest.cc (right): https://codereview.chromium.org/1891823004/diff/1/ui/views/bubble/bubble_dialog_delegate_unittest.cc#newcode305 ui/views/bubble/bubble_dialog_delegate_unittest.cc:305: bubble_widget->Show(); hum - this should need it too. I ...
4 years, 8 months ago (2016-04-15 00:47:27 UTC) #3
Patti Lor
Yep, I don't think any of the current tests rely on having the anchor hidden ...
4 years, 8 months ago (2016-04-20 04:39:53 UTC) #5
tapted
lgtm
4 years, 8 months ago (2016-04-20 06:43:06 UTC) #6
Patti Lor
PTAL sky for owners review in ui/views. Thanks!
4 years, 8 months ago (2016-04-20 07:30:20 UTC) #8
sky
LGTM
4 years, 8 months ago (2016-04-20 19:26:53 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1891823004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1891823004/20001
4 years, 8 months ago (2016-04-20 23:50:15 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/216033)
4 years, 8 months ago (2016-04-20 23:58:01 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1891823004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1891823004/20001
4 years, 8 months ago (2016-04-21 08:19:03 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-21 08:22:51 UTC) #16
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:32:37 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/bfe263607137b4c4af5cb42fcf9a2d6cb7cc4183
Cr-Commit-Position: refs/heads/master@{#388720}

Powered by Google App Engine
This is Rietveld 408576698