| Index: chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.mm
|
| diff --git a/chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.mm b/chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.mm
|
| index 11a102bc2f68d754fa5ba5e82eeb018fe8c604d0..8bec045c1a1c7550c5b94e7462a5cf6b7ba4a975 100644
|
| --- a/chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.mm
|
| +++ b/chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.mm
|
| @@ -28,7 +28,6 @@
|
| #include "content/public/browser/notification_details.h"
|
| #include "content/public/browser/notification_source.h"
|
| #include "content/public/browser/web_contents.h"
|
| -#include "third_party/apple_sample_code/ImageAndTextCell.h"
|
| #import "third_party/google_toolbox_for_mac/src/AppKit/GTMNSAnimation+Duration.h"
|
| #import "third_party/google_toolbox_for_mac/src/AppKit/GTMUILocalizerAndLayoutTweaker.h"
|
| #include "ui/base/l10n/l10n_util_mac.h"
|
| @@ -284,25 +283,6 @@ void CollectedCookiesMac::OnConstrainedWindowClosed(
|
| return blockedTreeModel_.get();
|
| }
|
|
|
| -- (void)outlineView:(NSOutlineView*)outlineView
|
| - willDisplayCell:(id)cell
|
| - forTableColumn:(NSTableColumn*)tableColumn
|
| - item:(id)item {
|
| - CocoaCookieTreeNode* node = [item representedObject];
|
| - int index;
|
| - if (outlineView == allowedOutlineView_)
|
| - index = allowedTreeModel_->GetIconIndex([node treeNode]);
|
| - else
|
| - index = blockedTreeModel_->GetIconIndex([node treeNode]);
|
| - NSImage* icon = nil;
|
| - if (index >= 0)
|
| - icon = [icons_ objectAtIndex:index];
|
| - else
|
| - icon = [icons_ lastObject];
|
| - DCHECK([cell isKindOfClass:[ImageAndTextCell class]]);
|
| - [static_cast<ImageAndTextCell*>(cell) setImage:icon];
|
| -}
|
| -
|
| - (void)outlineViewSelectionDidChange:(NSNotification*)notif {
|
| BOOL isAllowedOutlineView;
|
| if ([notif object] == allowedOutlineView_) {
|
|
|