Index: chrome/browser/extensions/browser_action_test_util.h |
diff --git a/chrome/browser/extensions/browser_action_test_util.h b/chrome/browser/extensions/browser_action_test_util.h |
index c047f8649b5601e10745375912e6dcf1870dff01..b9b2b78715f05b1b4eb3a06582d0bfbb1c976dae 100644 |
--- a/chrome/browser/extensions/browser_action_test_util.h |
+++ b/chrome/browser/extensions/browser_action_test_util.h |
@@ -86,6 +86,11 @@ class BrowserActionTestUtil { |
// to run. |
bool ActionButtonWantsToRun(size_t index); |
+ // Sets the current width of the browser actions container without resizing |
+ // the underlying controller. This is to simulate e.g. when the browser window |
+ // is too small for the preferred width. |
+ void SetWidth(int width); |
+ |
// Returns the ToolbarActionsBar. |
ToolbarActionsBar* GetToolbarActionsBar(); |