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

Side by Side Diff: ash/system/tray/label_tray_view.cc

Issue 2920613003: Clean up unused grit header includes in ash/. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « ash/system/tray/hover_highlight_view.cc ('k') | ash/system/tray/tray_details_view_unittest.cc » ('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) 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 "ash/system/tray/label_tray_view.h" 5 #include "ash/system/tray/label_tray_view.h"
6 6
7 #include "ash/resources/grit/ash_resources.h"
8 #include "ash/resources/vector_icons/vector_icons.h" 7 #include "ash/resources/vector_icons/vector_icons.h"
9 #include "ash/system/tray/hover_highlight_view.h" 8 #include "ash/system/tray/hover_highlight_view.h"
10 #include "ash/system/tray/tray_constants.h" 9 #include "ash/system/tray/tray_constants.h"
11 #include "ash/system/tray/view_click_listener.h" 10 #include "ash/system/tray/view_click_listener.h"
12 #include "ui/gfx/font.h" 11 #include "ui/gfx/font.h"
13 #include "ui/gfx/paint_vector_icon.h" 12 #include "ui/gfx/paint_vector_icon.h"
14 #include "ui/views/controls/label.h" 13 #include "ui/views/controls/label.h"
15 #include "ui/views/layout/fill_layout.h" 14 #include "ui/views/layout/fill_layout.h"
16 15
17 namespace ash { 16 namespace ash {
(...skipping 28 matching lines...) Expand all
46 gfx::ImageSkia icon_image = gfx::CreateVectorIcon(icon_, kMenuIconColor); 45 gfx::ImageSkia icon_image = gfx::CreateVectorIcon(icon_, kMenuIconColor);
47 child->AddIconAndLabelForDefaultView(icon_image, message); 46 child->AddIconAndLabelForDefaultView(icon_image, message);
48 child->text_label()->SetMultiLine(true); 47 child->text_label()->SetMultiLine(true);
49 child->text_label()->SetAllowCharacterBreak(true); 48 child->text_label()->SetAllowCharacterBreak(true);
50 child->SetExpandable(true); 49 child->SetExpandable(true);
51 child->SetVisible(true); 50 child->SetVisible(true);
52 return child; 51 return child;
53 } 52 }
54 53
55 } // namespace ash 54 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/tray/hover_highlight_view.cc ('k') | ash/system/tray/tray_details_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698