| 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 "chrome/common/content_settings.h" | 9 #include "chrome/common/content_settings.h" |
| 10 #include "content/public/browser/notification_observer.h" | 10 #include "content/public/browser/notification_observer.h" |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 public: | 43 public: |
| 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 virtual string16 GetWindowTitle() const OVERRIDE; | 48 virtual string16 GetWindowTitle() const OVERRIDE; |
| 49 virtual int GetDialogButtons() const OVERRIDE; | 49 virtual int GetDialogButtons() const OVERRIDE; |
| 50 virtual string16 GetDialogButtonLabel(ui::DialogButton button) const OVERRIDE; | 50 virtual string16 GetDialogButtonLabel(ui::DialogButton button) const OVERRIDE; |
| 51 virtual void DeleteDelegate() OVERRIDE; | 51 virtual void DeleteDelegate() OVERRIDE; |
| 52 virtual bool Cancel() OVERRIDE; | 52 virtual bool Cancel() OVERRIDE; |
| 53 virtual views::View* GetContentsView() OVERRIDE; | |
| 54 virtual ui::ModalType GetModalType() const OVERRIDE; | 53 virtual ui::ModalType GetModalType() const OVERRIDE; |
| 55 | 54 |
| 56 // views::ButtonListener: | 55 // views::ButtonListener: |
| 57 virtual void ButtonPressed(views::Button* sender, | 56 virtual void ButtonPressed(views::Button* sender, |
| 58 const ui::Event& event) OVERRIDE; | 57 const ui::Event& event) OVERRIDE; |
| 59 | 58 |
| 60 // views::TabbedPaneListener: | 59 // views::TabbedPaneListener: |
| 61 virtual void TabSelectedAt(int index) OVERRIDE; | 60 virtual void TabSelectedAt(int index) OVERRIDE; |
| 62 | 61 |
| 63 // views::TreeViewController: | 62 // views::TreeViewController: |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 CookieInfoView* cookie_info_view_; | 111 CookieInfoView* cookie_info_view_; |
| 113 | 112 |
| 114 InfobarView* infobar_; | 113 InfobarView* infobar_; |
| 115 | 114 |
| 116 bool status_changed_; | 115 bool status_changed_; |
| 117 | 116 |
| 118 DISALLOW_COPY_AND_ASSIGN(CollectedCookiesViews); | 117 DISALLOW_COPY_AND_ASSIGN(CollectedCookiesViews); |
| 119 }; | 118 }; |
| 120 | 119 |
| 121 #endif // CHROME_BROWSER_UI_VIEWS_COLLECTED_COOKIES_VIEWS_H_ | 120 #endif // CHROME_BROWSER_UI_VIEWS_COLLECTED_COOKIES_VIEWS_H_ |
| OLD | NEW |