| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_VIEWS_BOOKMARK_EDITOR_VIEW_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_BOOKMARK_EDITOR_VIEW_H_ |
| 6 #define CHROME_BROWSER_VIEWS_BOOKMARK_EDITOR_VIEW_H_ | 6 #define CHROME_BROWSER_VIEWS_BOOKMARK_EDITOR_VIEW_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "chrome/browser/bookmarks/bookmark_model.h" | 10 #include "chrome/browser/bookmarks/bookmark_model.h" |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 int new_index); | 169 int new_index); |
| 170 virtual void BookmarkNodeAdded(BookmarkModel* model, | 170 virtual void BookmarkNodeAdded(BookmarkModel* model, |
| 171 BookmarkNode* parent, | 171 BookmarkNode* parent, |
| 172 int index); | 172 int index); |
| 173 virtual void BookmarkNodeRemoved(BookmarkModel* model, | 173 virtual void BookmarkNodeRemoved(BookmarkModel* model, |
| 174 BookmarkNode* parent, | 174 BookmarkNode* parent, |
| 175 int index, | 175 int index, |
| 176 BookmarkNode* node); | 176 BookmarkNode* node); |
| 177 virtual void BookmarkNodeChanged(BookmarkModel* model, | 177 virtual void BookmarkNodeChanged(BookmarkModel* model, |
| 178 BookmarkNode* node) {} | 178 BookmarkNode* node) {} |
| 179 virtual void BookmarkNodeChildrenReordered(BookmarkModel* model, |
| 180 BookmarkNode* node); |
| 179 virtual void BookmarkNodeFavIconLoaded(BookmarkModel* model, | 181 virtual void BookmarkNodeFavIconLoaded(BookmarkModel* model, |
| 180 BookmarkNode* node) {} | 182 BookmarkNode* node) {} |
| 181 | 183 |
| 182 // Resets the model of the tree and updates the various buttons appropriately. | 184 // Resets the model of the tree and updates the various buttons appropriately. |
| 183 void Reset(); | 185 void Reset(); |
| 184 | 186 |
| 185 // Expands all the nodes in the tree and selects the parent node of the | 187 // Expands all the nodes in the tree and selects the parent node of the |
| 186 // url we're editing or the most recent parent if the url being editted isn't | 188 // url we're editing or the most recent parent if the url being editted isn't |
| 187 // starred. | 189 // starred. |
| 188 void ExpandAndSelect(); | 190 void ExpandAndSelect(); |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 | 278 |
| 277 // Is the tree shown? | 279 // Is the tree shown? |
| 278 bool show_tree_; | 280 bool show_tree_; |
| 279 | 281 |
| 280 scoped_ptr<Handler> handler_; | 282 scoped_ptr<Handler> handler_; |
| 281 | 283 |
| 282 DISALLOW_COPY_AND_ASSIGN(BookmarkEditorView); | 284 DISALLOW_COPY_AND_ASSIGN(BookmarkEditorView); |
| 283 }; | 285 }; |
| 284 | 286 |
| 285 #endif // CHROME_BROWSER_VIEWS_BOOKMARK_EDITOR_VIEW_H_ | 287 #endif // CHROME_BROWSER_VIEWS_BOOKMARK_EDITOR_VIEW_H_ |
| OLD | NEW |