OLD | NEW |
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/login/rounded_rect_painter.h" | 5 #include "chrome/browser/chromeos/login/rounded_rect_painter.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "gfx/canvas_skia.h" | 8 #include "gfx/canvas_skia.h" |
| 9 #include "third_party/skia/include/effects/SkBlurMaskFilter.h" |
9 #include "third_party/skia/include/effects/SkGradientShader.h" | 10 #include "third_party/skia/include/effects/SkGradientShader.h" |
10 #include "third_party/skia/include/effects/SkBlurMaskFilter.h" | |
11 #include "views/border.h" | 11 #include "views/border.h" |
12 #include "views/painter.h" | 12 #include "views/painter.h" |
13 | 13 |
14 namespace chromeos { | 14 namespace chromeos { |
15 | 15 |
16 namespace { | 16 namespace { |
17 | 17 |
18 const int kScreenCornerRadius = 10; | 18 const int kScreenCornerRadius = 10; |
19 const int kUserCornerRadius = 5; | 19 const int kUserCornerRadius = 5; |
20 | 20 |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 | 258 |
259 views::Background* CreateRoundedBackground(int corner_radius, | 259 views::Background* CreateRoundedBackground(int corner_radius, |
260 int stroke_width, | 260 int stroke_width, |
261 SkColor background_color, | 261 SkColor background_color, |
262 SkColor stroke_color) { | 262 SkColor stroke_color) { |
263 return new RoundedBackground( | 263 return new RoundedBackground( |
264 corner_radius, stroke_width, background_color, stroke_color); | 264 corner_radius, stroke_width, background_color, stroke_color); |
265 } | 265 } |
266 | 266 |
267 } // namespace chromeos | 267 } // namespace chromeos |
OLD | NEW |