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

Side by Side Diff: chrome/browser/chromeos/drop_shadow_label.cc

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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) 2010 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/chromeos/drop_shadow_label.h" 5 #include "chrome/browser/chromeos/drop_shadow_label.h"
6 6
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "gfx/canvas.h" 8 #include "ui/gfx/canvas.h"
9 #include "gfx/color_utils.h" 9 #include "ui/gfx/color_utils.h"
10 10
11 using views::Label; 11 using views::Label;
12 12
13 namespace chromeos { 13 namespace chromeos {
14 14
15 static const int kDefaultDropShadowSize = 2; 15 static const int kDefaultDropShadowSize = 2;
16 16
17 // Default color is black. 17 // Default color is black.
18 static const SkColor kDefaultColor = 0x000000; 18 static const SkColor kDefaultColor = 0x000000;
19 19
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 } 71 }
72 72
73 gfx::Size DropShadowLabel::GetTextSize() const { 73 gfx::Size DropShadowLabel::GetTextSize() const {
74 gfx::Size text_size = Label::GetTextSize(); 74 gfx::Size text_size = Label::GetTextSize();
75 text_size.SetSize(text_size.width() + drop_shadow_size_, 75 text_size.SetSize(text_size.width() + drop_shadow_size_,
76 text_size.height() + drop_shadow_size_); 76 text_size.height() + drop_shadow_size_);
77 return text_size; 77 return text_size;
78 } 78 }
79 79
80 } // namespace chromeos 80 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drop_shadow_label.h ('k') | chrome/browser/chromeos/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698