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

Side by Side Diff: chrome/browser/views/download_started_animation.cc

Issue 24011: chrome_resources take 2 (Closed)
Patch Set: rebase Created 11 years, 10 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/views/download_shelf_view.cc ('k') | chrome/browser/views/download_tab_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/views/download_started_animation.h" 5 #include "chrome/browser/views/download_started_animation.h"
6 6
7 #include "chrome/app/theme/theme_resources.h" 7 #include "grit/theme_resources.h"
8 #include "chrome/browser/tab_contents/tab_contents.h" 8 #include "chrome/browser/tab_contents/tab_contents.h"
9 #include "chrome/common/notification_service.h" 9 #include "chrome/common/notification_service.h"
10 #include "chrome/common/resource_bundle.h" 10 #include "chrome/common/resource_bundle.h"
11 #include "chrome/views/widget_win.h" 11 #include "chrome/views/widget_win.h"
12 12
13 // How long to spend moving downwards and fading out after waiting. 13 // How long to spend moving downwards and fading out after waiting.
14 static const int kMoveTimeMs = 600; 14 static const int kMoveTimeMs = 600;
15 15
16 // The animation framerate. 16 // The animation framerate.
17 static const int kFrameRateHz = 60; 17 static const int kFrameRateHz = 60;
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 // alpha changes, so we need to force a paint. 109 // alpha changes, so we need to force a paint.
110 } 110 }
111 } 111 }
112 112
113 void DownloadStartedAnimation::Observe(NotificationType type, 113 void DownloadStartedAnimation::Observe(NotificationType type,
114 const NotificationSource& source, 114 const NotificationSource& source,
115 const NotificationDetails& details) { 115 const NotificationDetails& details) {
116 Close(); 116 Close();
117 } 117 }
118 118
OLDNEW
« no previous file with comments | « chrome/browser/views/download_shelf_view.cc ('k') | chrome/browser/views/download_tab_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698