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

Side by Side Diff: chrome/browser/ui/gtk/bookmarks/bookmark_drag_drop_gtk.cc

Issue 23646006: gtk: Split CustomDrag into multiple pieces. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 years, 3 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/browser/ui/gtk/bookmarks/bookmark_drag.cc ('k') | chrome/browser/ui/gtk/custom_drag.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 "chrome/browser/ui/bookmarks/bookmark_drag_drop.h" 5 #include "chrome/browser/ui/bookmarks/bookmark_drag_drop.h"
6 6
7 #include "chrome/browser/ui/gtk/custom_drag.h" 7 #include "chrome/browser/ui/gtk/bookmarks/bookmark_drag.h"
8 8
9 namespace chrome { 9 namespace chrome {
10 10
11 void DragBookmarks(Profile* profile, 11 void DragBookmarks(Profile* profile,
12 const std::vector<const BookmarkNode*>& nodes, 12 const std::vector<const BookmarkNode*>& nodes,
13 gfx::NativeView view) { 13 gfx::NativeView view) {
14 DCHECK(!nodes.empty()); 14 DCHECK(!nodes.empty());
15 15
16 BookmarkDrag::BeginDrag(profile, nodes); 16 BookmarkDrag::BeginDrag(profile, nodes);
17 } 17 }
18 18
19 } // namespace chrome 19 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/bookmarks/bookmark_drag.cc ('k') | chrome/browser/ui/gtk/custom_drag.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698