| OLD | NEW |
| 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 #include "content/browser/tab_contents/drag_utils_gtk.h" | 5 #include "content/browser/web_contents/drag_utils_gtk.h" |
| 6 | 6 |
| 7 using WebKit::WebDragOperationsMask; | 7 using WebKit::WebDragOperationsMask; |
| 8 using WebKit::WebDragOperation; | 8 using WebKit::WebDragOperation; |
| 9 using WebKit::WebDragOperationNone; | 9 using WebKit::WebDragOperationNone; |
| 10 using WebKit::WebDragOperationCopy; | 10 using WebKit::WebDragOperationCopy; |
| 11 using WebKit::WebDragOperationLink; | 11 using WebKit::WebDragOperationLink; |
| 12 using WebKit::WebDragOperationMove; | 12 using WebKit::WebDragOperationMove; |
| 13 | 13 |
| 14 namespace content { | 14 namespace content { |
| 15 | 15 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 29 if (action & GDK_ACTION_COPY) | 29 if (action & GDK_ACTION_COPY) |
| 30 op = static_cast<WebDragOperationsMask>(op | WebDragOperationCopy); | 30 op = static_cast<WebDragOperationsMask>(op | WebDragOperationCopy); |
| 31 if (action & GDK_ACTION_LINK) | 31 if (action & GDK_ACTION_LINK) |
| 32 op = static_cast<WebDragOperationsMask>(op | WebDragOperationLink); | 32 op = static_cast<WebDragOperationsMask>(op | WebDragOperationLink); |
| 33 if (action & GDK_ACTION_MOVE) | 33 if (action & GDK_ACTION_MOVE) |
| 34 op = static_cast<WebDragOperationsMask>(op | WebDragOperationMove); | 34 op = static_cast<WebDragOperationsMask>(op | WebDragOperationMove); |
| 35 return op; | 35 return op; |
| 36 } | 36 } |
| 37 | 37 |
| 38 } // namespace content | 38 } // namespace content |
| OLD | NEW |