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

Side by Side Diff: views/border.cc

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
« no previous file with comments | « views/background.cc ('k') | views/controls/button/checkbox.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "views/border.h" 5 #include "views/border.h"
6 6
7 #include "app/gfx/canvas.h"
8 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "gfx/canvas.h"
9 9
10 namespace views { 10 namespace views {
11 11
12 namespace { 12 namespace {
13 13
14 // A simple border with a fixed thickness and single color. 14 // A simple border with a fixed thickness and single color.
15 class SolidBorder : public Border { 15 class SolidBorder : public Border {
16 public: 16 public:
17 SolidBorder(int thickness, SkColor color); 17 SolidBorder(int thickness, SkColor color);
18 18
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 Border* Border::CreateSolidBorder(int thickness, SkColor color) { 97 Border* Border::CreateSolidBorder(int thickness, SkColor color) {
98 return new SolidBorder(thickness, color); 98 return new SolidBorder(thickness, color);
99 } 99 }
100 100
101 // static 101 // static
102 Border* Border::CreateEmptyBorder(int top, int left, int bottom, int right) { 102 Border* Border::CreateEmptyBorder(int top, int left, int bottom, int right) {
103 return new EmptyBorder(top, left, bottom, right); 103 return new EmptyBorder(top, left, bottom, right);
104 } 104 }
105 105
106 } // namespace views 106 } // namespace views
OLDNEW
« no previous file with comments | « views/background.cc ('k') | views/controls/button/checkbox.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698