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

Side by Side Diff: app/drag_drop_types.h

Issue 6250014: Move more dnd related files to ui/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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
« no previous file with comments | « app/download_file_interface.h ('k') | app/drag_drop_types_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef APP_DRAG_DROP_TYPES_H_
6 #define APP_DRAG_DROP_TYPES_H_
7 #pragma once
8
9 #include "build/build_config.h"
10
11 #include "base/basictypes.h"
12
13 class DragDropTypes {
14 public:
15 enum DragOperation {
16 DRAG_NONE = 0,
17 DRAG_MOVE = 1 << 0,
18 DRAG_COPY = 1 << 1,
19 DRAG_LINK = 1 << 2
20 };
21
22 #if defined(OS_WIN)
23 static uint32 DragOperationToDropEffect(int drag_operation);
24 static int DropEffectToDragOperation(uint32 effect);
25 #elif !defined(OS_MACOSX)
26 static int DragOperationToGdkDragAction(int drag_operation);
27 static int GdkDragActionToDragOperation(int gdk_drag_action);
28 #endif
29 };
30
31 #endif // APP_DRAG_DROP_TYPES_H_
OLDNEW
« no previous file with comments | « app/download_file_interface.h ('k') | app/drag_drop_types_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698