Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(259)

Unified Diff: chrome/browser/views/bookmark_editor_view.h

Issue 165031: When we create a new folder in the BookmarkEditor, it is useful to be able to... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/views/bookmark_editor_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/bookmark_editor_view.h
===================================================================
--- chrome/browser/views/bookmark_editor_view.h (revision 22376)
+++ chrome/browser/views/bookmark_editor_view.h (working copy)
@@ -53,6 +53,7 @@
FRIEND_TEST(BookmarkEditorViewTest, NewURL);
FRIEND_TEST(BookmarkEditorViewTest, ChangeURLNoTree);
FRIEND_TEST(BookmarkEditorViewTest, ChangeTitleNoTree);
+ FRIEND_TEST(BookmarkEditorViewTest, ApplyDeleteNewNode);
public:
BookmarkEditorView(Profile* profile,
const BookmarkNode* parent,
@@ -185,6 +186,10 @@
// being edited.
void ApplyEdits(EditorNode* parent);
+ // Applies the delete command to the BookmarkModel node that matches the
+ // currently selected EditorNode.
+ void ApplyDelete(TreeModelNode* node);
+
// Recursively adds newly created groups and sets the title of nodes to
// match the user edited title.
//
« no previous file with comments | « no previous file | chrome/browser/views/bookmark_editor_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698