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

Side by Side Diff: ui/base/dragdrop/drag_utils.cc

Issue 2792183002: Delete ash-based code for Windows drag-and-drop graphics. (Closed)
Patch Set: ashdrag: addheaders Created 3 years, 8 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "ui/base/dragdrop/drag_utils.h"
6
7 #include "ui/base/dragdrop/os_exchange_data.h"
8
9 namespace drag_utils {
10
11 #if !defined(OS_WIN)
12 void SetDragImageOnDataObject(const gfx::ImageSkia& image_skia,
13 const gfx::Vector2d& cursor_offset,
14 ui::OSExchangeData* data_object) {
15 data_object->provider().SetDragImage(image_skia, cursor_offset);
16 }
17 #endif
18
19 } // namespace drag_utils
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698