| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_VIEWS_COLLECTED_COOKIES_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_COLLECTED_COOKIES_VIEWS_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_COLLECTED_COOKIES_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_COLLECTED_COOKIES_VIEWS_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "components/content_settings/core/common/content_settings.h" | 10 #include "components/content_settings/core/common/content_settings.h" |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 public: | 44 public: |
| 45 // Use BrowserWindow::ShowCollectedCookiesDialog to show. | 45 // Use BrowserWindow::ShowCollectedCookiesDialog to show. |
| 46 explicit CollectedCookiesViews(content::WebContents* web_contents); | 46 explicit CollectedCookiesViews(content::WebContents* web_contents); |
| 47 | 47 |
| 48 // views::DialogDelegate: | 48 // views::DialogDelegate: |
| 49 base::string16 GetWindowTitle() const override; | 49 base::string16 GetWindowTitle() const override; |
| 50 int GetDialogButtons() const override; | 50 int GetDialogButtons() const override; |
| 51 base::string16 GetDialogButtonLabel(ui::DialogButton button) const override; | 51 base::string16 GetDialogButtonLabel(ui::DialogButton button) const override; |
| 52 bool Cancel() override; | 52 bool Cancel() override; |
| 53 ui::ModalType GetModalType() const override; | 53 ui::ModalType GetModalType() const override; |
| 54 DialogWidth GetDefaultDialogWidth() const override; |
| 54 | 55 |
| 55 // views::ButtonListener: | 56 // views::ButtonListener: |
| 56 void ButtonPressed(views::Button* sender, const ui::Event& event) override; | 57 void ButtonPressed(views::Button* sender, const ui::Event& event) override; |
| 57 | 58 |
| 58 // views::TabbedPaneListener: | 59 // views::TabbedPaneListener: |
| 59 void TabSelectedAt(int index) override; | 60 void TabSelectedAt(int index) override; |
| 60 | 61 |
| 61 // views::TreeViewController: | 62 // views::TreeViewController: |
| 62 void OnTreeViewSelectionChanged(views::TreeView* tree_view) override; | 63 void OnTreeViewSelectionChanged(views::TreeView* tree_view) override; |
| 63 | 64 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 CookieInfoView* cookie_info_view_; | 115 CookieInfoView* cookie_info_view_; |
| 115 | 116 |
| 116 InfobarView* infobar_; | 117 InfobarView* infobar_; |
| 117 | 118 |
| 118 bool status_changed_; | 119 bool status_changed_; |
| 119 | 120 |
| 120 DISALLOW_COPY_AND_ASSIGN(CollectedCookiesViews); | 121 DISALLOW_COPY_AND_ASSIGN(CollectedCookiesViews); |
| 121 }; | 122 }; |
| 122 | 123 |
| 123 #endif // CHROME_BROWSER_UI_VIEWS_COLLECTED_COOKIES_VIEWS_H_ | 124 #endif // CHROME_BROWSER_UI_VIEWS_COLLECTED_COOKIES_VIEWS_H_ |
| OLD | NEW |