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_ABOUT_CHROME_VIEW_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_ABOUT_CHROME_VIEW_H_ |
6 #define CHROME_BROWSER_VIEWS_ABOUT_CHROME_VIEW_H_ | 6 #define CHROME_BROWSER_VIEWS_ABOUT_CHROME_VIEW_H_ |
7 | 7 |
8 #include "views/controls/image_view.h" | 8 #include "views/controls/image_view.h" |
9 #include "views/controls/label.h" | 9 #include "views/controls/label.h" |
10 #include "views/controls/link.h" | 10 #include "views/controls/link.h" |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 views::View* parent, | 56 views::View* parent, |
57 views::View* child); | 57 views::View* child); |
58 | 58 |
59 // Overridden from views::DialogDelegate: | 59 // Overridden from views::DialogDelegate: |
60 virtual std::wstring GetDialogButtonLabel( | 60 virtual std::wstring GetDialogButtonLabel( |
61 MessageBoxFlags::DialogButton button) const; | 61 MessageBoxFlags::DialogButton button) const; |
62 virtual bool IsDialogButtonEnabled( | 62 virtual bool IsDialogButtonEnabled( |
63 MessageBoxFlags::DialogButton button) const; | 63 MessageBoxFlags::DialogButton button) const; |
64 virtual bool IsDialogButtonVisible( | 64 virtual bool IsDialogButtonVisible( |
65 MessageBoxFlags::DialogButton button) const; | 65 MessageBoxFlags::DialogButton button) const; |
| 66 virtual int GetDefaultDialogButton() const; |
66 virtual bool CanResize() const; | 67 virtual bool CanResize() const; |
67 virtual bool CanMaximize() const; | 68 virtual bool CanMaximize() const; |
68 virtual bool IsAlwaysOnTop() const; | 69 virtual bool IsAlwaysOnTop() const; |
69 virtual bool HasAlwaysOnTopMenu() const; | 70 virtual bool HasAlwaysOnTopMenu() const; |
70 virtual bool IsModal() const; | 71 virtual bool IsModal() const; |
71 virtual std::wstring GetWindowTitle() const; | 72 virtual std::wstring GetWindowTitle() const; |
72 virtual bool Accept(); | 73 virtual bool Accept(); |
73 virtual views::View* GetContentsView(); | 74 virtual views::View* GetContentsView(); |
74 | 75 |
75 // Overridden from views::LinkController: | 76 // Overridden from views::LinkController: |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 // Used to request the version. | 170 // Used to request the version. |
170 CancelableRequestConsumer consumer_; | 171 CancelableRequestConsumer consumer_; |
171 #endif | 172 #endif |
172 | 173 |
173 scoped_ptr<AccessibleViewHelper> accessible_view_helper_; | 174 scoped_ptr<AccessibleViewHelper> accessible_view_helper_; |
174 | 175 |
175 DISALLOW_COPY_AND_ASSIGN(AboutChromeView); | 176 DISALLOW_COPY_AND_ASSIGN(AboutChromeView); |
176 }; | 177 }; |
177 | 178 |
178 #endif // CHROME_BROWSER_VIEWS_ABOUT_CHROME_VIEW_H_ | 179 #endif // CHROME_BROWSER_VIEWS_ABOUT_CHROME_VIEW_H_ |
OLD | NEW |