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

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

Issue 467193003: ui: Remove unneeded includes of grit/ui_resources.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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
« no previous file with comments | « ui/app_list/views/app_list_menu_views.cc ('k') | ui/app_list/views/contents_view.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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/cached_label.h" 5 #include "ui/app_list/views/cached_label.h"
6 6
7 #include "base/strings/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
8 #include "ui/base/layout.h" 8 #include "ui/base/layout.h"
9 #include "ui/base/resource/resource_bundle.h"
10 #include "ui/gfx/canvas.h" 9 #include "ui/gfx/canvas.h"
11 #include "ui/views/widget/widget.h" 10 #include "ui/views/widget/widget.h"
12 11
13 namespace app_list { 12 namespace app_list {
14 13
15 CachedLabel::CachedLabel() 14 CachedLabel::CachedLabel()
16 : needs_repaint_(true) { 15 : needs_repaint_(true) {
17 } 16 }
18 17
19 void CachedLabel::PaintToBackingImage() { 18 void CachedLabel::PaintToBackingImage() {
(...skipping 22 matching lines...) Expand all
42 } 41 }
43 #endif 42 #endif
44 43
45 void CachedLabel::OnDeviceScaleFactorChanged( 44 void CachedLabel::OnDeviceScaleFactorChanged(
46 float device_scale_factor) { 45 float device_scale_factor) {
47 Invalidate(); 46 Invalidate();
48 View::OnDeviceScaleFactorChanged(device_scale_factor); 47 View::OnDeviceScaleFactorChanged(device_scale_factor);
49 } 48 }
50 49
51 } // namespace app_list 50 } // namespace app_list
OLDNEW
« no previous file with comments | « ui/app_list/views/app_list_menu_views.cc ('k') | ui/app_list/views/contents_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698