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

Side by Side Diff: ui/base/dragdrop/drag_drop_types.h

Issue 1964283002: MacViews: Implemented Drag & Drop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Forgot to add the test Created 4 years, 7 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 UI_BASE_DRAGDROP_DRAG_DROP_TYPES_H_ 5 #ifndef UI_BASE_DRAGDROP_DRAG_DROP_TYPES_H_
6 #define UI_BASE_DRAGDROP_DRAG_DROP_TYPES_H_ 6 #define UI_BASE_DRAGDROP_DRAG_DROP_TYPES_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 14 matching lines...) Expand all
25 DRAG_EVENT_SOURCE_MOUSE = 0, 25 DRAG_EVENT_SOURCE_MOUSE = 0,
26 DRAG_EVENT_SOURCE_TOUCH, 26 DRAG_EVENT_SOURCE_TOUCH,
27 DRAG_EVENT_SOURCE_LAST = DRAG_EVENT_SOURCE_TOUCH, 27 DRAG_EVENT_SOURCE_LAST = DRAG_EVENT_SOURCE_TOUCH,
28 DRAG_EVENT_SOURCE_COUNT 28 DRAG_EVENT_SOURCE_COUNT
29 }; 29 };
30 30
31 #if defined(OS_WIN) 31 #if defined(OS_WIN)
32 static uint32_t DragOperationToDropEffect(int drag_operation); 32 static uint32_t DragOperationToDropEffect(int drag_operation);
33 static int DropEffectToDragOperation(uint32_t effect); 33 static int DropEffectToDragOperation(uint32_t effect);
34 #endif 34 #endif
35
36 #if defined(OS_MACOSX)
37 static uint64_t DragOperationToNSDragOperation(int drag_operation);
38 #endif
35 }; 39 };
36 40
37 } // namespace ui 41 } // namespace ui
38 42
39 #endif // UI_BASE_DRAGDROP_DRAG_DROP_TYPES_H_ 43 #endif // UI_BASE_DRAGDROP_DRAG_DROP_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698