| Index: chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc
|
| diff --git a/chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc b/chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc
|
| index 44ccb32f9c5b8299517117f1380614c8166a6603..fcf5fd9b3bd2fa3f54488578b86df087552f3564 100644
|
| --- a/chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc
|
| +++ b/chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc
|
| @@ -96,10 +96,22 @@ void BrowserActionTestUtil::SetIconVisibilityCount(size_t icons) {
|
| SetVisibleIconCount(icons);
|
| }
|
|
|
| +// static
|
| +void BrowserActionTestUtil::DisableAnimations() {
|
| + BrowserActionsContainer::disable_animations_during_testing_ = true;
|
| +}
|
| +
|
| +// static
|
| +void BrowserActionTestUtil::EnableAnimations() {
|
| + BrowserActionsContainer::disable_animations_during_testing_ = false;
|
| +}
|
| +
|
| +// static
|
| gfx::Size BrowserActionTestUtil::GetMinPopupSize() {
|
| return gfx::Size(ExtensionPopup::kMinWidth, ExtensionPopup::kMinHeight);
|
| }
|
|
|
| +// static
|
| gfx::Size BrowserActionTestUtil::GetMaxPopupSize() {
|
| return gfx::Size(ExtensionPopup::kMaxWidth, ExtensionPopup::kMaxHeight);
|
| }
|
|
|