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

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

Issue 1117009: 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"
9
10 namespace views { 8 namespace views {
11 class Border; 9 class Border;
12 class Painter; 10 class Painter;
13 } // namespace views 11 } // namespace views
14 12
15 namespace chromeos { 13 namespace chromeos {
16 14
17 struct BorderDefinition { 15 struct BorderDefinition {
18 int padding; 16 int padding;
19 SkColor padding_color; 17 SkColor padding_color;
20 int shadow; 18 int shadow;
21 SkColor shadow_color; 19 SkColor shadow_color;
22 int corner_radius; 20 int corner_radius;
23 SkColor top_color; 21 SkColor top_color;
24 SkColor bottom_color; 22 SkColor bottom_color;
25 23
26 static const BorderDefinition kWizardBorder; 24 static const BorderDefinition kWizardBorder;
27 static const BorderDefinition kScreenBorder; 25 static const BorderDefinition kScreenBorder;
28 }; 26 };
29 27
30 // Creates painter to paint view background with parameters specified. 28 // Creates painter to paint view background with parameters specified.
31 views::Painter* CreateWizardPainter(const BorderDefinition* const border); 29 views::Painter* CreateWizardPainter(const BorderDefinition* const border);
32 // Creates border to draw around view with parameters specified. 30 // Creates border to draw around view with parameters specified.
33 views::Border* CreateWizardBorder(const BorderDefinition* const border); 31 views::Border* CreateWizardBorder(const BorderDefinition* const border);
34 32
35 } // namespace chromeos 33 } // namespace chromeos
36 34
37 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ROUNDED_RECT_PAINTER_H_ 35 #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