OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/views/about_chrome_view.h" | 5 #include "chrome/browser/views/about_chrome_view.h" |
6 | 6 |
7 #include "app/bidi_line_iterator.h" | 7 #include "app/bidi_line_iterator.h" |
8 #include "app/gfx/canvas.h" | |
9 #include "app/l10n_util.h" | 8 #include "app/l10n_util.h" |
10 #include "app/resource_bundle.h" | 9 #include "app/resource_bundle.h" |
11 #include "base/callback.h" | 10 #include "base/callback.h" |
12 #include "base/file_version_info.h" | 11 #include "base/file_version_info.h" |
13 #include "base/i18n/rtl.h" | 12 #include "base/i18n/rtl.h" |
14 #include "base/i18n/word_iterator.h" | 13 #include "base/i18n/word_iterator.h" |
15 #include "base/utf_string_conversions.h" | 14 #include "base/utf_string_conversions.h" |
16 #include "chrome/browser/browser_list.h" | 15 #include "chrome/browser/browser_list.h" |
17 #include "chrome/browser/metrics/user_metrics.h" | 16 #include "chrome/browser/metrics/user_metrics.h" |
18 #include "chrome/common/chrome_constants.h" | 17 #include "chrome/common/chrome_constants.h" |
19 #include "chrome/common/platform_util.h" | 18 #include "chrome/common/platform_util.h" |
20 #include "chrome/common/url_constants.h" | 19 #include "chrome/common/url_constants.h" |
| 20 #include "gfx/canvas.h" |
21 #include "gfx/color_utils.h" | 21 #include "gfx/color_utils.h" |
22 #include "grit/chromium_strings.h" | 22 #include "grit/chromium_strings.h" |
23 #include "grit/generated_resources.h" | 23 #include "grit/generated_resources.h" |
24 #include "grit/locale_settings.h" | 24 #include "grit/locale_settings.h" |
25 #include "grit/theme_resources.h" | 25 #include "grit/theme_resources.h" |
26 #include "views/controls/textfield/textfield.h" | 26 #include "views/controls/textfield/textfield.h" |
27 #include "views/controls/throbber.h" | 27 #include "views/controls/throbber.h" |
28 #include "views/standard_layout.h" | 28 #include "views/standard_layout.h" |
29 #include "views/widget/widget.h" | 29 #include "views/widget/widget.h" |
30 #include "views/window/window.h" | 30 #include "views/window/window.h" |
(...skipping 898 matching lines...) Loading... |
929 View* parent = GetParent(); | 929 View* parent = GetParent(); |
930 parent->Layout(); | 930 parent->Layout(); |
931 | 931 |
932 // Check button may have appeared/disappeared. We cannot call this during | 932 // Check button may have appeared/disappeared. We cannot call this during |
933 // ViewHierarchyChanged because the |window()| pointer hasn't been set yet. | 933 // ViewHierarchyChanged because the |window()| pointer hasn't been set yet. |
934 if (window()) | 934 if (window()) |
935 GetDialogClientView()->UpdateDialogButtons(); | 935 GetDialogClientView()->UpdateDialogButtons(); |
936 } | 936 } |
937 | 937 |
938 #endif | 938 #endif |
OLD | NEW |