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

Side by Side Diff: ui/app_list/views/folder_header_view.cc

Issue 68113010: Change the app list folder management back button to a smaller size one. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « no previous file | ui/resources/default_100_percent/common/app_list_folder_back_normal.png » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « no previous file | ui/resources/default_100_percent/common/app_list_folder_back_normal.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698