| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #ifndef CONTENT_BROWSER_TAB_CONTENTS_WEB_DRAG_UTILS_WIN_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_DRAG_UTILS_WIN_H_ |
| 6 #define CONTENT_BROWSER_TAB_CONTENTS_WEB_DRAG_UTILS_WIN_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_DRAG_UTILS_WIN_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h" | 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h" |
| 10 | 10 |
| 11 #include <windows.h> | 11 #include <windows.h> |
| 12 | 12 |
| 13 namespace web_drag_utils_win { | 13 namespace web_drag_utils_win { |
| 14 | 14 |
| 15 WebKit::WebDragOperation WinDragOpToWebDragOp(DWORD effect); | 15 WebKit::WebDragOperation WinDragOpToWebDragOp(DWORD effect); |
| 16 WebKit::WebDragOperationsMask WinDragOpMaskToWebDragOpMask(DWORD effects); | 16 WebKit::WebDragOperationsMask WinDragOpMaskToWebDragOpMask(DWORD effects); |
| 17 | 17 |
| 18 DWORD WebDragOpToWinDragOp(WebKit::WebDragOperation op); | 18 DWORD WebDragOpToWinDragOp(WebKit::WebDragOperation op); |
| 19 DWORD WebDragOpMaskToWinDragOpMask(WebKit::WebDragOperationsMask ops); | 19 DWORD WebDragOpMaskToWinDragOpMask(WebKit::WebDragOperationsMask ops); |
| 20 | 20 |
| 21 } // namespace web_drag_utils_win | 21 } // namespace web_drag_utils_win |
| 22 | 22 |
| 23 #endif // CONTENT_BROWSER_TAB_CONTENTS_WEB_DRAG_UTILS_WIN_H_ | 23 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_DRAG_UTILS_WIN_H_ |
| OLD | NEW |