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

Unified Diff: chrome/browser/views/bookmark_bar_view.cc

Issue 1961001: Refactors animation to allow for cleaner subclassing. I'm doing this (Closed)
Patch Set: Incorporated review feedback Created 10 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 | « chrome/browser/views/bookmark_bar_view.h ('k') | chrome/browser/views/browser_actions_container.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/bookmark_bar_view.cc
diff --git a/chrome/browser/views/bookmark_bar_view.cc b/chrome/browser/views/bookmark_bar_view.cc
index 0cf4a71ea17d7c9a994ee008a291574fa8299193..0d76874bfa77aba2f9c53d178a66c510d9ad8f99 100644
--- a/chrome/browser/views/bookmark_bar_view.cc
+++ b/chrome/browser/views/bookmark_bar_view.cc
@@ -1105,7 +1105,7 @@ void BookmarkBarView::WriteDragData(View* sender,
}
int BookmarkBarView::GetDragOperations(View* sender, const gfx::Point& p) {
- if (size_animation_->IsAnimating() ||
+ if (size_animation_->is_animating() ||
(size_animation_->GetCurrentValue() == 0 && !OnNewTabPage())) {
// Don't let the user drag while animating open or we're closed (and not on
// the new tab page, on the new tab page size_animation_ is always 0). This
« no previous file with comments | « chrome/browser/views/bookmark_bar_view.h ('k') | chrome/browser/views/browser_actions_container.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698