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

Side by Side Diff: ui/gfx/image/image_skia_operations.cc

Issue 392013005: [#1] Delete reduntdant 19 header files in ui/gfx (8 of 19 by this) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sorted includes Created 6 years, 5 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 #include "ui/gfx/image/image_skia_operations.h" 5 #include "ui/gfx/image/image_skia_operations.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "skia/ext/image_operations.h" 9 #include "skia/ext/image_operations.h"
10 #include "ui/gfx/canvas.h" 10 #include "ui/gfx/canvas.h"
11 #include "ui/gfx/geometry/insets.h"
12 #include "ui/gfx/geometry/point.h"
11 #include "ui/gfx/image/canvas_image_source.h" 13 #include "ui/gfx/image/canvas_image_source.h"
12 #include "ui/gfx/image/image_skia.h" 14 #include "ui/gfx/image/image_skia.h"
13 #include "ui/gfx/image/image_skia_rep.h" 15 #include "ui/gfx/image/image_skia_rep.h"
14 #include "ui/gfx/image/image_skia_source.h" 16 #include "ui/gfx/image/image_skia_source.h"
15 #include "ui/gfx/insets.h"
16 #include "ui/gfx/point.h"
17 #include "ui/gfx/point_conversions.h" 17 #include "ui/gfx/point_conversions.h"
18 #include "ui/gfx/rect.h" 18 #include "ui/gfx/rect.h"
19 #include "ui/gfx/rect_conversions.h" 19 #include "ui/gfx/rect_conversions.h"
20 #include "ui/gfx/size.h" 20 #include "ui/gfx/size.h"
21 #include "ui/gfx/size_conversions.h" 21 #include "ui/gfx/size_conversions.h"
22 #include "ui/gfx/skbitmap_operations.h" 22 #include "ui/gfx/skbitmap_operations.h"
23 #include "ui/gfx/skia_util.h" 23 #include "ui/gfx/skia_util.h"
24 24
25 namespace gfx { 25 namespace gfx {
26 namespace { 26 namespace {
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 return ImageSkia(); 546 return ImageSkia();
547 547
548 return ImageSkia(new RotatedSource(source, rotation), 548 return ImageSkia(new RotatedSource(source, rotation),
549 SkBitmapOperations::ROTATION_180_CW == rotation ? 549 SkBitmapOperations::ROTATION_180_CW == rotation ?
550 source.size() : 550 source.size() :
551 gfx::Size(source.height(), source.width())); 551 gfx::Size(source.height(), source.width()));
552 552
553 } 553 }
554 554
555 } // namespace gfx 555 } // namespace gfx
OLDNEW
« ui/aura/window_unittest.cc ('K') | « ui/gfx/icon_util.h ('k') | ui/gfx/insets.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698