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

Side by Side Diff: views/painter.h

Issue 65012: Move skia to DEPS, and put it in third_party. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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/focus/focus_manager_unittest.cc ('k') | views/painter.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 #ifndef VIEWS_PAINTER_H_ 5 #ifndef VIEWS_PAINTER_H_
6 #define VIEWS_PAINTER_H_ 6 #define VIEWS_PAINTER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "skia/include/SkColor.h" 11 #include "third_party/skia/include/core/SkColor.h"
12 12
13 class ChromeCanvas; 13 class ChromeCanvas;
14 class SkBitmap; 14 class SkBitmap;
15 15
16 namespace views { 16 namespace views {
17 17
18 // Painter, as the name implies, is responsible for painting in a particular 18 // Painter, as the name implies, is responsible for painting in a particular
19 // region. Think of Painter as a Border or Background that can be painted 19 // region. Think of Painter as a Border or Background that can be painted
20 // in any region of a View. 20 // in any region of a View.
21 class Painter { 21 class Painter {
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 int height_; 111 int height_;
112 // NOTE: the images are owned by ResourceBundle. Don't free them. 112 // NOTE: the images are owned by ResourceBundle. Don't free them.
113 SkBitmap* images_[3]; 113 SkBitmap* images_[3];
114 114
115 DISALLOW_EVIL_CONSTRUCTORS(HorizontalPainter); 115 DISALLOW_EVIL_CONSTRUCTORS(HorizontalPainter);
116 }; 116 };
117 117
118 } // namespace views 118 } // namespace views
119 119
120 #endif // VIEWS_PAINTER_H_ 120 #endif // VIEWS_PAINTER_H_
OLDNEW
« no previous file with comments | « views/focus/focus_manager_unittest.cc ('k') | views/painter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698