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

Side by Side Diff: chrome/browser/ui/cocoa/options/cookies_window_controller.mm

Issue 6339002: [Mac] Consolidate all files relating to preferences in a subdir of c/b/ui/coc... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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
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 "chrome/browser/ui/cocoa/cookies_window_controller.h" 5 #import "chrome/browser/ui/cocoa/options/cookies_window_controller.h"
6 6
7 #include <queue> 7 #include <queue>
8 #include <vector> 8 #include <vector>
9 9
10 #include "app/l10n_util_mac.h" 10 #include "app/l10n_util_mac.h"
11 #include "app/resource_bundle.h" 11 #include "app/resource_bundle.h"
12 #import "base/mac/mac_util.h" 12 #import "base/mac/mac_util.h"
13 #include "base/sys_string_conversions.h" 13 #include "base/sys_string_conversions.h"
14 #include "chrome/browser/browsing_data_remover.h" 14 #include "chrome/browser/browsing_data_remover.h"
15 #include "chrome/browser/profiles/profile.h" 15 #include "chrome/browser/profiles/profile.h"
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 [icons_ addObject:rb.GetNativeImageNamed(IDR_BOOKMARK_BAR_FOLDER)]; 439 [icons_ addObject:rb.GetNativeImageNamed(IDR_BOOKMARK_BAR_FOLDER)];
440 440
441 // Create the Cocoa model. 441 // Create the Cocoa model.
442 CookieTreeNode* root = static_cast<CookieTreeNode*>(treeModel_->GetRoot()); 442 CookieTreeNode* root = static_cast<CookieTreeNode*>(treeModel_->GetRoot());
443 scoped_nsobject<CocoaCookieTreeNode> model( 443 scoped_nsobject<CocoaCookieTreeNode> model(
444 [[CocoaCookieTreeNode alloc] initWithNode:root]); 444 [[CocoaCookieTreeNode alloc] initWithNode:root]);
445 [self setCocoaTreeModel:model.get()]; // Takes ownership. 445 [self setCocoaTreeModel:model.get()]; // Takes ownership.
446 } 446 }
447 447
448 @end 448 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698