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

Side by Side Diff: chrome/browser/ui/views/download/download_started_animation_views.cc

Issue 10656014: Merge 143605 - grd file update for new 2x assets (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1180/src/
Patch Set: Created 8 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/download/download_started_animation.h" 5 #include "chrome/browser/download/download_started_animation.h"
6 6
7 #include "content/public/browser/notification_details.h" 7 #include "content/public/browser/notification_details.h"
8 #include "content/public/browser/notification_observer.h" 8 #include "content/public/browser/notification_observer.h"
9 #include "content/public/browser/notification_registrar.h" 9 #include "content/public/browser/notification_registrar.h"
10 #include "content/public/browser/notification_source.h" 10 #include "content/public/browser/notification_source.h"
11 #include "content/public/browser/notification_types.h" 11 #include "content/public/browser/notification_types.h"
12 #include "content/public/browser/web_contents.h" 12 #include "content/public/browser/web_contents.h"
13 #include "grit/theme_resources.h" 13 #include "grit/theme_resources_standard.h"
14 #include "ui/base/animation/linear_animation.h" 14 #include "ui/base/animation/linear_animation.h"
15 #include "ui/base/resource/resource_bundle.h" 15 #include "ui/base/resource/resource_bundle.h"
16 #include "ui/gfx/rect.h" 16 #include "ui/gfx/rect.h"
17 #include "ui/views/controls/image_view.h" 17 #include "ui/views/controls/image_view.h"
18 #include "ui/views/widget/widget.h" 18 #include "ui/views/widget/widget.h"
19 19
20 using content::WebContents; 20 using content::WebContents;
21 21
22 // How long to spend moving downwards and fading out after waiting. 22 // How long to spend moving downwards and fading out after waiting.
23 static const int kMoveTimeMs = 600; 23 static const int kMoveTimeMs = 600;
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 } 180 }
181 181
182 } // namespace 182 } // namespace
183 183
184 // static 184 // static
185 void DownloadStartedAnimation::Show(WebContents* web_contents) { 185 void DownloadStartedAnimation::Show(WebContents* web_contents) {
186 // The animation will delete itself when it's finished or when the tab 186 // The animation will delete itself when it's finished or when the tab
187 // contents is hidden or destroyed. 187 // contents is hidden or destroyed.
188 new DownloadStartedAnimationWin(web_contents); 188 new DownloadStartedAnimationWin(web_contents);
189 } 189 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/download/download_item_view.cc ('k') | chrome/browser/ui/views/edit_search_engine_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698