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