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

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

Issue 5292013: GTK: Parse NETSCAPE_URL types in drags to the bookmark bar. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 #include <string> 10 #include <string>
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 int idx); 91 int idx);
92 92
93 // Add the URIs in |selection_data| into the model at the given position. They 93 // Add the URIs in |selection_data| into the model at the given position. They
94 // will be added whether or not the URL is valid. 94 // will be added whether or not the URL is valid.
95 bool CreateNewBookmarksFromURIList( 95 bool CreateNewBookmarksFromURIList(
96 GtkSelectionData* selection_data, 96 GtkSelectionData* selection_data,
97 BookmarkModel* model, 97 BookmarkModel* model,
98 const BookmarkNode* parent, 98 const BookmarkNode* parent,
99 int idx); 99 int idx);
100 100
101 // Add the "url\ntitle" combination into the model at the given position.
102 bool CreateNewBookmarkFromNetscapeURL(
103 GtkSelectionData* selection_data,
104 BookmarkModel* model,
105 const BookmarkNode* parent,
106 int idx);
107
101 } // namespace bookmark_utils 108 } // namespace bookmark_utils
102 109
103 #endif // CHROME_BROWSER_GTK_BOOKMARK_UTILS_GTK_H_ 110 #endif // CHROME_BROWSER_GTK_BOOKMARK_UTILS_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698