| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_VIEWS_CLEAR_BROWSING_DATA_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_CLEAR_BROWSING_DATA_H_ |
| 6 #define CHROME_BROWSER_VIEWS_CLEAR_BROWSING_DATA_H_ | 6 #define CHROME_BROWSER_VIEWS_CLEAR_BROWSING_DATA_H_ |
| 7 | 7 |
| 8 #include "app/combobox_model.h" | 8 #include "app/combobox_model.h" |
| 9 #include "chrome/browser/browsing_data_remover.h" | 9 #include "chrome/browser/browsing_data_remover.h" |
| 10 #include "views/controls/button/button.h" | 10 #include "views/controls/button/button.h" |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 void Init(); | 44 void Init(); |
| 45 | 45 |
| 46 // Overridden from views::View: | 46 // Overridden from views::View: |
| 47 virtual gfx::Size GetPreferredSize(); | 47 virtual gfx::Size GetPreferredSize(); |
| 48 virtual void Layout(); | 48 virtual void Layout(); |
| 49 void ViewHierarchyChanged(bool is_add, | 49 void ViewHierarchyChanged(bool is_add, |
| 50 views::View* parent, | 50 views::View* parent, |
| 51 views::View* child); | 51 views::View* child); |
| 52 | 52 |
| 53 // Overridden from views::DialogDelegate: | 53 // Overridden from views::DialogDelegate: |
| 54 virtual int GetDefaultDialogButton() const; |
| 54 virtual std::wstring GetDialogButtonLabel( | 55 virtual std::wstring GetDialogButtonLabel( |
| 55 MessageBoxFlags::DialogButton button) const; | 56 MessageBoxFlags::DialogButton button) const; |
| 56 virtual bool IsDialogButtonEnabled( | 57 virtual bool IsDialogButtonEnabled( |
| 57 MessageBoxFlags::DialogButton button) const; | 58 MessageBoxFlags::DialogButton button) const; |
| 58 virtual bool CanResize() const; | 59 virtual bool CanResize() const; |
| 59 virtual bool CanMaximize() const; | 60 virtual bool CanMaximize() const; |
| 60 virtual bool IsAlwaysOnTop() const; | 61 virtual bool IsAlwaysOnTop() const; |
| 61 virtual bool HasAlwaysOnTopMenu() const; | 62 virtual bool HasAlwaysOnTopMenu() const; |
| 62 virtual bool IsModal() const; | 63 virtual bool IsModal() const; |
| 63 virtual std::wstring GetWindowTitle() const; | 64 virtual std::wstring GetWindowTitle() const; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 Profile* profile_; | 111 Profile* profile_; |
| 111 | 112 |
| 112 // If non-null it means removal is in progress. BrowsingDataRemover takes care | 113 // If non-null it means removal is in progress. BrowsingDataRemover takes care |
| 113 // of deleting itself when done. | 114 // of deleting itself when done. |
| 114 BrowsingDataRemover* remover_; | 115 BrowsingDataRemover* remover_; |
| 115 | 116 |
| 116 DISALLOW_COPY_AND_ASSIGN(ClearBrowsingDataView); | 117 DISALLOW_COPY_AND_ASSIGN(ClearBrowsingDataView); |
| 117 }; | 118 }; |
| 118 | 119 |
| 119 #endif // CHROME_BROWSER_VIEWS_CLEAR_BROWSING_DATA_H_ | 120 #endif // CHROME_BROWSER_VIEWS_CLEAR_BROWSING_DATA_H_ |
| OLD | NEW |