OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_ABOUT_CHROME_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_ABOUT_CHROME_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_ABOUT_CHROME_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_ABOUT_CHROME_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 std::string version); | 98 std::string version); |
99 #endif | 99 #endif |
100 | 100 |
101 | 101 |
102 Profile* profile_; | 102 Profile* profile_; |
103 | 103 |
104 // UI elements on the dialog. | 104 // UI elements on the dialog. |
105 views::ImageView* about_dlg_background_logo_; | 105 views::ImageView* about_dlg_background_logo_; |
106 views::Label* about_title_label_; | 106 views::Label* about_title_label_; |
107 views::Textfield* version_label_; | 107 views::Textfield* version_label_; |
108 #if defined(OS_CHROMEOS) | |
109 views::Textfield* os_version_label_; | 108 views::Textfield* os_version_label_; |
110 #endif | |
111 views::Label* copyright_label_; | 109 views::Label* copyright_label_; |
112 views::Label* main_text_label_; | 110 views::Label* main_text_label_; |
113 int main_text_label_height_; | 111 int main_text_label_height_; |
114 views::Link* chromium_url_; | 112 views::Link* chromium_url_; |
115 gfx::Rect chromium_url_rect_; | 113 gfx::Rect chromium_url_rect_; |
116 views::Link* open_source_url_; | 114 views::Link* open_source_url_; |
117 gfx::Rect open_source_url_rect_; | 115 gfx::Rect open_source_url_rect_; |
118 views::Link* terms_of_service_url_; | 116 views::Link* terms_of_service_url_; |
119 gfx::Rect terms_of_service_url_rect_; | 117 gfx::Rect terms_of_service_url_rect_; |
120 // UI elements we add to the parent view. | 118 // UI elements we add to the parent view. |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 chromeos::VersionLoader loader_; | 162 chromeos::VersionLoader loader_; |
165 | 163 |
166 // Used to request the version. | 164 // Used to request the version. |
167 CancelableRequestConsumer consumer_; | 165 CancelableRequestConsumer consumer_; |
168 #endif | 166 #endif |
169 | 167 |
170 DISALLOW_COPY_AND_ASSIGN(AboutChromeView); | 168 DISALLOW_COPY_AND_ASSIGN(AboutChromeView); |
171 }; | 169 }; |
172 | 170 |
173 #endif // CHROME_BROWSER_UI_VIEWS_ABOUT_CHROME_VIEW_H_ | 171 #endif // CHROME_BROWSER_UI_VIEWS_ABOUT_CHROME_VIEW_H_ |
OLD | NEW |