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

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

Issue 3203008: Move prefs-related files under chrome/browser/ into a prefs/ subdir. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 3 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
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/cocoa/page_info_window_controller.h" 5 #import "chrome/browser/cocoa/page_info_window_controller.h"
6 6
7 #include "app/l10n_util_mac.h" 7 #include "app/l10n_util_mac.h"
8 #include "base/mac_util.h" 8 #include "base/mac_util.h"
9 #include "chrome/browser/browser_process.h" 9 #include "chrome/browser/browser_process.h"
10 #include "chrome/browser/cocoa/page_info_window_mac.h" 10 #include "chrome/browser/cocoa/page_info_window_mac.h"
11 #include "chrome/browser/cocoa/window_size_autosaver.h" 11 #include "chrome/browser/cocoa/window_size_autosaver.h"
12 #include "chrome/browser/pref_service.h" 12 #include "chrome/browser/prefs/pref_service.h"
13 #include "chrome/common/pref_names.h" 13 #include "chrome/common/pref_names.h"
14 #include "grit/generated_resources.h" 14 #include "grit/generated_resources.h"
15 15
16 namespace { 16 namespace {
17 17
18 // The width of the window. The height will be determined by the content. 18 // The width of the window. The height will be determined by the content.
19 const NSInteger kWindowWidth = 460; 19 const NSInteger kWindowWidth = 460;
20 20
21 } // namespace 21 } // namespace
22 22
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 pageInfo_->ShowCertDialog(0); // Pass it any int because it's ignored. 54 pageInfo_->ShowCertDialog(0); // Pass it any int because it's ignored.
55 } 55 }
56 56
57 // If the page info window gets closed, we have nothing left to manage and we 57 // If the page info window gets closed, we have nothing left to manage and we
58 // can clean ourselves up. 58 // can clean ourselves up.
59 - (void)windowWillClose:(NSNotification*)notif { 59 - (void)windowWillClose:(NSNotification*)notif {
60 [self autorelease]; 60 [self autorelease];
61 } 61 }
62 62
63 @end 63 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698