summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/download_item_view.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-23 21:55:52 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-23 21:55:52 +0000
commita8111ce7343d3d6458eff4a5f370cf611f6753b4 (patch)
tree30dfb0171c2e450f0271d3c787ac0cfbc06e663b /chrome/browser/views/download_item_view.h
parente48211e18675bec9056fb0762ec1c6644b0ff32e (diff)
downloadchromium_src-a8111ce7343d3d6458eff4a5f370cf611f6753b4.zip
chromium_src-a8111ce7343d3d6458eff4a5f370cf611f6753b4.tar.gz
chromium_src-a8111ce7343d3d6458eff4a5f370cf611f6753b4.tar.bz2
The death knell for the old native buttons, checkboxes and radio buttons.
Replace with renamed NativeButton2, Checkbox2, RadioButton2. Review URL: http://codereview.chromium.org/50083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12317 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/download_item_view.h')
-rw-r--r--chrome/browser/views/download_item_view.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/chrome/browser/views/download_item_view.h b/chrome/browser/views/download_item_view.h
index 8f87c04..d266935 100644
--- a/chrome/browser/views/download_item_view.h
+++ b/chrome/browser/views/download_item_view.h
@@ -21,22 +21,24 @@
#include "base/basictypes.h"
#include "base/scoped_ptr.h"
#include "base/timer.h"
+#include "chrome/common/gfx/chrome_font.h"
#include "chrome/common/slide_animation.h"
#include "chrome/browser/cancelable_request.h"
#include "chrome/browser/download/download_manager.h"
#include "chrome/browser/icon_manager.h"
#include "chrome/views/event.h"
-#include "chrome/views/controls/button/native_button.h"
+#include "chrome/views/controls/button/button.h"
#include "chrome/views/view.h"
namespace views {
class Label;
+class NativeButton;
}
class BaseDownloadItemModel;
class DownloadShelfView;
class SkBitmap;
-class DownloadItemView : public views::NativeButton::Listener,
+class DownloadItemView : public views::ButtonListener,
public views::View,
public DownloadItem::Observer,
public AnimationDelegate {
@@ -59,8 +61,8 @@ class DownloadItemView : public views::NativeButton::Listener,
virtual void OnMouseReleased(const views::MouseEvent& event, bool canceled);
virtual bool OnMouseDragged(const views::MouseEvent& event);
- // NativeButton::Listener implementation.
- virtual void ButtonPressed(views::NativeButton* sender);
+ // ButtonListener implementation.
+ virtual void ButtonPressed(views::Button* sender);
// AnimationDelegate implementation.
virtual void AnimationProgressed(const Animation* animation);