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

Side by Side Diff: ui/views/background.cc

Issue 1543173002: Switch to standard integer types in ui/views/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 #include "ui/views/background.h" 5 #include "ui/views/background.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/macros.h"
9 #include "build/build_config.h"
8 #include "ui/gfx/canvas.h" 10 #include "ui/gfx/canvas.h"
9 #include "ui/gfx/color_utils.h" 11 #include "ui/gfx/color_utils.h"
10 #include "ui/views/painter.h" 12 #include "ui/views/painter.h"
11 #include "ui/views/view.h" 13 #include "ui/views/view.h"
12 14
13 #if defined(OS_WIN) 15 #if defined(OS_WIN)
14 #include "skia/ext/skia_utils_win.h" 16 #include "skia/ext/skia_utils_win.h"
15 #endif 17 #endif
16 18
17 namespace views { 19 namespace views {
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 return background; 124 return background;
123 } 125 }
124 126
125 // static 127 // static
126 Background* Background::CreateBackgroundPainter(bool owns_painter, 128 Background* Background::CreateBackgroundPainter(bool owns_painter,
127 Painter* painter) { 129 Painter* painter) {
128 return new BackgroundPainter(owns_painter, painter); 130 return new BackgroundPainter(owns_painter, painter);
129 } 131 }
130 132
131 } // namespace views 133 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/background.h ('k') | ui/views/border.h » ('j') | ui/views/metrics_aura.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698