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

Side by Side Diff: chrome/browser/chromeos/login/rounded_rect_painter.h

Issue 1132006: Move app/gfx/canvas and app/gfx/font to gfx/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 9 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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_ROUNDED_RECT_PAINTER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_ROUNDED_RECT_PAINTER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ROUNDED_RECT_PAINTER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ROUNDED_RECT_PAINTER_H_
7 7
8 #include "app/gfx/canvas.h" 8 #include "third_party/skia/include/core/SkColor.h"
9 9
10 namespace views { 10 namespace views {
11 class Border; 11 class Border;
12 class Painter; 12 class Painter;
13 } // namespace views 13 } // namespace views
14 14
15 namespace chromeos { 15 namespace chromeos {
16 16
17 struct BorderDefinition { 17 struct BorderDefinition {
18 int padding; 18 int padding;
19 SkColor padding_color; 19 SkColor padding_color;
20 int shadow; 20 int shadow;
21 SkColor shadow_color; 21 SkColor shadow_color;
22 int corner_radius; 22 int corner_radius;
23 SkColor top_color; 23 SkColor top_color;
24 SkColor bottom_color; 24 SkColor bottom_color;
25 25
26 static const BorderDefinition kWizardBorder; 26 static const BorderDefinition kWizardBorder;
27 static const BorderDefinition kScreenBorder; 27 static const BorderDefinition kScreenBorder;
28 }; 28 };
29 29
30 // Creates painter to paint view background with parameters specified. 30 // Creates painter to paint view background with parameters specified.
31 views::Painter* CreateWizardPainter(const BorderDefinition* const border); 31 views::Painter* CreateWizardPainter(const BorderDefinition* const border);
32 // Creates border to draw around view with parameters specified. 32 // Creates border to draw around view with parameters specified.
33 views::Border* CreateWizardBorder(const BorderDefinition* const border); 33 views::Border* CreateWizardBorder(const BorderDefinition* const border);
34 34
35 } // namespace chromeos 35 } // namespace chromeos
36 36
37 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ROUNDED_RECT_PAINTER_H_ 37 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ROUNDED_RECT_PAINTER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/account_creation_view.cc ('k') | chrome/browser/chromeos/login/rounded_rect_painter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698