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

Unified Diff: chrome/browser/ui/views/menu_view_drag_and_drop_test.cc

Issue 2790773002: Cleanup MenuRunner API (Closed)
Patch Set: Rebase Created 3 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
Index: chrome/browser/ui/views/menu_view_drag_and_drop_test.cc
diff --git a/chrome/browser/ui/views/menu_view_drag_and_drop_test.cc b/chrome/browser/ui/views/menu_view_drag_and_drop_test.cc
index 84e09ce4e18d3b21873a1c79982678f2a0ab268e..143dc420593ac0e1996f3130aa9511a447697b7f 100644
--- a/chrome/browser/ui/views/menu_view_drag_and_drop_test.cc
+++ b/chrome/browser/ui/views/menu_view_drag_and_drop_test.cc
@@ -463,7 +463,7 @@ class MenuViewDragAndDropForDropStayOpen : public MenuViewDragAndDropTest {
int MenuViewDragAndDropForDropStayOpen::GetMenuRunnerFlags() {
return views::MenuRunner::HAS_MNEMONICS | views::MenuRunner::NESTED_DRAG |
- views::MenuRunner::FOR_DROP | views::MenuRunner::ASYNC;
+ views::MenuRunner::FOR_DROP;
}
void MenuViewDragAndDropForDropStayOpen::DoTestWithMenuOpen() {
@@ -495,8 +495,7 @@ class MenuViewDragAndDropForDropCancel : public MenuViewDragAndDropTest {
};
int MenuViewDragAndDropForDropCancel::GetMenuRunnerFlags() {
- return views::MenuRunner::HAS_MNEMONICS | views::MenuRunner::FOR_DROP |
- views::MenuRunner::ASYNC;
+ return views::MenuRunner::HAS_MNEMONICS | views::MenuRunner::FOR_DROP;
}
void MenuViewDragAndDropForDropCancel::DoTestWithMenuOpen() {
« no previous file with comments | « chrome/browser/ui/views/menu_test_base.cc ('k') | chrome/browser/ui/views/page_info/permission_selector_row.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698