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

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

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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_ROUNDED_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_ROUNDED_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ROUNDED_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ROUNDED_VIEW_H_
7 7
8 #include "gfx/canvas.h" 8 #include "ui/gfx/canvas.h"
9 #include "gfx/canvas_skia.h" 9 #include "ui/gfx/canvas_skia.h"
10 #include "gfx/rect.h" 10 #include "ui/gfx/rect.h"
11 11
12 namespace chromeos { 12 namespace chromeos {
13 13
14 namespace rounded_view { 14 namespace rounded_view {
15 15
16 // Corner radius of the RoundedView. 16 // Corner radius of the RoundedView.
17 const SkScalar kCornerRadius = SkIntToScalar(5); 17 const SkScalar kCornerRadius = SkIntToScalar(5);
18 18
19 // Stroke width to be used by the RoundedView. 19 // Stroke width to be used by the RoundedView.
20 const SkScalar kStrokeWidth = SkIntToScalar(1); 20 const SkScalar kStrokeWidth = SkIntToScalar(1);
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 view_rect.offset(rounded_view::kStrokeWidth - kDelta, 124 view_rect.offset(rounded_view::kStrokeWidth - kDelta,
125 rounded_view::kStrokeWidth - kDelta); 125 rounded_view::kStrokeWidth - kDelta);
126 paint.setColor(rounded_view::kOuterFrameColor); 126 paint.setColor(rounded_view::kOuterFrameColor);
127 canvas->AsCanvasSkia()->drawRoundRect(view_rect, rounded_view::kCornerRadius, 127 canvas->AsCanvasSkia()->drawRoundRect(view_rect, rounded_view::kCornerRadius,
128 rounded_view::kCornerRadius, paint); 128 rounded_view::kCornerRadius, paint);
129 } 129 }
130 130
131 } 131 }
132 132
133 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ROUNDED_VIEW_H_ 133 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ROUNDED_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/rounded_rect_painter.cc ('k') | chrome/browser/chromeos/login/shutdown_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698