OLD | NEW |
1 // Copyright (c) 2006-2008 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" |
11 #include "views/controls/link.h" | 11 #include "views/controls/link.h" |
12 #include "views/view.h" | 12 #include "views/view.h" |
13 #include "views/window/dialog_delegate.h" | 13 #include "views/window/dialog_delegate.h" |
14 | 14 |
15 #if defined(OS_WIN) || defined(OS_CHROMEOS) | 15 #if defined(OS_WIN) || defined(OS_CHROMEOS) |
16 #include "chrome/browser/google/google_update.h" | 16 #include "chrome/browser/google/google_update.h" |
17 #endif | 17 #endif |
18 #if defined(OS_CHROMEOS) | 18 #if defined(OS_CHROMEOS) |
19 #include "chrome/browser/chromeos/version_loader.h" | 19 #include "chrome/browser/chromeos/version_loader.h" |
20 #endif | 20 #endif |
21 | 21 |
22 namespace views { | 22 namespace views { |
23 class Textfield; | 23 class Textfield; |
24 class Throbber; | 24 class Throbber; |
25 class Window; | 25 class Window; |
26 } | 26 } |
27 | 27 |
28 class AccessibleViewHelper; | |
29 class Profile; | 28 class Profile; |
30 | 29 |
31 //////////////////////////////////////////////////////////////////////////////// | 30 //////////////////////////////////////////////////////////////////////////////// |
32 // | 31 // |
33 // The AboutChromeView class is responsible for drawing the UI controls of the | 32 // The AboutChromeView class is responsible for drawing the UI controls of the |
34 // About Chrome dialog that allows the user to see what version is installed | 33 // About Chrome dialog that allows the user to see what version is installed |
35 // and check for updates. | 34 // and check for updates. |
36 // | 35 // |
37 //////////////////////////////////////////////////////////////////////////////// | 36 //////////////////////////////////////////////////////////////////////////////// |
38 class AboutChromeView : public views::View, | 37 class AboutChromeView : public views::View, |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 bool text_direction_is_rtl_; | 157 bool text_direction_is_rtl_; |
159 | 158 |
160 #if defined(OS_CHROMEOS) | 159 #if defined(OS_CHROMEOS) |
161 // Handles asynchronously loading the version. | 160 // Handles asynchronously loading the version. |
162 chromeos::VersionLoader loader_; | 161 chromeos::VersionLoader loader_; |
163 | 162 |
164 // Used to request the version. | 163 // Used to request the version. |
165 CancelableRequestConsumer consumer_; | 164 CancelableRequestConsumer consumer_; |
166 #endif | 165 #endif |
167 | 166 |
168 scoped_ptr<AccessibleViewHelper> accessible_view_helper_; | |
169 | |
170 DISALLOW_COPY_AND_ASSIGN(AboutChromeView); | 167 DISALLOW_COPY_AND_ASSIGN(AboutChromeView); |
171 }; | 168 }; |
172 | 169 |
173 #endif // CHROME_BROWSER_UI_VIEWS_ABOUT_CHROME_VIEW_H_ | 170 #endif // CHROME_BROWSER_UI_VIEWS_ABOUT_CHROME_VIEW_H_ |
OLD | NEW |