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

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

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 | Annotate | Revision Log
OLDNEW
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/generic_info_view.h" 5 #include "chrome/browser/ui/views/generic_info_view.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "gfx/color_utils.h"
10 #include "ui/base/l10n/l10n_util.h" 9 #include "ui/base/l10n/l10n_util.h"
10 #include "ui/gfx/color_utils.h"
11 #include "views/controls/label.h" 11 #include "views/controls/label.h"
12 #include "views/controls/textfield/textfield.h" 12 #include "views/controls/textfield/textfield.h"
13 #include "views/layout/grid_layout.h" 13 #include "views/layout/grid_layout.h"
14 #include "views/layout/layout_constants.h" 14 #include "views/layout/layout_constants.h"
15 15
16 GenericInfoView::GenericInfoView(int number_of_rows) 16 GenericInfoView::GenericInfoView(int number_of_rows)
17 : number_of_rows_(number_of_rows), name_string_ids_(NULL) { 17 : number_of_rows_(number_of_rows), name_string_ids_(NULL) {
18 DCHECK(number_of_rows_ > 0); 18 DCHECK(number_of_rows_ > 0);
19 } 19 }
20 20
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 layout->AddView(value); 97 layout->AddView(value);
98 98
99 // Color these borderless text areas the same as the containing dialog. 99 // Color these borderless text areas the same as the containing dialog.
100 SkColor text_area_background = color_utils::GetSysSkColor(COLOR_3DFACE); 100 SkColor text_area_background = color_utils::GetSysSkColor(COLOR_3DFACE);
101 101
102 // Init them now that they're in the view hierarchy. 102 // Init them now that they're in the view hierarchy.
103 value->SetReadOnly(true); 103 value->SetReadOnly(true);
104 value->RemoveBorder(); 104 value->RemoveBorder();
105 value->SetBackgroundColor(text_area_background); 105 value->SetBackgroundColor(text_area_background);
106 } 106 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/fullscreen_exit_bubble.cc ('k') | chrome/browser/ui/views/html_dialog_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698