| 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_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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 // Determines the order of the two links we draw in the main label. | 139 // Determines the order of the two links we draw in the main label. |
| 140 bool chromium_url_appears_first_; | 140 bool chromium_url_appears_first_; |
| 141 | 141 |
| 142 #if defined(OS_WIN) || defined(OS_CHROMEOS) | 142 #if defined(OS_WIN) || defined(OS_CHROMEOS) |
| 143 // The class that communicates with Google Update to find out if an update is | 143 // The class that communicates with Google Update to find out if an update is |
| 144 // available and asks it to start an upgrade. | 144 // available and asks it to start an upgrade. |
| 145 scoped_refptr<GoogleUpdate> google_updater_; | 145 scoped_refptr<GoogleUpdate> google_updater_; |
| 146 #endif | 146 #endif |
| 147 | 147 |
| 148 // Our current version. | 148 // Our current version. |
| 149 std::wstring current_version_; | 149 std::string current_version_; |
| 150 | 150 |
| 151 // Additional information about the version (channel and build number). | 151 // Additional information about the version (channel and build number). |
| 152 std::wstring version_details_; | 152 std::string version_details_; |
| 153 | 153 |
| 154 // The version Google Update reports is available to us. | 154 // The version Google Update reports is available to us. |
| 155 std::wstring new_version_available_; | 155 std::wstring new_version_available_; |
| 156 | 156 |
| 157 // Whether text direction is left-to-right or right-to-left. | 157 // Whether text direction is left-to-right or right-to-left. |
| 158 bool text_direction_is_rtl_; | 158 bool text_direction_is_rtl_; |
| 159 | 159 |
| 160 #if defined(OS_CHROMEOS) | 160 #if defined(OS_CHROMEOS) |
| 161 // Handles asynchronously loading the version. | 161 // Handles asynchronously loading the version. |
| 162 chromeos::VersionLoader loader_; | 162 chromeos::VersionLoader loader_; |
| 163 | 163 |
| 164 // Used to request the version. | 164 // Used to request the version. |
| 165 CancelableRequestConsumer consumer_; | 165 CancelableRequestConsumer consumer_; |
| 166 #endif | 166 #endif |
| 167 | 167 |
| 168 scoped_ptr<AccessibleViewHelper> accessible_view_helper_; | 168 scoped_ptr<AccessibleViewHelper> accessible_view_helper_; |
| 169 | 169 |
| 170 DISALLOW_COPY_AND_ASSIGN(AboutChromeView); | 170 DISALLOW_COPY_AND_ASSIGN(AboutChromeView); |
| 171 }; | 171 }; |
| 172 | 172 |
| 173 #endif // CHROME_BROWSER_UI_VIEWS_ABOUT_CHROME_VIEW_H_ | 173 #endif // CHROME_BROWSER_UI_VIEWS_ABOUT_CHROME_VIEW_H_ |
| OLD | NEW |