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

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

Issue 231733005: Delete the GTK+ port of Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remerge to ToT Created 6 years, 8 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) 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 "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "ui/base/ui_base_export.h" 9 #include "ui/base/ui_base_export.h"
10 10
(...skipping 10 matching lines...) Expand all
21 21
22 enum DragEventSource { 22 enum DragEventSource {
23 DRAG_EVENT_SOURCE_MOUSE, 23 DRAG_EVENT_SOURCE_MOUSE,
24 DRAG_EVENT_SOURCE_TOUCH, 24 DRAG_EVENT_SOURCE_TOUCH,
25 DRAG_EVENT_SOURCE_LAST = DRAG_EVENT_SOURCE_TOUCH 25 DRAG_EVENT_SOURCE_LAST = DRAG_EVENT_SOURCE_TOUCH
26 }; 26 };
27 27
28 #if defined(OS_WIN) 28 #if defined(OS_WIN)
29 static uint32 DragOperationToDropEffect(int drag_operation); 29 static uint32 DragOperationToDropEffect(int drag_operation);
30 static int DropEffectToDragOperation(uint32 effect); 30 static int DropEffectToDragOperation(uint32 effect);
31 #elif defined(TOOLKIT_GTK)
32 static int DragOperationToGdkDragAction(int drag_operation);
33 static int GdkDragActionToDragOperation(int gdk_drag_action);
34 #endif 31 #endif
35 }; 32 };
36 33
37 } // namespace ui 34 } // namespace ui
38 35
39 #endif // UI_BASE_DRAGDROP_DRAG_DROP_TYPES_H_ 36 #endif // UI_BASE_DRAGDROP_DRAG_DROP_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698