| Index: chrome/browser/tab_contents/web_drag_utils_win.cc
|
| diff --git a/chrome/browser/tab_contents/web_drag_utils_win.cc b/chrome/browser/tab_contents/web_drag_utils_win.cc
|
| index 5c15f45c082a6a785e349bf402e8de1c0a74a9f7..6796876cf89af6bf6977943b6b27ece2622a2f8a 100644
|
| --- a/chrome/browser/tab_contents/web_drag_utils_win.cc
|
| +++ b/chrome/browser/tab_contents/web_drag_utils_win.cc
|
| @@ -25,5 +25,16 @@ WebDragOperationsMask WinDragOpToWebDragOp(DWORD effect) {
|
| return op;
|
| }
|
|
|
| +DWORD WebDragOpToWinDragOp(WebDragOperationsMask op) {
|
| + DWORD win_op = DROPEFFECT_NONE;
|
| + if (op & WebDragOperationCopy)
|
| + win_op |= DROPEFFECT_COPY;
|
| + if (op & WebDragOperationLink)
|
| + win_op |= DROPEFFECT_LINK;
|
| + if (op & WebDragOperationMove)
|
| + win_op |= DROPEFFECT_MOVE;
|
| + return win_op;
|
| +}
|
| +
|
| } // namespace web_drag_utils_win
|
|
|
|
|