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

Unified Diff: chrome/browser/ui/views/toolbar/toolbar_action_view.h

Issue 2259353002: Update Flaky ToolbarActionViewInteractiveUITests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits Created 4 years, 4 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 | chrome/browser/ui/views/toolbar/toolbar_action_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/toolbar/toolbar_action_view.h
diff --git a/chrome/browser/ui/views/toolbar/toolbar_action_view.h b/chrome/browser/ui/views/toolbar/toolbar_action_view.h
index 87eec7fbbcaecaeb8f9700238a9900be37fee05c..e114d8374972ae91abfc77872c2520bda4c6b0de 100644
--- a/chrome/browser/ui/views/toolbar/toolbar_action_view.h
+++ b/chrome/browser/ui/views/toolbar/toolbar_action_view.h
@@ -92,12 +92,9 @@ class ToolbarActionView : public views::MenuButton,
// Returns button icon so it can be accessed during tests.
gfx::ImageSkia GetIconForTest();
- bool wants_to_run_for_testing() const { return wants_to_run_; }
+ bool IsMenuRunningForTesting() const;
- // Set a callback to be called directly before the context menu is shown.
- // The toolbar action opening the menu will be passed in.
- static void set_context_menu_callback_for_testing(
- ContextMenuCallback* callback);
+ bool wants_to_run_for_testing() const { return wants_to_run_; }
views::MenuItemView* menu_for_testing() { return menu_; }
« no previous file with comments | « no previous file | chrome/browser/ui/views/toolbar/toolbar_action_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698