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

Side by Side Diff: chrome/browser/gtk/bookmark_utils_gtk.h

Issue 159419: Correctly update drag status for drags over renderer. This makes things look ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: do what Brett says Created 11 years, 4 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 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 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 #ifndef CHROME_BROWSER_GTK_BOOKMARK_UTILS_GTK_H_ 5 #ifndef CHROME_BROWSER_GTK_BOOKMARK_UTILS_GTK_H_
6 #define CHROME_BROWSER_GTK_BOOKMARK_UTILS_GTK_H_ 6 #define CHROME_BROWSER_GTK_BOOKMARK_UTILS_GTK_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 #include <vector> 9 #include <vector>
10 #include <string> 10 #include <string>
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 gboolean* dnd_success); 76 gboolean* dnd_success);
77 77
78 // Unpickle a new bookmark of the CHROME_NAMED_URL drag type, and put it in 78 // Unpickle a new bookmark of the CHROME_NAMED_URL drag type, and put it in
79 // the appropriate location in the model. 79 // the appropriate location in the model.
80 bool CreateNewBookmarkFromNamedUrl( 80 bool CreateNewBookmarkFromNamedUrl(
81 GtkSelectionData* selection_data, 81 GtkSelectionData* selection_data,
82 BookmarkModel* model, 82 BookmarkModel* model,
83 const BookmarkNode* parent, 83 const BookmarkNode* parent,
84 int idx); 84 int idx);
85 85
86 // Add the URIs in |selection_data| into the model at the given position. They
87 // will be added whether or not the URL is valid.
88 bool CreateNewBookmarksFromURIList(
89 GtkSelectionData* selection_data,
90 BookmarkModel* model,
91 const BookmarkNode* parent,
92 int idx);
93
86 } // namespace bookmark_utils 94 } // namespace bookmark_utils
87 95
88 #endif // CHROME_BROWSER_GTK_BOOKMARK_UTILS_GTK_H_ 96 #endif // CHROME_BROWSER_GTK_BOOKMARK_UTILS_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698