| 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 "views/controls/image_view.h" | 9 #include "views/controls/image_view.h" |
| 10 #include "views/controls/label.h" | 10 #include "views/controls/label.h" |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 std::string version); | 95 std::string version); |
| 96 #endif | 96 #endif |
| 97 | 97 |
| 98 | 98 |
| 99 Profile* profile_; | 99 Profile* profile_; |
| 100 | 100 |
| 101 // UI elements on the dialog. | 101 // UI elements on the dialog. |
| 102 views::ImageView* about_dlg_background_logo_; | 102 views::ImageView* about_dlg_background_logo_; |
| 103 views::Label* about_title_label_; | 103 views::Label* about_title_label_; |
| 104 views::Textfield* version_label_; | 104 views::Textfield* version_label_; |
| 105 #if defined(OS_CHROMEOS) | |
| 106 views::Textfield* os_version_label_; | 105 views::Textfield* os_version_label_; |
| 107 #endif | |
| 108 views::Label* copyright_label_; | 106 views::Label* copyright_label_; |
| 109 views::Label* main_text_label_; | 107 views::Label* main_text_label_; |
| 110 int main_text_label_height_; | 108 int main_text_label_height_; |
| 111 views::Link* chromium_url_; | 109 views::Link* chromium_url_; |
| 112 gfx::Rect chromium_url_rect_; | 110 gfx::Rect chromium_url_rect_; |
| 113 views::Link* open_source_url_; | 111 views::Link* open_source_url_; |
| 114 gfx::Rect open_source_url_rect_; | 112 gfx::Rect open_source_url_rect_; |
| 115 views::Link* terms_of_service_url_; | 113 views::Link* terms_of_service_url_; |
| 116 gfx::Rect terms_of_service_url_rect_; | 114 gfx::Rect terms_of_service_url_rect_; |
| 117 // UI elements we add to the parent view. | 115 // UI elements we add to the parent view. |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 chromeos::VersionLoader loader_; | 159 chromeos::VersionLoader loader_; |
| 162 | 160 |
| 163 // Used to request the version. | 161 // Used to request the version. |
| 164 CancelableRequestConsumer consumer_; | 162 CancelableRequestConsumer consumer_; |
| 165 #endif | 163 #endif |
| 166 | 164 |
| 167 DISALLOW_COPY_AND_ASSIGN(AboutChromeView); | 165 DISALLOW_COPY_AND_ASSIGN(AboutChromeView); |
| 168 }; | 166 }; |
| 169 | 167 |
| 170 #endif // CHROME_BROWSER_UI_VIEWS_ABOUT_CHROME_VIEW_H_ | 168 #endif // CHROME_BROWSER_UI_VIEWS_ABOUT_CHROME_VIEW_H_ |
| OLD | NEW |