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

Side by Side Diff: chrome/browser/ui/views/bookmarks/bookmark_editor_view.h

Issue 7617006: views/bookmarks: Fix memory leak in BookmarkEditorView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: one more try Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_UI_VIEWS_BOOKMARKS_BOOKMARK_EDITOR_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_EDITOR_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_EDITOR_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_EDITOR_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/string16.h" 10 #include "base/string16.h"
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 232
233 // Displays star folder. 233 // Displays star folder.
234 views::TreeView* tree_view_; 234 views::TreeView* tree_view_;
235 235
236 // Used to create a new folder. 236 // Used to create a new folder.
237 scoped_ptr<views::TextButton> new_folder_button_; 237 scoped_ptr<views::TextButton> new_folder_button_;
238 238
239 // The label for the url text field. 239 // The label for the url text field.
240 views::Label* url_label_; 240 views::Label* url_label_;
241 241
242 // Used for editing the URL. 242 // The text field used for editing the URL.
243 views::Textfield url_tf_; 243 views::Textfield* url_tf_;
244 244
245 // The label for the title text field. 245 // The label for the title text field.
246 views::Label* title_label_; 246 views::Label* title_label_;
247 247
248 // Used for editing the title. 248 // Used for editing the title.
249 views::Textfield title_tf_; 249 views::Textfield title_tf_;
250 250
251 // Initial parent to select. Is only used if |details_.existing_node| is 251 // Initial parent to select. Is only used if |details_.existing_node| is
252 // NULL. 252 // NULL.
253 const BookmarkNode* parent_; 253 const BookmarkNode* parent_;
(...skipping 14 matching lines...) Expand all
268 // Is the tree shown? 268 // Is the tree shown?
269 bool show_tree_; 269 bool show_tree_;
270 270
271 // List of deleted bookmark folders. 271 // List of deleted bookmark folders.
272 std::vector<int64> deletes_; 272 std::vector<int64> deletes_;
273 273
274 DISALLOW_COPY_AND_ASSIGN(BookmarkEditorView); 274 DISALLOW_COPY_AND_ASSIGN(BookmarkEditorView);
275 }; 275 };
276 276
277 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_EDITOR_VIEW_H_ 277 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_EDITOR_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698