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

Side by Side Diff: chrome/browser/cocoa/bookmark_menu.mm

Issue 391046: Fix "open all" on a folder node to open only 'marks in that folder,... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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 | « chrome/browser/cocoa/bookmark_menu.h ('k') | chrome/browser/cocoa/bookmark_menu_unittest.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #import "chrome/browser/cocoa/bookmark_menu.h"
6
7
8 @implementation BookmarkMenu
9
10 @synthesize node = node_;
11
12 // Convention in the bookmark bar controller: the bookmark button
13 // cells have a BookmarkNode as their represented object. This object
14 // is placed in a BookmarkMenu at the time a cell is asked for its
15 // menu.
16 - (void)setRepresentedObject:(id)object {
17 if ([object isKindOfClass:[NSValue class]]) {
18 node_ = static_cast<const BookmarkNode*>([object pointerValue]);
19 }
20 }
21
22 @end
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/bookmark_menu.h ('k') | chrome/browser/cocoa/bookmark_menu_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698