diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-16 23:51:38 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-16 23:51:38 +0000 |
commit | c2dacc9ec41232903ba700c6aef5ef98bfcb8af8 (patch) | |
tree | 4aa4d7100862c64bdd92d70e6323001beb19edb7 /chrome/browser/views/shelf_item_dialog.h | |
parent | d66e710ec668e34271def44d7f0416260657171c (diff) | |
download | chromium_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/shelf_item_dialog.h')
-rw-r--r-- | chrome/browser/views/shelf_item_dialog.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/chrome/browser/views/shelf_item_dialog.h b/chrome/browser/views/shelf_item_dialog.h index 6c0c587..fe6e8bb3 100644 --- a/chrome/browser/views/shelf_item_dialog.h +++ b/chrome/browser/views/shelf_item_dialog.h @@ -14,7 +14,7 @@ #include "chrome/views/view.h" #include "chrome/views/window.h" -namespace ChromeViews { +namespace views { class Button; class Label; } @@ -40,10 +40,10 @@ class ShelfItemDialogDelegate { // ShelfItemDialog deletes itself when the dialog is closed. // //////////////////////////////////////////////////////////////////////////////// -class ShelfItemDialog : public ChromeViews::View, - public ChromeViews::DialogDelegate, - public ChromeViews::TextField::Controller, - public ChromeViews::TableViewObserver { +class ShelfItemDialog : public views::View, + public views::DialogDelegate, + public views::TextField::Controller, + public views::TableViewObserver { public: ShelfItemDialog(ShelfItemDialogDelegate* delegate, Profile* profile, @@ -63,18 +63,18 @@ class ShelfItemDialog : public ChromeViews::View, virtual std::wstring GetDialogButtonLabel(DialogButton button) const; virtual bool Accept(); virtual bool IsDialogButtonEnabled(DialogButton button) const; - virtual ChromeViews::View* GetContentsView(); + virtual views::View* GetContentsView(); // TextField::Controller. - virtual void ContentsChanged(ChromeViews::TextField* sender, + virtual void ContentsChanged(views::TextField* sender, const std::wstring& new_contents); - virtual void HandleKeystroke(ChromeViews::TextField* sender, + virtual void HandleKeystroke(views::TextField* sender, UINT message, TCHAR key, UINT repeat_count, UINT flags) {} // Overridden from View. virtual gfx::Size GetPreferredSize(); - virtual bool AcceleratorPressed(const ChromeViews::Accelerator& accelerator); + virtual bool AcceleratorPressed(const views::Accelerator& accelerator); // TableViewObserver. virtual void OnSelectionChanged(); @@ -101,16 +101,16 @@ class ShelfItemDialog : public ChromeViews::View, Profile* profile_; // URL Field. - ChromeViews::TextField* url_field_; + views::TextField* url_field_; // Title field. This is NULL if we're not showing the title. - ChromeViews::TextField* title_field_; + views::TextField* title_field_; // The table model. scoped_ptr<PossibleURLModel> url_table_model_; // The table of visited urls. - ChromeViews::TableView* url_table_; + views::TableView* url_table_; // Handle of the title request we are expecting. CancelableRequestProvider::Handle expected_title_handle_; |