| 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_UI_VIEWS_CLEAR_BROWSING_DATA_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_CLEAR_BROWSING_DATA_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_CLEAR_BROWSING_DATA_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_CLEAR_BROWSING_DATA_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/browser/browsing_data_remover.h" | 9 #include "chrome/browser/browsing_data_remover.h" |
| 10 #include "ui/base/models/combobox_model.h" | 10 #include "ui/base/models/combobox_model.h" |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 virtual bool IsDialogButtonEnabled( | 57 virtual bool IsDialogButtonEnabled( |
| 58 MessageBoxFlags::DialogButton button) const; | 58 MessageBoxFlags::DialogButton button) const; |
| 59 virtual bool CanResize() const; | 59 virtual bool CanResize() const; |
| 60 virtual bool CanMaximize() const; | 60 virtual bool CanMaximize() const; |
| 61 virtual bool IsAlwaysOnTop() const; | 61 virtual bool IsAlwaysOnTop() const; |
| 62 virtual bool HasAlwaysOnTopMenu() const; | 62 virtual bool HasAlwaysOnTopMenu() const; |
| 63 virtual bool IsModal() const; | 63 virtual bool IsModal() const; |
| 64 virtual std::wstring GetWindowTitle() const; | 64 virtual std::wstring GetWindowTitle() const; |
| 65 virtual bool Accept(); | 65 virtual bool Accept(); |
| 66 virtual views::View* GetContentsView(); | 66 virtual views::View* GetContentsView(); |
| 67 views::ClientView* CreateClientView(views::Window* window); | 67 virtual views::ClientView* CreateClientView(views::Window* window); |
| 68 virtual views::View* GetExtraView() { return throbber_view_; } | 68 virtual views::View* GetExtraView(); |
| 69 virtual bool GetSizeExtraViewHeightToButtons() { return true; } | 69 virtual bool GetSizeExtraViewHeightToButtons(); |
| 70 virtual views::View* GetInitiallyFocusedView(); | 70 virtual views::View* GetInitiallyFocusedView(); |
| 71 | 71 |
| 72 // Overridden from ui::ComboboxModel: | 72 // Overridden from ui::ComboboxModel: |
| 73 virtual int GetItemCount(); | 73 virtual int GetItemCount(); |
| 74 virtual string16 GetItemAt(int index); | 74 virtual string16 GetItemAt(int index); |
| 75 | 75 |
| 76 // Overridden from views::Combobox::Listener: | 76 // Overridden from views::Combobox::Listener: |
| 77 virtual void ItemChanged(views::Combobox* sender, int prev_index, | 77 virtual void ItemChanged(views::Combobox* sender, int prev_index, |
| 78 int new_index); | 78 int new_index); |
| 79 | 79 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 Profile* profile_; | 119 Profile* profile_; |
| 120 | 120 |
| 121 // If non-null it means removal is in progress. BrowsingDataRemover takes care | 121 // If non-null it means removal is in progress. BrowsingDataRemover takes care |
| 122 // of deleting itself when done. | 122 // of deleting itself when done. |
| 123 BrowsingDataRemover* remover_; | 123 BrowsingDataRemover* remover_; |
| 124 | 124 |
| 125 DISALLOW_COPY_AND_ASSIGN(ClearBrowsingDataView); | 125 DISALLOW_COPY_AND_ASSIGN(ClearBrowsingDataView); |
| 126 }; | 126 }; |
| 127 | 127 |
| 128 #endif // CHROME_BROWSER_UI_VIEWS_CLEAR_BROWSING_DATA_H_ | 128 #endif // CHROME_BROWSER_UI_VIEWS_CLEAR_BROWSING_DATA_H_ |
| OLD | NEW |