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

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

Issue 207027: [Mac] Polish the search engine manager (Closed)
Patch Set: '' Created 11 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) 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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698