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

Unified Diff: ui/views/bubble/bubble_dialog_delegate_unittest.cc

Issue 1891823004: MacViews: Fix BubbleDialogDelegateTest.CloseMethods (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/bubble/bubble_dialog_delegate_unittest.cc
diff --git a/ui/views/bubble/bubble_dialog_delegate_unittest.cc b/ui/views/bubble/bubble_dialog_delegate_unittest.cc
index 806a4ef02f5c136904b6510aebacd27a4e157ebc..510a8470ebabb85ca398f29b97d4df1b1b7cf296 100644
--- a/ui/views/bubble/bubble_dialog_delegate_unittest.cc
+++ b/ui/views/bubble/bubble_dialog_delegate_unittest.cc
@@ -288,6 +288,7 @@ TEST_F(BubbleDialogDelegateTest, CloseMethods) {
new TestBubbleDialogDelegateView(anchor_widget->GetContentsView());
Widget* bubble_widget =
BubbleDialogDelegateView::CreateBubble(bubble_delegate);
+ anchor_widget->Show();
bubble_widget->Show();
ui::KeyEvent escape_event(ui::ET_KEY_PRESSED, ui::VKEY_ESCAPE, ui::EF_NONE);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698