Chromium Code Reviews| 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 <string> | |
| 10 | |
| 9 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 10 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 11 #include "views/controls/image_view.h" | 13 #include "views/controls/image_view.h" |
| 12 #include "views/controls/label.h" | 14 #include "views/controls/label.h" |
| 13 #include "views/controls/link_listener.h" | 15 #include "views/controls/link_listener.h" |
| 14 #include "views/view.h" | 16 #include "views/view.h" |
| 15 #include "views/window/dialog_delegate.h" | 17 #include "views/window/dialog_delegate.h" |
| 16 | 18 |
| 17 #if defined(OS_WIN) | 19 #if defined(OS_WIN) |
| 18 #include "chrome/browser/google/google_update.h" | 20 #include "chrome/browser/google/google_update.h" |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 129 | 131 |
| 130 #if defined(OS_WIN) | 132 #if defined(OS_WIN) |
| 131 // The class that communicates with Google Update to find out if an update is | 133 // The class that communicates with Google Update to find out if an update is |
| 132 // available and asks it to start an upgrade. | 134 // available and asks it to start an upgrade. |
| 133 scoped_refptr<GoogleUpdate> google_updater_; | 135 scoped_refptr<GoogleUpdate> google_updater_; |
| 134 #endif | 136 #endif |
| 135 | 137 |
| 136 // Our current version. | 138 // Our current version. |
| 137 std::string current_version_; | 139 std::string current_version_; |
| 138 | 140 |
| 139 // Additional information about the version (channel and build number). | 141 // Additional information about the version (channel and build number). |
|
Evan Martin
2011/06/28 15:53:16
Can you note here that a translation of "Official
| |
| 140 std::string version_details_; | 142 string16 version_details_; |
| 141 | 143 |
| 142 // The version Google Update reports is available to us. | 144 // The version Google Update reports is available to us. |
| 143 std::wstring new_version_available_; | 145 std::wstring new_version_available_; |
| 144 | 146 |
| 145 // Whether text direction is left-to-right or right-to-left. | 147 // Whether text direction is left-to-right or right-to-left. |
| 146 bool text_direction_is_rtl_; | 148 bool text_direction_is_rtl_; |
| 147 | 149 |
| 148 DISALLOW_COPY_AND_ASSIGN(AboutChromeView); | 150 DISALLOW_COPY_AND_ASSIGN(AboutChromeView); |
| 149 }; | 151 }; |
| 150 | 152 |
| 151 #endif // CHROME_BROWSER_UI_VIEWS_ABOUT_CHROME_VIEW_H_ | 153 #endif // CHROME_BROWSER_UI_VIEWS_ABOUT_CHROME_VIEW_H_ |
| OLD | NEW |