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

Side by Side Diff: chrome/browser/cocoa/page_info_window_mac.mm

Issue 3855001: Move scoped_cftyperef from base to base/mac, use the new namespace, and name ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 2 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
« no previous file with comments | « chrome/browser/cocoa/install_from_dmg.mm ('k') | chrome/browser/cocoa/shell_dialogs_mac.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 #include "chrome/browser/cocoa/page_info_window_mac.h" 5 #include "chrome/browser/cocoa/page_info_window_mac.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "app/l10n_util.h" 9 #include "app/l10n_util.h"
10 #include "base/scoped_cftyperef.h"
11 #include "app/resource_bundle.h" 10 #include "app/resource_bundle.h"
12 #include "base/string_util.h" 11 #include "base/string_util.h"
13 #include "base/sys_string_conversions.h" 12 #include "base/sys_string_conversions.h"
14 #import "chrome/browser/cocoa/page_info_window_controller.h" 13 #import "chrome/browser/cocoa/page_info_window_controller.h"
15 #include "chrome/browser/cert_store.h" 14 #include "chrome/browser/cert_store.h"
16 #include "chrome/browser/certificate_viewer.h" 15 #include "chrome/browser/certificate_viewer.h"
17 #include "chrome/browser/page_info_window.h" 16 #include "chrome/browser/page_info_window.h"
18 #include "chrome/browser/profile.h" 17 #include "chrome/browser/profile.h"
19 #include "grit/generated_resources.h" 18 #include "grit/generated_resources.h"
20 #include "grit/theme_resources.h" 19 #include "grit/theme_resources.h"
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 [cert_button setEnabled:YES]; 228 [cert_button setEnabled:YES];
230 } 229 }
231 } 230 }
232 231
233 // Resize the window. Only animate if the window is visible, otherwise it 232 // Resize the window. Only animate if the window is visible, otherwise it
234 // could be "growing" while it's opening, looking awkward. 233 // could be "growing" while it's opening, looking awkward.
235 [[controller_ window] setFrame:window_frame 234 [[controller_ window] setFrame:window_frame
236 display:YES 235 display:YES
237 animate:[[controller_ window] isVisible]]; 236 animate:[[controller_ window] isVisible]];
238 } 237 }
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/install_from_dmg.mm ('k') | chrome/browser/cocoa/shell_dialogs_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698