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