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

Side by Side Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_editor_base_controller.mm

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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
OLDNEW
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 #include <stack> 5 #include <stack>
6 6
7 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_editor_base_controller.h" 7 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_editor_base_controller.h"
8 8
9 #include "app/l10n_util.h" 9 #include "app/l10n_util.h"
10 #include "app/l10n_util_mac.h" 10 #include "app/l10n_util_mac.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/mac_util.h" 12 #include "base/mac_util.h"
13 #include "base/sys_string_conversions.h" 13 #include "base/sys_string_conversions.h"
14 #include "chrome/browser/bookmarks/bookmark_model.h" 14 #include "chrome/browser/bookmarks/bookmark_model.h"
15 #include "chrome/browser/profile.h" 15 #include "chrome/browser/profiles/profile.h"
16 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_all_tabs_controller.h" 16 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_all_tabs_controller.h"
17 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_editor_controller.h" 17 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_editor_controller.h"
18 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_tree_browser_cell.h" 18 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_tree_browser_cell.h"
19 #import "chrome/browser/ui/cocoa/browser_window_controller.h" 19 #import "chrome/browser/ui/cocoa/browser_window_controller.h"
20 #include "grit/generated_resources.h" 20 #include "grit/generated_resources.h"
21 21
22 @interface BookmarkEditorBaseController () 22 @interface BookmarkEditorBaseController ()
23 23
24 // Return the folder tree object for the given path. 24 // Return the folder tree object for the given path.
25 - (BookmarkFolderInfo*)folderForIndexPath:(NSIndexPath*)path; 25 - (BookmarkFolderInfo*)folderForIndexPath:(NSIndexPath*)path;
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 } 595 }
596 596
597 // Implementing isEqual: allows the NSTreeController to preserve the selection 597 // Implementing isEqual: allows the NSTreeController to preserve the selection
598 // and open/shut state of outline items when the data changes. 598 // and open/shut state of outline items when the data changes.
599 - (BOOL)isEqual:(id)other { 599 - (BOOL)isEqual:(id)other {
600 return [other isKindOfClass:[BookmarkFolderInfo class]] && 600 return [other isKindOfClass:[BookmarkFolderInfo class]] &&
601 folderNode_ == [(BookmarkFolderInfo*)other folderNode]; 601 folderNode_ == [(BookmarkFolderInfo*)other folderNode];
602 } 602 }
603 603
604 @end 604 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/bookmarks/bookmark_drag_source.mm ('k') | chrome/browser/ui/cocoa/bookmarks/bookmark_menu_bridge.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698