| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
| 6 | 6 |
| 7 #include "base/scoped_nsobject.h" | 7 #include "base/scoped_nsobject.h" |
| 8 #include "base/scoped_ptr.h" | 8 #include "base/scoped_ptr.h" |
| 9 | 9 |
| 10 class PageInfoWindowMac; | 10 class PageInfoWindowMac; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 - (NSImage*)badImg; | 52 - (NSImage*)badImg; |
| 53 | 53 |
| 54 // Shows the certificate display window | 54 // Shows the certificate display window |
| 55 - (IBAction)showCertWindow:(id)sender; | 55 - (IBAction)showCertWindow:(id)sender; |
| 56 | 56 |
| 57 // Sets whether or not to show or hide the history box. This will resize the | 57 // Sets whether or not to show or hide the history box. This will resize the |
| 58 // frame of the window. | 58 // frame of the window. |
| 59 - (void)setShowHistoryBox:(BOOL)show; | 59 - (void)setShowHistoryBox:(BOOL)show; |
| 60 | 60 |
| 61 @end | 61 @end |
| 62 | |
| 63 @interface PageInfoWindowController (ExposedForTesting) | |
| 64 | |
| 65 // Saves the window's origin into the given PrefService. Caller is responsible | |
| 66 // for making sure |prefs| is not NULL. | |
| 67 - (void)saveWindowPositionToPrefs:(PrefService*)prefs; | |
| 68 | |
| 69 @end | |
| OLD | NEW |