Chromium Code Reviews| Index: chrome/browser/views/database_open_info_view.h |
| diff --git a/chrome/browser/views/database_open_info_view.h b/chrome/browser/views/database_open_info_view.h |
| index 84954f546e1f639859ebafdd5c0dd75ef7e4e482..63d24e22c6bacd29eaea5bf4158305949c8a3211 100644 |
| --- a/chrome/browser/views/database_open_info_view.h |
| +++ b/chrome/browser/views/database_open_info_view.h |
| @@ -5,47 +5,25 @@ |
| #ifndef CHROME_BROWSER_VIEWS_DATABASE_OPEN_INFO_VIEW_H_ |
| #define CHROME_BROWSER_VIEWS_DATABASE_OPEN_INFO_VIEW_H_ |
| -#include <string> |
| -#include <vector> |
| - |
| #include "base/string16.h" |
| -#include "views/view.h" |
| - |
| -namespace views { |
| -class Label; |
| -class Textfield; |
| -} |
| +#include "chrome/browser/views/generic_info_view.h" |
| /////////////////////////////////////////////////////////////////////////////// |
| // DatabaseOpenInfoView |
| // |
| // Responsible for displaying a tabular grid of Database information when |
| // prompting for permission to open a new database. |
| -class DatabaseOpenInfoView : public views::View { |
| +class DatabaseOpenInfoView : public GenericInfoView { |
|
michaeln
2010/03/30 19:08:13
Thnx!
|
| public: |
| DatabaseOpenInfoView(); |
| - virtual ~DatabaseOpenInfoView(); |
| // Update the display from the specified Database data. |
| void SetFields(const std::string& host, |
| - const string16& database_name); |
| - |
| - // Enables or disables the local storate property text fields. |
| - void EnableDisplay(bool enabled); |
| - |
| - protected: |
| - // views::View overrides: |
| - virtual void ViewHierarchyChanged( |
| - bool is_add, views::View* parent, views::View* child); |
| + const string16& database_name, |
| + const string16& display_name, |
| + unsigned long estimated_size); |
| private: |
| - // Set up the view layout |
| - void Init(); |
| - |
| - // Individual property labels |
| - views::Textfield* host_value_field_; |
| - views::Textfield* database_name_value_field_; |
| - |
| DISALLOW_COPY_AND_ASSIGN(DatabaseOpenInfoView); |
| }; |