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

Unified Diff: chrome/browser/ui/views/download/download_shelf_view.cc

Issue 2514303004: WIP - mask a view's layer by its view coordinates
Patch Set: manual clip Created 4 years, 1 month 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/download/download_shelf_view.cc
diff --git a/chrome/browser/ui/views/download/download_shelf_view.cc b/chrome/browser/ui/views/download/download_shelf_view.cc
index dbedfe58ef22a758322a29cf5991609d5797b4ae..8764d262ef7ecbddbd9b7be905701620141b23dc 100644
--- a/chrome/browser/ui/views/download/download_shelf_view.cc
+++ b/chrome/browser/ui/views/download/download_shelf_view.cc
@@ -119,7 +119,7 @@ DownloadShelfView::DownloadShelfView(Browser* browser, BrowserView* parent)
l10n_util::GetStringUTF16(IDS_ACCNAME_CLOSE));
AddChildView(close_button_);
- new_item_animation_.SetSlideDuration(kNewItemAnimationDurationMs);
+ new_item_animation_.SetSlideDuration(kNewItemAnimationDurationMs * 16);
shelf_animation_.SetSlideDuration(kShelfAnimationDurationMs);
}

Powered by Google App Engine
This is Rietveld 408576698