| 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 // Use BrowserWindow::ShowCollectedCookiesDialog to show. | 44 // Use BrowserWindow::ShowCollectedCookiesDialog to show. |
| 45 explicit CollectedCookiesViews(content::WebContents* web_contents); | 45 explicit CollectedCookiesViews(content::WebContents* web_contents); |
| 46 | 46 |
| 47 // views::DialogDelegate: | 47 // views::DialogDelegate: |
| 48 base::string16 GetWindowTitle() const override; | 48 base::string16 GetWindowTitle() const override; |
| 49 int GetDialogButtons() const override; | 49 int GetDialogButtons() const override; |
| 50 base::string16 GetDialogButtonLabel(ui::DialogButton button) const override; | 50 base::string16 GetDialogButtonLabel(ui::DialogButton button) const override; |
| 51 bool Cancel() override; | 51 bool Cancel() override; |
| 52 ui::ModalType GetModalType() const override; | 52 ui::ModalType GetModalType() const override; |
| 53 | 53 |
| 54 // views::WidgetDelegate: |
| 55 views::View* GetInitiallyFocusedView() override; |
| 56 |
| 54 // views::ButtonListener: | 57 // views::ButtonListener: |
| 55 void ButtonPressed(views::Button* sender, const ui::Event& event) override; | 58 void ButtonPressed(views::Button* sender, const ui::Event& event) override; |
| 56 | 59 |
| 57 // views::TabbedPaneListener: | 60 // views::TabbedPaneListener: |
| 58 void TabSelectedAt(int index) override; | 61 void TabSelectedAt(int index) override; |
| 59 | 62 |
| 60 // views::TreeViewController: | 63 // views::TreeViewController: |
| 61 void OnTreeViewSelectionChanged(views::TreeView* tree_view) override; | 64 void OnTreeViewSelectionChanged(views::TreeView* tree_view) override; |
| 62 | 65 |
| 63 // views::View: | 66 // views::View: |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 CookieInfoView* cookie_info_view_; | 117 CookieInfoView* cookie_info_view_; |
| 115 | 118 |
| 116 InfobarView* infobar_; | 119 InfobarView* infobar_; |
| 117 | 120 |
| 118 bool status_changed_; | 121 bool status_changed_; |
| 119 | 122 |
| 120 DISALLOW_COPY_AND_ASSIGN(CollectedCookiesViews); | 123 DISALLOW_COPY_AND_ASSIGN(CollectedCookiesViews); |
| 121 }; | 124 }; |
| 122 | 125 |
| 123 #endif // CHROME_BROWSER_UI_VIEWS_COLLECTED_COOKIES_VIEWS_H_ | 126 #endif // CHROME_BROWSER_UI_VIEWS_COLLECTED_COOKIES_VIEWS_H_ |
| OLD | NEW |