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

Side by Side Diff: chrome/browser/views/download_item_view.h

Issue 1132006: Move app/gfx/canvas and app/gfx/font to gfx/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 9 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) 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 // A ChromeView that implements one download on the Download shelf. 5 // A ChromeView that implements one download on the Download shelf.
6 // Each DownloadItemView contains an application icon, a text label 6 // Each DownloadItemView contains an application icon, a text label
7 // indicating the download's file name, a text label indicating the 7 // indicating the download's file name, a text label indicating the
8 // download's status (such as the number of bytes downloaded so far) 8 // download's status (such as the number of bytes downloaded so far)
9 // and a button for canceling an in progress download, or opening 9 // and a button for canceling an in progress download, or opening
10 // the completed download. 10 // the completed download.
11 // 11 //
12 // The DownloadItemView lives in the Browser, and has a corresponding 12 // The DownloadItemView lives in the Browser, and has a corresponding
13 // DownloadController that receives / writes data which lives in the 13 // DownloadController that receives / writes data which lives in the
14 // Renderer. 14 // Renderer.
15 15
16 #ifndef CHROME_BROWSER_VIEWS_DOWNLOAD_ITEM_VIEW_H__ 16 #ifndef CHROME_BROWSER_VIEWS_DOWNLOAD_ITEM_VIEW_H__
17 #define CHROME_BROWSER_VIEWS_DOWNLOAD_ITEM_VIEW_H__ 17 #define CHROME_BROWSER_VIEWS_DOWNLOAD_ITEM_VIEW_H__
18 18
19 #include <string> 19 #include <string>
20 20
21 #include "app/gfx/font.h"
22 #include "app/slide_animation.h" 21 #include "app/slide_animation.h"
23 #include "base/basictypes.h" 22 #include "base/basictypes.h"
24 #include "base/scoped_ptr.h" 23 #include "base/scoped_ptr.h"
25 #include "base/time.h" 24 #include "base/time.h"
26 #include "base/timer.h" 25 #include "base/timer.h"
27 #include "chrome/browser/cancelable_request.h" 26 #include "chrome/browser/cancelable_request.h"
28 #include "chrome/browser/download/download_manager.h" 27 #include "chrome/browser/download/download_manager.h"
29 #include "chrome/browser/icon_manager.h" 28 #include "chrome/browser/icon_manager.h"
29 #include "gfx/font.h"
30 #include "views/event.h" 30 #include "views/event.h"
31 #include "views/controls/button/button.h" 31 #include "views/controls/button/button.h"
32 #include "views/view.h" 32 #include "views/view.h"
33 33
34 namespace views { 34 namespace views {
35 class Label; 35 class Label;
36 class NativeButton; 36 class NativeButton;
37 } 37 }
38 class BaseDownloadItemModel; 38 class BaseDownloadItemModel;
39 class DownloadShelfView; 39 class DownloadShelfView;
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 // downloaded file. 246 // downloaded file.
247 ScopedRunnableMethodFactory<DownloadItemView> reenable_method_factory_; 247 ScopedRunnableMethodFactory<DownloadItemView> reenable_method_factory_;
248 248
249 // The currently running download context menu. 249 // The currently running download context menu.
250 scoped_ptr<DownloadShelfContextMenuWin> context_menu_; 250 scoped_ptr<DownloadShelfContextMenuWin> context_menu_;
251 251
252 DISALLOW_COPY_AND_ASSIGN(DownloadItemView); 252 DISALLOW_COPY_AND_ASSIGN(DownloadItemView);
253 }; 253 };
254 254
255 #endif // CHROME_BROWSER_VIEWS_DOWNLOAD_ITEM_VIEW_H__ 255 #endif // CHROME_BROWSER_VIEWS_DOWNLOAD_ITEM_VIEW_H__
OLDNEW
« no previous file with comments | « chrome/browser/views/detachable_toolbar_view.cc ('k') | chrome/browser/views/download_item_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698