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

Side by Side Diff: chrome/browser/ui/cocoa/content_settings/cookie_details_view_controller.mm

Issue 817153002: Switch users of foundation_util.h to include it directly and clean up uses of mac_util.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
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/content_settings/cookie_details_view_controller .h" 5 #import "chrome/browser/ui/cocoa/content_settings/cookie_details_view_controller .h"
6 6
7 #include "base/mac/bundle_locations.h" 7 #include "base/mac/bundle_locations.h"
8 #import "base/mac/mac_util.h"
9 #include "base/strings/sys_string_conversions.h" 8 #include "base/strings/sys_string_conversions.h"
10 #import "chrome/browser/ui/cocoa/content_settings/cookie_tree_node.h" 9 #import "chrome/browser/ui/cocoa/content_settings/cookie_tree_node.h"
11 #import "third_party/google_toolbox_for_mac/src/AppKit/GTMUILocalizerAndLayoutTw eaker.h" 10 #import "third_party/google_toolbox_for_mac/src/AppKit/GTMUILocalizerAndLayoutTw eaker.h"
12 #include "ui/base/l10n/l10n_util_mac.h" 11 #include "ui/base/l10n/l10n_util_mac.h"
13 12
14 namespace { 13 namespace {
15 static const int kExtraMarginBelowWhenExpirationEditable = 5; 14 static const int kExtraMarginBelowWhenExpirationEditable = 5;
16 } 15 }
17 16
18 #pragma mark View Controller 17 #pragma mark View Controller
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 100
102 - (IBAction)setCookieHasExplicitExpiration:(id)sender { 101 - (IBAction)setCookieHasExplicitExpiration:(id)sender {
103 [[[objectController_ content] details] setHasExpiration:YES]; 102 [[[objectController_ content] details] setHasExpiration:YES];
104 } 103 }
105 104
106 - (BOOL)hasExpiration { 105 - (BOOL)hasExpiration {
107 return [[[objectController_ content] details] hasExpiration]; 106 return [[[objectController_ content] details] hasExpiration];
108 } 107 }
109 108
110 @end 109 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/confirm_bubble_controller.mm ('k') | chrome/browser/ui/cocoa/download/download_item_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698