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

Side by Side Diff: chrome/common/drag_drop_types.h

Issue 115012: Move: drag_drop_types, favicon_size, icon_util, insets, path, message_box_fla... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/common.vcproj ('k') | chrome/common/drag_drop_types.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) 2006-2008 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 CHROME_COMMON_DRAG_DROP_TYPES_H_
6 #define CHROME_COMMON_DRAG_DROP_TYPES_H_
7
8 #include "base/basictypes.h"
9
10 class DragDropTypes {
11 public:
12 enum DragOperation {
13 DRAG_NONE = 0,
14 DRAG_MOVE = 1 << 0,
15 DRAG_COPY = 1 << 1,
16 DRAG_LINK = 1 << 2
17 };
18
19 static uint32 DragOperationToDropEffect(int drag_operation);
20 static int DropEffectToDragOperation(uint32 effect);
21 };
22
23 #endif // CHROME_COMMON_DRAG_DROP_TYPES_H_
OLDNEW
« no previous file with comments | « chrome/common/common.vcproj ('k') | chrome/common/drag_drop_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698