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

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

Issue 8566052: views: Delete bubble, events, focus, layout directories and its stubbed files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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.
(...skipping 13 matching lines...) Expand all
24 #include "base/memory/weak_ptr.h" 24 #include "base/memory/weak_ptr.h"
25 #include "base/string_util.h" 25 #include "base/string_util.h"
26 #include "base/time.h" 26 #include "base/time.h"
27 #include "base/timer.h" 27 #include "base/timer.h"
28 #include "chrome/browser/icon_manager.h" 28 #include "chrome/browser/icon_manager.h"
29 #include "content/browser/cancelable_request.h" 29 #include "content/browser/cancelable_request.h"
30 #include "content/browser/download/download_item.h" 30 #include "content/browser/download/download_item.h"
31 #include "content/browser/download/download_manager.h" 31 #include "content/browser/download/download_manager.h"
32 #include "ui/base/animation/animation_delegate.h" 32 #include "ui/base/animation/animation_delegate.h"
33 #include "ui/gfx/font.h" 33 #include "ui/gfx/font.h"
34 #include "ui/views/events/event.h"
34 #include "views/controls/button/button.h" 35 #include "views/controls/button/button.h"
35 #include "views/events/event.h"
36 #include "views/view.h" 36 #include "views/view.h"
37 37
38 class BaseDownloadItemModel; 38 class BaseDownloadItemModel;
39 class DownloadShelfView; 39 class DownloadShelfView;
40 class SkBitmap; 40 class SkBitmap;
41 class DownloadShelfContextMenuView; 41 class DownloadShelfContextMenuView;
42 42
43 namespace gfx { 43 namespace gfx {
44 class Image; 44 class Image;
45 } 45 }
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 288
289 // The icon loaded in the download shelf is based on the file path of the 289 // The icon loaded in the download shelf is based on the file path of the
290 // item. Store the path used, so that we can detect a change in the path 290 // item. Store the path used, so that we can detect a change in the path
291 // and reload the icon. 291 // and reload the icon.
292 FilePath last_download_item_path_; 292 FilePath last_download_item_path_;
293 293
294 DISALLOW_COPY_AND_ASSIGN(DownloadItemView); 294 DISALLOW_COPY_AND_ASSIGN(DownloadItemView);
295 }; 295 };
296 296
297 #endif // CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_ITEM_VIEW_H__ 297 #endif // CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_ITEM_VIEW_H__
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/download/download_in_progress_dialog_view.cc ('k') | chrome/browser/ui/views/dropdown_bar_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698