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

Side by Side Diff: content/browser/tab_contents/web_drag_utils_win.h

Issue 9562049: Move the core drag&drop code for Windows to content\browser to match Mac/GTK. I've had to add tempo… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 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 | Annotate | Revision Log
OLDNEW
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 CHROME_BROWSER_TAB_CONTENTS_WEB_DRAG_UTILS_WIN_H_ 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_WEB_DRAG_UTILS_WIN_H_
6 #define CHROME_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"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h"
10 11
11 #include <windows.h> 12 #include <windows.h>
12 13
13 namespace web_drag_utils_win { 14 namespace web_drag_utils_win {
14 15
15 WebKit::WebDragOperation WinDragOpToWebDragOp(DWORD effect); 16 WebKit::WebDragOperation WinDragOpToWebDragOp(DWORD effect);
16 WebKit::WebDragOperationsMask WinDragOpMaskToWebDragOpMask(DWORD effects); 17 WebKit::WebDragOperationsMask WinDragOpMaskToWebDragOpMask(DWORD effects);
17 18
18 DWORD WebDragOpToWinDragOp(WebKit::WebDragOperation op); 19 DWORD WebDragOpToWinDragOp(WebKit::WebDragOperation op);
19 DWORD WebDragOpMaskToWinDragOpMask(WebKit::WebDragOperationsMask ops); 20 CONTENT_EXPORT DWORD WebDragOpMaskToWinDragOpMask(
21 WebKit::WebDragOperationsMask ops);
20 22
21 } // namespace web_drag_utils_win 23 } // namespace web_drag_utils_win
22 24
23 #endif // CHROME_BROWSER_TAB_CONTENTS_WEB_DRAG_UTILS_WIN_H_ 25 #endif // CONTENT_BROWSER_TAB_CONTENTS_WEB_DRAG_UTILS_WIN_H_
24
OLDNEW
« no previous file with comments | « content/browser/tab_contents/web_drag_source_win.cc ('k') | content/browser/tab_contents/web_drag_utils_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698