| 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 | 183 |
| 184 #if defined(OS_WIN) | 184 #if defined(OS_WIN) |
| 185 // The class that communicates with Google Update to find out if an update is | 185 // The class that communicates with Google Update to find out if an update is |
| 186 // available and asks it to start an upgrade. | 186 // available and asks it to start an upgrade. |
| 187 scoped_refptr<GoogleUpdate> google_updater_; | 187 scoped_refptr<GoogleUpdate> google_updater_; |
| 188 #endif | 188 #endif |
| 189 | 189 |
| 190 // Our current version. | 190 // Our current version. |
| 191 std::wstring current_version_; | 191 std::wstring current_version_; |
| 192 | 192 |
| 193 // Additional information about the version (channel and build number). |
| 194 std::wstring version_details_; |
| 195 |
| 193 // The version Google Update reports is available to us. | 196 // The version Google Update reports is available to us. |
| 194 std::wstring new_version_available_; | 197 std::wstring new_version_available_; |
| 195 | 198 |
| 196 // Whether text direction is left-to-right or right-to-left. | 199 // Whether text direction is left-to-right or right-to-left. |
| 197 bool text_direction_is_rtl_; | 200 bool text_direction_is_rtl_; |
| 198 | 201 |
| 199 #if defined(OS_CHROMEOS) | 202 #if defined(OS_CHROMEOS) |
| 200 // Handles asynchronously loading the version. | 203 // Handles asynchronously loading the version. |
| 201 chromeos::VersionLoader loader_; | 204 chromeos::VersionLoader loader_; |
| 202 | 205 |
| 203 // Used to request the version. | 206 // Used to request the version. |
| 204 CancelableRequestConsumer consumer_; | 207 CancelableRequestConsumer consumer_; |
| 205 #endif | 208 #endif |
| 206 | 209 |
| 207 DISALLOW_COPY_AND_ASSIGN(AboutChromeView); | 210 DISALLOW_COPY_AND_ASSIGN(AboutChromeView); |
| 208 }; | 211 }; |
| 209 | 212 |
| 210 #endif // CHROME_BROWSER_VIEWS_ABOUT_CHROME_VIEW_H_ | 213 #endif // CHROME_BROWSER_VIEWS_ABOUT_CHROME_VIEW_H_ |
| OLD | NEW |