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

Side by Side Diff: ui/base/cursor/cursors_aura.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/base/cursor/cursors_aura.h" 5 #include "ui/base/cursor/cursors_aura.h"
6 6
7 #include "grit/ui_resources.h" 7 #include "grit/ui_resources.h"
8 #include "third_party/skia/include/core/SkBitmap.h" 8 #include "third_party/skia/include/core/SkBitmap.h"
9 #include "ui/base/resource/resource_bundle.h" 9 #include "ui/base/resource/resource_bundle.h"
10 #include "ui/gfx/geometry/point.h"
10 #include "ui/gfx/image/image_skia.h" 11 #include "ui/gfx/image/image_skia.h"
11 #include "ui/gfx/point.h"
12 12
13 namespace ui { 13 namespace ui {
14 namespace { 14 namespace {
15 15
16 struct HotPoint { 16 struct HotPoint {
17 int x; 17 int x;
18 int y; 18 int y;
19 }; 19 };
20 20
21 struct CursorData { 21 struct CursorData {
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 236
237 const SkBitmap* cursor_bitmap = ResourceBundle::GetSharedInstance(). 237 const SkBitmap* cursor_bitmap = ResourceBundle::GetSharedInstance().
238 GetImageSkiaNamed(resource_id)->bitmap(); 238 GetImageSkiaNamed(resource_id)->bitmap();
239 if (!cursor_bitmap) 239 if (!cursor_bitmap)
240 return false; 240 return false;
241 *bitmap = *cursor_bitmap; 241 *bitmap = *cursor_bitmap;
242 return true; 242 return true;
243 } 243 }
244 244
245 } // namespace ui 245 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698