MacViews: Fix Translate Bubble Anchoring
Currently translate _bubble_ tests on Mac (not the info bar tests) fail with a DCHECK because the translate bubble does not currently anchor properly under MacViews. To Anchor properly the bubble needs a parent window set before calling Widget::Show(). Fix that, and expand test coverage on Mac to include tests for the bubble. Note the translate bubble is not enabled by default on Mac (m65 will continue to use infobars). Enables on Mac: - AutofillInteractiveTest.AutofillAfterTranslate - TranslateBubbleViewBrowserTest.* (3 tests) Bug: 781134, 795987, 507442 Change-Id: I27f8489ad84eb90997ad6f319b178942a07a7a51 Reviewed-on: https://chromium-review.googlesource.com/752783Reviewed-by:Michael Martis <martis@chromium.org> Reviewed-by:
Mathieu Perreault <mathp@chromium.org> Commit-Queue: Trent Apted <tapted@chromium.org> Cr-Commit-Position: refs/heads/master@{#525201}
Showing
Please register or sign in to comment