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 #include "chrome/browser/ui/views/about_chrome_view.h" | 5 #include "chrome/browser/ui/views/about_chrome_view.h" |
6 | 6 |
7 #if defined(OS_WIN) | 7 #if defined(OS_WIN) |
8 #include <commdlg.h> | 8 #include <commdlg.h> |
9 #endif // defined(OS_WIN) | 9 #endif // defined(OS_WIN) |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 #include "chrome/browser/metrics/user_metrics.h" | 22 #include "chrome/browser/metrics/user_metrics.h" |
23 #include "chrome/browser/platform_util.h" | 23 #include "chrome/browser/platform_util.h" |
24 #include "chrome/browser/prefs/pref_service.h" | 24 #include "chrome/browser/prefs/pref_service.h" |
25 #include "chrome/browser/ui/views/accessible_view_helper.h" | 25 #include "chrome/browser/ui/views/accessible_view_helper.h" |
26 #include "chrome/browser/ui/views/window.h" | 26 #include "chrome/browser/ui/views/window.h" |
27 #include "chrome/common/chrome_constants.h" | 27 #include "chrome/common/chrome_constants.h" |
28 #include "chrome/common/chrome_version_info.h" | 28 #include "chrome/common/chrome_version_info.h" |
29 #include "chrome/common/pref_names.h" | 29 #include "chrome/common/pref_names.h" |
30 #include "chrome/common/url_constants.h" | 30 #include "chrome/common/url_constants.h" |
31 #include "chrome/installer/util/browser_distribution.h" | 31 #include "chrome/installer/util/browser_distribution.h" |
32 #include "gfx/canvas.h" | |
33 #include "grit/chromium_strings.h" | 32 #include "grit/chromium_strings.h" |
34 #include "grit/generated_resources.h" | 33 #include "grit/generated_resources.h" |
35 #include "grit/locale_settings.h" | 34 #include "grit/locale_settings.h" |
36 #include "grit/theme_resources.h" | 35 #include "grit/theme_resources.h" |
37 #include "ui/base/l10n/l10n_util.h" | 36 #include "ui/base/l10n/l10n_util.h" |
38 #include "ui/base/resource/resource_bundle.h" | 37 #include "ui/base/resource/resource_bundle.h" |
| 38 #include "ui/gfx/canvas.h" |
39 #include "views/controls/textfield/textfield.h" | 39 #include "views/controls/textfield/textfield.h" |
40 #include "views/controls/throbber.h" | 40 #include "views/controls/throbber.h" |
41 #include "views/layout/layout_constants.h" | 41 #include "views/layout/layout_constants.h" |
42 #include "views/view_text_utils.h" | 42 #include "views/view_text_utils.h" |
43 #include "views/widget/widget.h" | 43 #include "views/widget/widget.h" |
44 #include "views/window/window.h" | 44 #include "views/window/window.h" |
45 #include "webkit/glue/webkit_glue.h" | 45 #include "webkit/glue/webkit_glue.h" |
46 | 46 |
47 #if defined(OS_WIN) | 47 #if defined(OS_WIN) |
48 #include "base/win/win_util.h" | 48 #include "base/win/win_util.h" |
(...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
833 View* parent = GetParent(); | 833 View* parent = GetParent(); |
834 parent->Layout(); | 834 parent->Layout(); |
835 | 835 |
836 // Check button may have appeared/disappeared. We cannot call this during | 836 // Check button may have appeared/disappeared. We cannot call this during |
837 // ViewHierarchyChanged because the |window()| pointer hasn't been set yet. | 837 // ViewHierarchyChanged because the |window()| pointer hasn't been set yet. |
838 if (window()) | 838 if (window()) |
839 GetDialogClientView()->UpdateDialogButtons(); | 839 GetDialogClientView()->UpdateDialogButtons(); |
840 } | 840 } |
841 | 841 |
842 #endif | 842 #endif |
OLD | NEW |