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

Side by Side Diff: ui/base/dragdrop/drag_utils_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) 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/base/dragdrop/drag_utils.h" 5 #include "ui/base/dragdrop/drag_utils.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "ui/base/dragdrop/os_exchange_data.h" 8 #include "ui/base/dragdrop/os_exchange_data.h"
9 #include "ui/gfx/canvas.h" 9 #include "ui/gfx/canvas.h"
10 #include "ui/gfx/geometry/vector2d.h"
10 #include "ui/gfx/image/image_skia.h" 11 #include "ui/gfx/image/image_skia.h"
11 #include "ui/gfx/size.h" 12 #include "ui/gfx/size.h"
12 #include "ui/gfx/vector2d.h"
13 13
14 namespace drag_utils { 14 namespace drag_utils {
15 15
16 void SetDragImageOnDataObject(const gfx::ImageSkia& image, 16 void SetDragImageOnDataObject(const gfx::ImageSkia& image,
17 const gfx::Vector2d& cursor_offset, 17 const gfx::Vector2d& cursor_offset,
18 ui::OSExchangeData* data_object) { 18 ui::OSExchangeData* data_object) {
19 19
20 data_object->provider().SetDragImage(image, cursor_offset); 20 data_object->provider().SetDragImage(image, cursor_offset);
21 } 21 }
22 22
23 } // namespace drag_utils 23 } // namespace drag_utils
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698