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

Side by Side Diff: ui/views/painter.h

Issue 1543173002: Switch to standard integer types in ui/views/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 UI_VIEWS_PAINTER_H_ 5 #ifndef UI_VIEWS_PAINTER_H_
6 #define UI_VIEWS_PAINTER_H_ 6 #define UI_VIEWS_PAINTER_H_
7 7
8 #include "base/basictypes.h" 8 #include <stddef.h>
9
9 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
11 #include "third_party/skia/include/core/SkColor.h" 13 #include "third_party/skia/include/core/SkColor.h"
12 #include "ui/base/nine_image_painter_factory.h" 14 #include "ui/base/nine_image_painter_factory.h"
13 #include "ui/views/views_export.h" 15 #include "ui/views/views_export.h"
14 16
15 namespace gfx { 17 namespace gfx {
16 class Canvas; 18 class Canvas;
17 class ImageSkia; 19 class ImageSkia;
18 class Insets; 20 class Insets;
19 class Rect; 21 class Rect;
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 115
114 // NOTE: the images are owned by ResourceBundle. Don't free them. 116 // NOTE: the images are owned by ResourceBundle. Don't free them.
115 const gfx::ImageSkia* images_[3]; 117 const gfx::ImageSkia* images_[3];
116 118
117 DISALLOW_COPY_AND_ASSIGN(HorizontalPainter); 119 DISALLOW_COPY_AND_ASSIGN(HorizontalPainter);
118 }; 120 };
119 121
120 } // namespace views 122 } // namespace views
121 123
122 #endif // UI_VIEWS_PAINTER_H_ 124 #endif // UI_VIEWS_PAINTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698