OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 "ui/app_list/views/folder_header_view.h" | 5 #include "ui/app_list/views/folder_header_view.h" |
6 | 6 |
7 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
8 #include "grit/ui_resources.h" | 8 #include "grit/ui_resources.h" |
9 #include "grit/ui_strings.h" | 9 #include "grit/ui_strings.h" |
10 #include "ui/app_list/app_list_constants.h" | 10 #include "ui/app_list/app_list_constants.h" |
11 #include "ui/app_list/app_list_folder_item.h" | 11 #include "ui/app_list/app_list_folder_item.h" |
12 #include "ui/app_list/views/app_list_folder_view.h" | 12 #include "ui/app_list/views/app_list_folder_view.h" |
13 #include "ui/base/resource/resource_bundle.h" | 13 #include "ui/base/resource/resource_bundle.h" |
14 #include "ui/gfx/canvas.h" | 14 #include "ui/gfx/canvas.h" |
15 #include "ui/views/controls/button/image_button.h" | 15 #include "ui/views/controls/button/image_button.h" |
16 #include "ui/views/controls/textfield/textfield.h" | 16 #include "ui/views/controls/textfield/textfield.h" |
17 | 17 |
18 namespace app_list { | 18 namespace app_list { |
19 | 19 |
20 namespace { | 20 namespace { |
21 | 21 |
22 const int kPreferredWidth = 360; | 22 const int kPreferredWidth = 360; |
23 const int kPreferredHeight = 48; | 23 const int kPreferredHeight = 48; |
24 const int kIconDimension = 32; | 24 const int kIconDimension = 24; |
25 const int kPadding = 14; | 25 const int kPadding = 14; |
26 const int kFolderNameWidth = 150; | 26 const int kFolderNameWidth = 150; |
27 const int kFolderNameHeight = 30; | 27 const int kFolderNameHeight = 30; |
28 const int kBottomSeparatorWidth = 380; | 28 const int kBottomSeparatorWidth = 380; |
29 const int kBottomSeparatorHeight = 1; | 29 const int kBottomSeparatorHeight = 1; |
30 | 30 |
31 const SkColor kHintTextColor = SkColorSetRGB(0xA0, 0xA0, 0xA0); | 31 const SkColor kHintTextColor = SkColorSetRGB(0xA0, 0xA0, 0xA0); |
32 | 32 |
33 } // namespace | 33 } // namespace |
34 | 34 |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 } | 170 } |
171 | 171 |
172 void FolderHeaderView::ItemIsInstallingChanged() { | 172 void FolderHeaderView::ItemIsInstallingChanged() { |
173 } | 173 } |
174 | 174 |
175 void FolderHeaderView::ItemPercentDownloadedChanged() { | 175 void FolderHeaderView::ItemPercentDownloadedChanged() { |
176 } | 176 } |
177 | 177 |
178 } // namespace app_list | 178 } // namespace app_list |
179 | 179 |
OLD | NEW |