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

Side by Side Diff: chrome/browser/cocoa/cookies_window_controller.h

Issue 1598001: [Mac] Select the previous node when the last cookie in the list is deleted. (Closed)
Patch Set: Address comments. Created 10 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/cocoa/cookies_window_controller.mm » ('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) 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 #import <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 #include "app/tree_model.h" 7 #include "app/tree_model.h"
8 #include "base/cocoa_protocols_mac.h" 8 #include "base/cocoa_protocols_mac.h"
9 #include "base/scoped_nsobject.h" 9 #include "base/scoped_nsobject.h"
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 // Returns the cocoaTreeModel_. 135 // Returns the cocoaTreeModel_.
136 - (CocoaCookieTreeNode*)cocoaTreeModel; 136 - (CocoaCookieTreeNode*)cocoaTreeModel;
137 - (void)setCocoaTreeModel:(CocoaCookieTreeNode*)model; 137 - (void)setCocoaTreeModel:(CocoaCookieTreeNode*)model;
138 138
139 // Returns the treeModel_. 139 // Returns the treeModel_.
140 - (CookiesTreeModel*)treeModel; 140 - (CookiesTreeModel*)treeModel;
141 141
142 @end 142 @end
143 143
144 @interface CookiesWindowController (UnitTesting) 144 @interface CookiesWindowController (UnitTesting)
145 - (void)deleteNodeAtIndexPath:(NSIndexPath*)path;
145 - (void)clearBrowsingDataNotification:(NSNotification*)notif; 146 - (void)clearBrowsingDataNotification:(NSNotification*)notif;
146 - (CookiesTreeModelObserverBridge*)modelObserver; 147 - (CookiesTreeModelObserverBridge*)modelObserver;
147 - (NSArray*)icons; 148 - (NSArray*)icons;
148 - (void)loadTreeModelFromProfile; 149 - (void)loadTreeModelFromProfile;
149 @end 150 @end
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/cocoa/cookies_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698