| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/string16.h" | 12 #include "base/string16.h" |
| 13 #include "gfx/native_widget_types.h" | 13 #include "ui/gfx/native_widget_types.h" |
| 14 | 14 |
| 15 class BookmarkNode; | 15 class BookmarkNode; |
| 16 class GURL; | 16 class GURL; |
| 17 class Profile; | 17 class Profile; |
| 18 | 18 |
| 19 // Small, cross platform interface that shows the correct platform specific | 19 // Small, cross platform interface that shows the correct platform specific |
| 20 // bookmark editor dialog. | 20 // bookmark editor dialog. |
| 21 class BookmarkEditor { | 21 class BookmarkEditor { |
| 22 public: | 22 public: |
| 23 // An enumeration of the possible configurations offered. | 23 // An enumeration of the possible configurations offered. |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 // |parent| gives the initial parent to select in the tree for the node. | 65 // |parent| gives the initial parent to select in the tree for the node. |
| 66 // |parent| is only used if |details.existing_node| is null. | 66 // |parent| is only used if |details.existing_node| is null. |
| 67 static void Show(gfx::NativeWindow parent_window, | 67 static void Show(gfx::NativeWindow parent_window, |
| 68 Profile* profile, | 68 Profile* profile, |
| 69 const BookmarkNode* parent, | 69 const BookmarkNode* parent, |
| 70 const EditDetails& details, | 70 const EditDetails& details, |
| 71 Configuration configuration); | 71 Configuration configuration); |
| 72 }; | 72 }; |
| 73 | 73 |
| 74 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_EDITOR_H_ | 74 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_EDITOR_H_ |
| OLD | NEW |