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_BOOKMARKS_BOOKMARK_EDITOR_H_ | 5 #ifndef CHROME_BROWSER_BOOKMARKS_BOOKMARK_EDITOR_H_ |
6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_EDITOR_H_ | 6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_EDITOR_H_ |
7 | 7 |
8 #include "base/gfx/native_widget_types.h" | 8 #include "base/gfx/native_widget_types.h" |
9 | 9 |
10 class BookmarkNode; | 10 class BookmarkNode; |
(...skipping 15 matching lines...) Expand all Loading... |
26 enum Configuration { | 26 enum Configuration { |
27 SHOW_TREE, | 27 SHOW_TREE, |
28 NO_TREE | 28 NO_TREE |
29 }; | 29 }; |
30 | 30 |
31 // Shows the platform specific BookmarkEditor subclass editing |node|. If | 31 // Shows the platform specific BookmarkEditor subclass editing |node|. If |
32 // |node| is NULL a new entry is created initially parented to |parent|. If | 32 // |node| is NULL a new entry is created initially parented to |parent|. If |
33 // |show_tree| is false the tree is not shown. BookmarkEditor takes | 33 // |show_tree| is false the tree is not shown. BookmarkEditor takes |
34 // ownership of |handler| and deletes it when done. |handler| may be | 34 // ownership of |handler| and deletes it when done. |handler| may be |
35 // null. See description of Handler for details. | 35 // null. See description of Handler for details. |
36 static void Show(gfx::NativeWindow parent_window, | 36 static void Show(gfx::NativeView parent_window, |
37 Profile* profile, | 37 Profile* profile, |
38 BookmarkNode* parent, | 38 BookmarkNode* parent, |
39 BookmarkNode* node, | 39 BookmarkNode* node, |
40 Configuration configuration, | 40 Configuration configuration, |
41 Handler* handler); | 41 Handler* handler); |
42 }; | 42 }; |
43 | 43 |
44 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_EDITOR_H_ | 44 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_EDITOR_H_ |
OLD | NEW |