Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Side by Side Diff: chrome/browser/views/about_chrome_view.cc

Issue 24011: chrome_resources take 2 (Closed)
Patch Set: rebase Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 <commdlg.h> 7 #include <commdlg.h>
8 8
9 #include "base/file_version_info.h" 9 #include "base/file_version_info.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
11 #include "base/win_util.h" 11 #include "base/win_util.h"
12 #include "base/word_iterator.h" 12 #include "base/word_iterator.h"
13 #include "chrome/app/locales/locale_settings.h" 13 #include "chrome/app/locales/locale_settings.h"
14 #include "chrome/app/theme/theme_resources.h" 14 #include "grit/theme_resources.h"
15 #include "chrome/browser/browser_list.h" 15 #include "chrome/browser/browser_list.h"
16 #include "chrome/common/gfx/chrome_canvas.h" 16 #include "chrome/common/gfx/chrome_canvas.h"
17 #include "chrome/common/gfx/color_utils.h" 17 #include "chrome/common/gfx/color_utils.h"
18 #include "chrome/browser/metrics/user_metrics.h" 18 #include "chrome/browser/metrics/user_metrics.h"
19 #include "chrome/browser/views/restart_message_box.h" 19 #include "chrome/browser/views/restart_message_box.h"
20 #include "chrome/browser/views/standard_layout.h" 20 #include "chrome/browser/views/standard_layout.h"
21 #include "chrome/common/l10n_util.h" 21 #include "chrome/common/l10n_util.h"
22 #include "chrome/common/resource_bundle.h" 22 #include "chrome/common/resource_bundle.h"
23 #include "chrome/common/chrome_constants.h" 23 #include "chrome/common/chrome_constants.h"
24 #include "chrome/installer/util/install_util.h" 24 #include "chrome/installer/util/install_util.h"
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after
810 810
811 // We have updated controls on the parent, so we need to update its layout. 811 // We have updated controls on the parent, so we need to update its layout.
812 View* parent = GetParent(); 812 View* parent = GetParent();
813 parent->Layout(); 813 parent->Layout();
814 814
815 // Check button may have appeared/disappeared. We cannot call this during 815 // Check button may have appeared/disappeared. We cannot call this during
816 // ViewHierarchyChanged because the |window()| pointer hasn't been set yet. 816 // ViewHierarchyChanged because the |window()| pointer hasn't been set yet.
817 if (window()) 817 if (window())
818 GetDialogClientView()->UpdateDialogButtons(); 818 GetDialogClientView()->UpdateDialogButtons();
819 } 819 }
OLDNEW
« no previous file with comments | « chrome/browser/task_manager_resource_providers.cc ('k') | chrome/browser/views/blocked_popup_container.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698