| 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/gfx/canvas.h" | 7 #include "app/gfx/canvas.h" |
| 8 #include "app/gfx/color_utils.h" | 8 #include "app/gfx/color_utils.h" |
| 9 #include "base/i18n/word_iterator.h" | 9 #include "base/i18n/word_iterator.h" |
| 10 #include "app/l10n_util.h" | 10 #include "app/l10n_util.h" |
| 11 #include "app/resource_bundle.h" | 11 #include "app/resource_bundle.h" |
| 12 #include "base/file_version_info.h" | 12 #include "base/file_version_info.h" |
| 13 #include "base/string_util.h" | 13 #include "base/utf_string_conversions.h" |
| 14 #include "chrome/browser/browser_list.h" | 14 #include "chrome/browser/browser_list.h" |
| 15 #include "chrome/browser/metrics/user_metrics.h" | 15 #include "chrome/browser/metrics/user_metrics.h" |
| 16 #include "chrome/common/chrome_constants.h" | 16 #include "chrome/common/chrome_constants.h" |
| 17 #include "chrome/common/url_constants.h" | 17 #include "chrome/common/url_constants.h" |
| 18 #include "grit/chromium_strings.h" | 18 #include "grit/chromium_strings.h" |
| 19 #include "grit/generated_resources.h" | 19 #include "grit/generated_resources.h" |
| 20 #include "grit/locale_settings.h" | 20 #include "grit/locale_settings.h" |
| 21 #include "grit/theme_resources.h" | 21 #include "grit/theme_resources.h" |
| 22 #include "views/controls/textfield/textfield.h" | 22 #include "views/controls/textfield/textfield.h" |
| 23 #include "views/controls/throbber.h" | 23 #include "views/controls/throbber.h" |
| (...skipping 878 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 902 View* parent = GetParent(); | 902 View* parent = GetParent(); |
| 903 parent->Layout(); | 903 parent->Layout(); |
| 904 | 904 |
| 905 // Check button may have appeared/disappeared. We cannot call this during | 905 // Check button may have appeared/disappeared. We cannot call this during |
| 906 // ViewHierarchyChanged because the |window()| pointer hasn't been set yet. | 906 // ViewHierarchyChanged because the |window()| pointer hasn't been set yet. |
| 907 if (window()) | 907 if (window()) |
| 908 GetDialogClientView()->UpdateDialogButtons(); | 908 GetDialogClientView()->UpdateDialogButtons(); |
| 909 } | 909 } |
| 910 | 910 |
| 911 #endif | 911 #endif |
| OLD | NEW |