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

Unified Diff: ui/views/test/combobox_test_api.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
« no previous file with comments | « ui/views/examples/tree_view_example.cc ('k') | ui/views/test/menu_test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/test/combobox_test_api.cc
diff --git a/ui/views/test/combobox_test_api.cc b/ui/views/test/combobox_test_api.cc
index 74465161845b23a109f352b650056e8e2a0814bf..0e747ece038a6b69c8e802d33c119a481874c293 100644
--- a/ui/views/test/combobox_test_api.cc
+++ b/ui/views/test/combobox_test_api.cc
@@ -24,14 +24,13 @@ class TestMenuRunnerHandler : public MenuRunnerHandler {
public:
explicit TestMenuRunnerHandler(int* show_counter)
: show_counter_(show_counter) {}
- MenuRunner::RunResult RunMenuAt(Widget* parent,
- MenuButton* button,
- const gfx::Rect& bounds,
- MenuAnchorPosition anchor,
- ui::MenuSourceType source_type,
- int32_t types) override {
+ void RunMenuAt(Widget* parent,
+ MenuButton* button,
+ const gfx::Rect& bounds,
+ MenuAnchorPosition anchor,
+ ui::MenuSourceType source_type,
+ int32_t types) override {
*show_counter_ += 1;
- return MenuRunner::NORMAL_EXIT;
}
private:
« no previous file with comments | « ui/views/examples/tree_view_example.cc ('k') | ui/views/test/menu_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698