| 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 "app/gfx/native_widget_types.h" |
| 9 | 9 |
| 10 class BookmarkNode; | 10 class BookmarkNode; |
| 11 class Profile; | 11 class Profile; |
| 12 | 12 |
| 13 // Small, cross platform interface that shows the correct platform specific | 13 // Small, cross platform interface that shows the correct platform specific |
| 14 // bookmark editor dialog. | 14 // bookmark editor dialog. |
| 15 class BookmarkEditor { | 15 class BookmarkEditor { |
| 16 public: | 16 public: |
| 17 // Handler is notified when the BookmarkEditor creates a new bookmark. | 17 // Handler is notified when the BookmarkEditor creates a new bookmark. |
| 18 // Handler is owned by the BookmarkEditor and deleted when it is deleted. | 18 // Handler is owned by the BookmarkEditor and deleted when it is deleted. |
| (...skipping 21 matching lines...) Expand all Loading... |
| 40 // null. See description of Handler for details. | 40 // null. See description of Handler for details. |
| 41 static void Show(gfx::NativeView parent_window, | 41 static void Show(gfx::NativeView parent_window, |
| 42 Profile* profile, | 42 Profile* profile, |
| 43 const BookmarkNode* parent, | 43 const BookmarkNode* parent, |
| 44 const BookmarkNode* node, | 44 const BookmarkNode* node, |
| 45 Configuration configuration, | 45 Configuration configuration, |
| 46 Handler* handler); | 46 Handler* handler); |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_EDITOR_H_ | 49 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_EDITOR_H_ |
| OLD | NEW |