| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_TREE_MODEL_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_BOOKMARK_TREE_MODEL_H_ |
| 6 #define CHROME_BROWSER_GTK_BOOKMARK_TREE_MODEL_H_ | 6 #define CHROME_BROWSER_UI_GTK_BOOKMARK_TREE_MODEL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/string16.h" | 10 #include "base/string16.h" |
| 11 | 11 |
| 12 class BookmarkModel; | 12 class BookmarkModel; |
| 13 class BookmarkNode; | 13 class BookmarkNode; |
| 14 | 14 |
| 15 typedef struct _GtkCellRenderer GtkCellRenderer; | 15 typedef struct _GtkCellRenderer GtkCellRenderer; |
| 16 typedef struct _GtkTreeIter GtkTreeIter; | 16 typedef struct _GtkTreeIter GtkTreeIter; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 GtkTreeIter* selected); | 67 GtkTreeIter* selected); |
| 68 | 68 |
| 69 // Returns the id field of the row pointed to by |iter|. | 69 // Returns the id field of the row pointed to by |iter|. |
| 70 int64 GetIdFromTreeIter(GtkTreeModel* model, GtkTreeIter* iter); | 70 int64 GetIdFromTreeIter(GtkTreeModel* model, GtkTreeIter* iter); |
| 71 | 71 |
| 72 // Returns the title field in utf8 of the row pointed to by |iter|. | 72 // Returns the title field in utf8 of the row pointed to by |iter|. |
| 73 string16 GetTitleFromTreeIter(GtkTreeModel* model, GtkTreeIter* iter); | 73 string16 GetTitleFromTreeIter(GtkTreeModel* model, GtkTreeIter* iter); |
| 74 | 74 |
| 75 } // namespace bookmark_utils | 75 } // namespace bookmark_utils |
| 76 | 76 |
| 77 #endif // CHROME_BROWSER_GTK_BOOKMARK_TREE_MODEL_H_ | 77 #endif // CHROME_BROWSER_UI_GTK_BOOKMARK_TREE_MODEL_H_ |
| OLD | NEW |