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

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

Issue 340045: [Mac] Prefs layout work for "basics" and "personal stuff"... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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) 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_ptr.h" 7 #include "base/scoped_ptr.h"
8 #include "base/scoped_nsobject.h" 8 #include "base/scoped_nsobject.h"
9 #include "chrome/common/pref_member.h" 9 #include "chrome/common/pref_member.h"
10 10
(...skipping 21 matching lines...) Expand all
32 PrefService* prefs_; // weak ref - Obtained from profile_ for convenience. 32 PrefService* prefs_; // weak ref - Obtained from profile_ for convenience.
33 scoped_ptr<PrefObserverBridge> observer_; // Watches for pref changes. 33 scoped_ptr<PrefObserverBridge> observer_; // Watches for pref changes.
34 34
35 IBOutlet NSToolbar* toolbar_; 35 IBOutlet NSToolbar* toolbar_;
36 36
37 // The views we'll rotate through 37 // The views we'll rotate through
38 IBOutlet NSView* basicsView_; 38 IBOutlet NSView* basicsView_;
39 IBOutlet NSView* personalStuffView_; 39 IBOutlet NSView* personalStuffView_;
40 IBOutlet NSView* underTheHoodView_; 40 IBOutlet NSView* underTheHoodView_;
41 41
42 // The groups of the Basics view for layout fixup.
43 IBOutlet NSArray* basicsGroupStartup_;
44 IBOutlet NSArray* basicsGroupHomePage_;
45 IBOutlet NSArray* basicsGroupToolbar_;
46 IBOutlet NSArray* basicsGroupSearchEngine_;
47 IBOutlet NSArray* basicsGroupDefaultBrowser_;
48
49 // The groups of the Personal Stuff view for layout fixup.
50 IBOutlet NSArray* personalStuffGroupPasswords_;
51 IBOutlet NSArray* personalStuffGroupAutofill_;
52 IBOutlet NSArray* personalStuffGroupBrowserData_;
53 IBOutlet NSArray* personalStuffGroupThemes_;
54
42 // Having two animations around is bad (they fight), so just use one. 55 // Having two animations around is bad (they fight), so just use one.
43 scoped_nsobject<NSViewAnimation> animation_; 56 scoped_nsobject<NSViewAnimation> animation_;
44 57
45 IBOutlet NSArrayController* customPagesArrayController_; 58 IBOutlet NSArrayController* customPagesArrayController_;
46 59
47 // Basics panel 60 // Basics panel
48 IntegerPrefMember restoreOnStartup_; 61 IntegerPrefMember restoreOnStartup_;
49 scoped_nsobject<CustomHomePagesModel> customPagesSource_; 62 scoped_nsobject<CustomHomePagesModel> customPagesSource_;
50 BooleanPrefMember newTabPageIsHomePage_; 63 BooleanPrefMember newTabPageIsHomePage_;
51 StringPrefMember homepage_; 64 StringPrefMember homepage_;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 // When a toolbar button is clicked 116 // When a toolbar button is clicked
104 - (IBAction)toolbarButtonSelected:(id)sender; 117 - (IBAction)toolbarButtonSelected:(id)sender;
105 118
106 // Usable from cocoa bindings to hook up the custom home pages table. 119 // Usable from cocoa bindings to hook up the custom home pages table.
107 @property(readonly) CustomHomePagesModel* customPagesSource; 120 @property(readonly) CustomHomePagesModel* customPagesSource;
108 121
109 // NSNotification sent when the prefs window is closed. 122 // NSNotification sent when the prefs window is closed.
110 extern NSString* const kUserDoneEditingPrefsNotification; 123 extern NSString* const kUserDoneEditingPrefsNotification;
111 124
112 @end 125 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698