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>2008-10-16 23:51:38 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-16 23:51:38 +0000
commitc2dacc9ec41232903ba700c6aef5ef98bfcb8af8 (patch)
tree4aa4d7100862c64bdd92d70e6323001beb19edb7 /chrome/browser/views/download_item_view.h
parentd66e710ec668e34271def44d7f0416260657171c (diff)
downloadchromium_src-c2dacc9ec41232903ba700c6aef5ef98bfcb8af8.zip
chromium_src-c2dacc9ec41232903ba700c6aef5ef98bfcb8af8.tar.gz
chromium_src-c2dacc9ec41232903ba700c6aef5ef98bfcb8af8.tar.bz2
Rename ChromeViews namespace to views
http://crbug.com/2188 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3495 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/download_item_view.h')
-rw-r--r--chrome/browser/views/download_item_view.h27
1 files changed, 13 insertions, 14 deletions
diff --git a/chrome/browser/views/download_item_view.h b/chrome/browser/views/download_item_view.h
index 0fefcea..a785705 100644
--- a/chrome/browser/views/download_item_view.h
+++ b/chrome/browser/views/download_item_view.h
@@ -29,14 +29,14 @@
#include "chrome/views/native_button.h"
#include "chrome/views/view.h"
-namespace ChromeViews {
- class Label;
+namespace views {
+class Label;
}
class DownloadShelfView;
class SkBitmap;
-class DownloadItemView : public ChromeViews::NativeButton::Listener,
- public ChromeViews::View,
+class DownloadItemView : public views::NativeButton::Listener,
+ public views::View,
public DownloadItem::Observer,
public AnimationDelegate {
public:
@@ -63,15 +63,14 @@ class DownloadItemView : public ChromeViews::NativeButton::Listener,
virtual void Layout();
virtual void Paint(ChromeCanvas* canvas);
virtual gfx::Size GetPreferredSize();
- virtual void OnMouseExited(const ChromeViews::MouseEvent& event);
- virtual void OnMouseMoved(const ChromeViews::MouseEvent& event);
- virtual bool OnMousePressed(const ChromeViews::MouseEvent& event);
- virtual void OnMouseReleased(const ChromeViews::MouseEvent& event,
- bool canceled);
- virtual bool OnMouseDragged(const ChromeViews::MouseEvent& event);
+ virtual void OnMouseExited(const views::MouseEvent& event);
+ virtual void OnMouseMoved(const views::MouseEvent& event);
+ virtual bool OnMousePressed(const views::MouseEvent& event);
+ virtual void OnMouseReleased(const views::MouseEvent& event, bool canceled);
+ virtual bool OnMouseDragged(const views::MouseEvent& event);
// NativeButton::Listener implementation.
- virtual void ButtonPressed(ChromeViews::NativeButton* sender);
+ virtual void ButtonPressed(views::NativeButton* sender);
// AnimationDelegate implementation.
virtual void AnimationProgressed(const Animation* animation);
@@ -217,11 +216,11 @@ class DownloadItemView : public ChromeViews::NativeButton::Listener,
base::RepeatingTimer<DownloadItemView> progress_timer_;
// Dangerous mode buttons.
- ChromeViews::NativeButton* save_button_;
- ChromeViews::NativeButton* discard_button_;
+ views::NativeButton* save_button_;
+ views::NativeButton* discard_button_;
// Dangerous mode label.
- ChromeViews::Label* dangerous_download_label_;
+ views::Label* dangerous_download_label_;
// Whether the dangerous mode label has been sized yet.
bool dangerous_download_label_sized_;