| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |