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

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

Issue 6204002: Carnitas: Remove chrome/browser/views, update references. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Retrying upload after AppEngine error Created 9 years, 11 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) 2010 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/views/generic_info_view.h" 5 #include "chrome/browser/ui/views/generic_info_view.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "gfx/color_utils.h" 8 #include "gfx/color_utils.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "views/grid_layout.h" 10 #include "views/grid_layout.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/standard_layout.h" 13 #include "views/standard_layout.h"
14 14
15 GenericInfoView::GenericInfoView(int number_of_rows) 15 GenericInfoView::GenericInfoView(int number_of_rows)
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 layout->AddView(value); 96 layout->AddView(value);
97 97
98 // Color these borderless text areas the same as the containing dialog. 98 // Color these borderless text areas the same as the containing dialog.
99 SkColor text_area_background = color_utils::GetSysSkColor(COLOR_3DFACE); 99 SkColor text_area_background = color_utils::GetSysSkColor(COLOR_3DFACE);
100 100
101 // Init them now that they're in the view hierarchy. 101 // Init them now that they're in the view hierarchy.
102 value->SetReadOnly(true); 102 value->SetReadOnly(true);
103 value->RemoveBorder(); 103 value->RemoveBorder();
104 value->SetBackgroundColor(text_area_background); 104 value->SetBackgroundColor(text_area_background);
105 } 105 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698