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

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

Issue 795663003: [Mac Extensions Toolbar] Make the container's animationEndFrame always valid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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/toolbar/browser_actions_container.h
diff --git a/chrome/browser/ui/views/toolbar/browser_actions_container.h b/chrome/browser/ui/views/toolbar/browser_actions_container.h
index 6c1d3d9963363f20b4270cfa07b78fafd78092d5..a2341bb67ef43b0ae5a50d3fa38a4fa8ecdefef9 100644
--- a/chrome/browser/ui/views/toolbar/browser_actions_container.h
+++ b/chrome/browser/ui/views/toolbar/browser_actions_container.h
@@ -255,11 +255,6 @@ class BrowserActionsContainer
// Retrieve the current popup. This should only be used by unit tests.
gfx::NativeView TestGetPopup();
- // During testing we can disable animations by setting this flag to true,
- // so that the bar resizes instantly, instead of having to poll it while it
- // animates to open/closed status.
- static bool disable_animations_during_testing_;
-
protected:
// Overridden from views::View:
void ViewHierarchyChanged(

Powered by Google App Engine
This is Rietveld 408576698