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

Side by Side Diff: ui/native_theme/native_theme_aura.cc

Issue 832953002: Cleanup: Update the path to gfx size headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 years, 11 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
« no previous file with comments | « ui/message_center/views/toast_contents_view.h ('k') | ui/native_theme/native_theme_base.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) 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/native_theme/native_theme_aura.h" 5 #include "ui/native_theme/native_theme_aura.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "ui/base/layout.h" 10 #include "ui/base/layout.h"
11 #include "ui/base/nine_image_painter_factory.h" 11 #include "ui/base/nine_image_painter_factory.h"
12 #include "ui/gfx/canvas.h" 12 #include "ui/gfx/canvas.h"
13 #include "ui/gfx/geometry/rect.h" 13 #include "ui/gfx/geometry/rect.h"
14 #include "ui/gfx/geometry/size.h"
14 #include "ui/gfx/image/image_skia.h" 15 #include "ui/gfx/image/image_skia.h"
15 #include "ui/gfx/nine_image_painter.h" 16 #include "ui/gfx/nine_image_painter.h"
16 #include "ui/gfx/path.h" 17 #include "ui/gfx/path.h"
17 #include "ui/gfx/size.h"
18 #include "ui/gfx/skbitmap_operations.h" 18 #include "ui/gfx/skbitmap_operations.h"
19 #include "ui/gfx/skia_util.h" 19 #include "ui/gfx/skia_util.h"
20 #include "ui/native_theme/common_theme.h" 20 #include "ui/native_theme/common_theme.h"
21 #include "ui/native_theme/native_theme_switches.h" 21 #include "ui/native_theme/native_theme_switches.h"
22 #include "ui/resources/grit/ui_resources.h" 22 #include "ui/resources/grit/ui_resources.h"
23 23
24 using gfx::NineImagePainter; 24 using gfx::NineImagePainter;
25 25
26 #define EMPTY_IMAGE_GRID { 0, 0, 0, 0, 0, 0, 0, 0, 0 } 26 #define EMPTY_IMAGE_GRID { 0, 0, 0, 0, 0, 0, 0, 0, 0 }
27 27
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 scoped_ptr<NineImagePainter> stroke_painter, 320 scoped_ptr<NineImagePainter> stroke_painter,
321 const uint8 stroke_alphas[kNumStates]) 321 const uint8 stroke_alphas[kNumStates])
322 : fill_painter(fill_painter.Pass()), 322 : fill_painter(fill_painter.Pass()),
323 fill_alphas(fill_alphas), 323 fill_alphas(fill_alphas),
324 stroke_painter(stroke_painter.Pass()), 324 stroke_painter(stroke_painter.Pass()),
325 stroke_alphas(stroke_alphas) {} 325 stroke_alphas(stroke_alphas) {}
326 326
327 NativeThemeAura::DualPainter::~DualPainter() {} 327 NativeThemeAura::DualPainter::~DualPainter() {}
328 328
329 } // namespace ui 329 } // namespace ui
OLDNEW
« no previous file with comments | « ui/message_center/views/toast_contents_view.h ('k') | ui/native_theme/native_theme_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698