summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/clear_browsing_data.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/clear_browsing_data.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/clear_browsing_data.h')
-rw-r--r--chrome/browser/views/clear_browsing_data.h60
1 files changed, 30 insertions, 30 deletions
diff --git a/chrome/browser/views/clear_browsing_data.h b/chrome/browser/views/clear_browsing_data.h
index a1eac38..9b000fb 100644
--- a/chrome/browser/views/clear_browsing_data.h
+++ b/chrome/browser/views/clear_browsing_data.h
@@ -13,11 +13,11 @@
#include "chrome/views/native_button.h"
#include "chrome/views/view.h"
-namespace ChromeViews {
- class CheckBox;
- class Label;
- class Throbber;
- class Window;
+namespace views {
+class CheckBox;
+class Label;
+class Throbber;
+class Window;
}
class Profile;
@@ -30,10 +30,10 @@ class MessageLoop;
// etc).
//
////////////////////////////////////////////////////////////////////////////////
-class ClearBrowsingDataView : public ChromeViews::View,
- public ChromeViews::DialogDelegate,
- public ChromeViews::ComboBox::Model,
- public ChromeViews::NativeButton::Listener,
+class ClearBrowsingDataView : public views::View,
+ public views::DialogDelegate,
+ public views::ComboBox::Model,
+ public views::NativeButton::Listener,
public BrowsingDataRemover::Observer {
public:
explicit ClearBrowsingDataView(Profile* profile);
@@ -42,14 +42,14 @@ class ClearBrowsingDataView : public ChromeViews::View,
// Initialize the controls on the dialog.
void Init();
- // Overridden from ChromeViews::View:
+ // Overridden from views::View:
virtual gfx::Size GetPreferredSize();
virtual void Layout();
void ViewHierarchyChanged(bool is_add,
- ChromeViews::View* parent,
- ChromeViews::View* child);
+ views::View* parent,
+ views::View* child);
- // Overridden from ChromeViews::DialogDelegate:
+ // Overridden from views::DialogDelegate:
virtual std::wstring GetDialogButtonLabel(DialogButton button) const;
virtual bool IsDialogButtonEnabled(DialogButton button) const;
virtual bool CanResize() const;
@@ -59,18 +59,18 @@ class ClearBrowsingDataView : public ChromeViews::View,
virtual bool IsModal() const;
virtual std::wstring GetWindowTitle() const;
virtual bool Accept();
- virtual ChromeViews::View* GetContentsView();
+ virtual views::View* GetContentsView();
- // Overridden from ChromeViews::ComboBox::Model:
- virtual int GetItemCount(ChromeViews::ComboBox* source);
- virtual std::wstring GetItemAt(ChromeViews::ComboBox* source, int index);
+ // Overridden from views::ComboBox::Model:
+ virtual int GetItemCount(views::ComboBox* source);
+ virtual std::wstring GetItemAt(views::ComboBox* source, int index);
- // Overridden from ChromeViews::NativeButton::Listener:
- virtual void ButtonPressed(ChromeViews::NativeButton* sender);
+ // Overridden from views::NativeButton::Listener:
+ virtual void ButtonPressed(views::NativeButton* sender);
private:
// Adds a new check-box as a child to the view.
- ChromeViews::CheckBox* AddCheckbox(const std::wstring& text, bool checked);
+ views::CheckBox* AddCheckbox(const std::wstring& text, bool checked);
// Sets the controls on the UI to be enabled/disabled depending on whether we
// have a delete operation in progress or not.
@@ -84,17 +84,17 @@ class ClearBrowsingDataView : public ChromeViews::View,
virtual void OnBrowsingDataRemoverDone();
// UI elements we add to the parent view.
- scoped_ptr<ChromeViews::Throbber> throbber_;
- ChromeViews::Label status_label_;
+ scoped_ptr<views::Throbber> throbber_;
+ views::Label status_label_;
// Other UI elements.
- ChromeViews::Label* delete_all_label_;
- ChromeViews::CheckBox* del_history_checkbox_;
- ChromeViews::CheckBox* del_downloads_checkbox_;
- ChromeViews::CheckBox* del_cache_checkbox_;
- ChromeViews::CheckBox* del_cookies_checkbox_;
- ChromeViews::CheckBox* del_passwords_checkbox_;
- ChromeViews::Label* time_period_label_;
- ChromeViews::ComboBox* time_period_combobox_;
+ views::Label* delete_all_label_;
+ views::CheckBox* del_history_checkbox_;
+ views::CheckBox* del_downloads_checkbox_;
+ views::CheckBox* del_cache_checkbox_;
+ views::CheckBox* del_cookies_checkbox_;
+ views::CheckBox* del_passwords_checkbox_;
+ views::Label* time_period_label_;
+ views::ComboBox* time_period_combobox_;
// Used to signal enabled/disabled state for controls in the UI.
bool delete_in_progress_;