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

Unified Diff: chrome/browser/bookmarks/bookmark_utils.cc

Issue 9042: Adds support for autoscrolling on drag to bookmark tree/table.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/bookmarks/bookmark_utils.cc
===================================================================
--- chrome/browser/bookmarks/bookmark_utils.cc (revision 4555)
+++ chrome/browser/bookmarks/bookmark_utils.cc (working copy)
@@ -146,9 +146,8 @@
namespace bookmark_utils {
-int PreferredDropOperation(const views::DropTargetEvent& event,
- int operation) {
- int common_ops = (event.GetSourceOperations() & operation);
+int PreferredDropOperation(int source_operations, int operations) {
+ int common_ops = (source_operations & operations);
if (!common_ops)
return 0;
if (DragDropTypes::DRAG_COPY & common_ops)

Powered by Google App Engine
This is Rietveld 408576698