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

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

Issue 10656014: Merge 143605 - grd file update for new 2x assets (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1180/src/
Patch Set: Created 8 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 13 matching lines...) Expand all
24 #include "chrome/browser/ui/browser_finder.h" 24 #include "chrome/browser/ui/browser_finder.h"
25 #include "chrome/common/chrome_constants.h" 25 #include "chrome/common/chrome_constants.h"
26 #include "chrome/common/chrome_version_info.h" 26 #include "chrome/common/chrome_version_info.h"
27 #include "chrome/common/url_constants.h" 27 #include "chrome/common/url_constants.h"
28 #include "chrome/installer/util/browser_distribution.h" 28 #include "chrome/installer/util/browser_distribution.h"
29 #include "content/public/browser/user_metrics.h" 29 #include "content/public/browser/user_metrics.h"
30 #include "grit/chromium_strings.h" 30 #include "grit/chromium_strings.h"
31 #include "grit/generated_resources.h" 31 #include "grit/generated_resources.h"
32 #include "grit/locale_settings.h" 32 #include "grit/locale_settings.h"
33 #include "grit/theme_resources.h" 33 #include "grit/theme_resources.h"
34 #include "grit/theme_resources_standard.h"
34 #include "ui/base/l10n/l10n_util.h" 35 #include "ui/base/l10n/l10n_util.h"
35 #include "ui/base/resource/resource_bundle.h" 36 #include "ui/base/resource/resource_bundle.h"
36 #include "ui/gfx/canvas.h" 37 #include "ui/gfx/canvas.h"
37 #include "ui/gfx/color_utils.h" 38 #include "ui/gfx/color_utils.h"
38 #include "ui/views/controls/button/text_button.h" 39 #include "ui/views/controls/button/text_button.h"
39 #include "ui/views/controls/link.h" 40 #include "ui/views/controls/link.h"
40 #include "ui/views/controls/textfield/textfield.h" 41 #include "ui/views/controls/textfield/textfield.h"
41 #include "ui/views/controls/throbber.h" 42 #include "ui/views/controls/throbber.h"
42 #include "ui/views/layout/layout_constants.h" 43 #include "ui/views/layout/layout_constants.h"
43 #include "ui/views/view_text_utils.h" 44 #include "ui/views/view_text_utils.h"
(...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after
790 int height = error_label_->GetHeightForWidth( 791 int height = error_label_->GetHeightForWidth(
791 dialog_dimensions_.width() - (2 * views::kPanelHorizMargin)) + 792 dialog_dimensions_.width() - (2 * views::kPanelHorizMargin)) +
792 views::kRelatedControlVerticalSpacing; 793 views::kRelatedControlVerticalSpacing;
793 window_rect.set_height(window_rect.height() + height); 794 window_rect.set_height(window_rect.height() + height);
794 GetWidget()->SetBounds(window_rect); 795 GetWidget()->SetBounds(window_rect);
795 796
796 return height; 797 return height;
797 } 798 }
798 799
799 #endif 800 #endif
OLDNEW
« no previous file with comments | « chrome/browser/ui/toolbar/wrench_menu_model.cc ('k') | chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698