diff options
author | jorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-20 19:26:20 +0000 |
---|---|---|
committer | jorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-20 19:26:20 +0000 |
commit | 289b7512f3459bafd9973177fa3774fbf81d2013 (patch) | |
tree | c6ff753cfeb5ba980a6a32f062a5cb34663a48fa /chrome/browser/views/options/cookies_view.h | |
parent | a08e25e5c1d42d5b3e8382169c838226f419761d (diff) | |
download | chromium_src-289b7512f3459bafd9973177fa3774fbf81d2013.zip chromium_src-289b7512f3459bafd9973177fa3774fbf81d2013.tar.gz chromium_src-289b7512f3459bafd9973177fa3774fbf81d2013.tar.bz2 |
Revert last 3 patches. Sorry guys. :-(
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36652 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/options/cookies_view.h')
-rw-r--r-- | chrome/browser/views/options/cookies_view.h | 57 |
1 files changed, 1 insertions, 56 deletions
diff --git a/chrome/browser/views/options/cookies_view.h b/chrome/browser/views/options/cookies_view.h index 91d6cf4a..d7c1b23 100644 --- a/chrome/browser/views/options/cookies_view.h +++ b/chrome/browser/views/options/cookies_view.h @@ -8,7 +8,6 @@ #include <string> #include "base/task.h" -#include "chrome/browser/browsing_data_local_storage_helper.h" #include "net/base/cookie_monster.h" #include "views/controls/button/button.h" #include "views/controls/tree/tree_view.h" @@ -25,11 +24,9 @@ class NativeButton; } // namespace views -class BrowsingDataLocalStorageHelper; class CookieInfoView; class CookiesTreeModel; class CookiesTreeView; -class LocalStorageInfoView; class Profile; class Timer; @@ -99,23 +96,13 @@ class CookiesView : public views::View, // Update the UI when there are no cookies. void UpdateForEmptyState(); - // Update the UI when a cookie is selected. - void UpdateForCookieState(); - - // Update the UI when a local storage is selected. - void UpdateForLocalStorageState(); - - // Updates view to be visible inside detailed_info_view_; - void UpdateVisibleDetailedInfo(views::View* view); - // Assorted dialog controls views::Label* search_label_; views::Textfield* search_field_; views::NativeButton* clear_search_button_; views::Label* description_label_; CookiesTreeView* cookies_tree_; - CookieInfoView* cookie_info_view_; - LocalStorageInfoView* local_storage_info_view_; + CookieInfoView* info_view_; views::NativeButton* remove_button_; views::NativeButton* remove_all_button_; @@ -185,46 +172,4 @@ class CookieInfoView : public views::View { DISALLOW_COPY_AND_ASSIGN(CookieInfoView); }; -/////////////////////////////////////////////////////////////////////////////// -// LocalStorageInfoView -// -// Responsible for displaying a tabular grid of Local Storage information. -class LocalStorageInfoView : public views::View { - public: - LocalStorageInfoView(); - virtual ~LocalStorageInfoView(); - - // Update the display from the specified Local Storage info. - void SetLocalStorageInfo( - const BrowsingDataLocalStorageHelper::LocalStorageInfo& - local_storage_info); - - // Clears the cookie display to indicate that no or multiple local storages - // are selected. - void ClearLocalStorageDisplay(); - - // Enables or disables the local storate property text fields. - void EnableLocalStorageDisplay(bool enabled); - - protected: - // views::View overrides: - virtual void ViewHierarchyChanged( - bool is_add, views::View* parent, views::View* child); - - private: - // Set up the view layout - void Init(); - - // Individual property labels - views::Label* origin_label_; - views::Textfield* origin_value_field_; - views::Label* size_label_; - views::Textfield* size_value_field_; - views::Label* last_modified_label_; - views::Textfield* last_modified_value_field_; - - DISALLOW_COPY_AND_ASSIGN(LocalStorageInfoView); -}; - - #endif // CHROME_BROWSER_VIEWS_OPTIONS_COOKIES_VIEW_H_ |