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

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

Issue 454583002: Cleanup: Remove unneeded #includes for grit/, ui/base/l10n/l10n_util.h and ui/base/resource/resourc… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Cros some more Created 6 years, 4 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/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" 8 #import "base/mac/mac_util.h"
9 #include "base/strings/sys_string_conversions.h" 9 #include "base/strings/sys_string_conversions.h"
10 #import "chrome/browser/ui/cocoa/content_settings/cookie_tree_node.h" 10 #import "chrome/browser/ui/cocoa/content_settings/cookie_tree_node.h"
11 #import "third_party/google_toolbox_for_mac/src/AppKit/GTMUILocalizerAndLayoutTw eaker.h" 11 #import "third_party/google_toolbox_for_mac/src/AppKit/GTMUILocalizerAndLayoutTw eaker.h"
12 #include "ui/base/l10n/l10n_util_mac.h" 12 #include "ui/base/l10n/l10n_util_mac.h"
13 #include "ui/base/resource/resource_bundle.h"
14 13
15 namespace { 14 namespace {
16 static const int kExtraMarginBelowWhenExpirationEditable = 5; 15 static const int kExtraMarginBelowWhenExpirationEditable = 5;
17 } 16 }
18 17
19 #pragma mark View Controller 18 #pragma mark View Controller
20 19
21 @implementation CookieDetailsViewController 20 @implementation CookieDetailsViewController
22 @dynamic hasExpiration; 21 @dynamic hasExpiration;
23 22
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 101
103 - (IBAction)setCookieHasExplicitExpiration:(id)sender { 102 - (IBAction)setCookieHasExplicitExpiration:(id)sender {
104 [[[objectController_ content] details] setHasExpiration:YES]; 103 [[[objectController_ content] details] setHasExpiration:YES];
105 } 104 }
106 105
107 - (BOOL)hasExpiration { 106 - (BOOL)hasExpiration {
108 return [[[objectController_ content] details] hasExpiration]; 107 return [[[objectController_ content] details] hasExpiration];
109 } 108 }
110 109
111 @end 110 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_cocoa.mm ('k') | chrome/browser/ui/cocoa/download/download_item_cell.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698