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

Side by Side Diff: chrome/browser/ui/cocoa/options/keyword_editor_cocoa_controller.h

Issue 6258017: Mac: Never have a space between @property and ( (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome
Patch Set: comments Created 9 years, 11 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
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 #import "base/mac/cocoa_protocols.h" 7 #import "base/mac/cocoa_protocols.h"
8 #include "base/scoped_ptr.h" 8 #include "base/scoped_ptr.h"
9 #include "base/string16.h" 9 #include "base/string16.h"
10 #include "chrome/browser/search_engines/edit_search_engine_controller.h" 10 #include "chrome/browser/search_engines/edit_search_engine_controller.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 IBOutlet NSButton* makeDefaultButton_; 75 IBOutlet NSButton* makeDefaultButton_;
76 76
77 scoped_nsobject<NSTextFieldCell> groupCell_; 77 scoped_nsobject<NSTextFieldCell> groupCell_;
78 78
79 Profile* profile_; // weak 79 Profile* profile_; // weak
80 scoped_ptr<KeywordEditorController> controller_; 80 scoped_ptr<KeywordEditorController> controller_;
81 scoped_ptr<KeywordEditorModelObserver> observer_; 81 scoped_ptr<KeywordEditorModelObserver> observer_;
82 82
83 scoped_nsobject<WindowSizeAutosaver> sizeSaver_; 83 scoped_nsobject<WindowSizeAutosaver> sizeSaver_;
84 } 84 }
85 @property (nonatomic, readonly) KeywordEditorController* controller; 85 @property(nonatomic, readonly) KeywordEditorController* controller;
86 86
87 // Show the keyword editor associated with the given profile (or the 87 // Show the keyword editor associated with the given profile (or the
88 // original profile if this is an incognito profile). If no keyword 88 // original profile if this is an incognito profile). If no keyword
89 // editor exists for this profile, create one and show it. Any 89 // editor exists for this profile, create one and show it. Any
90 // resulting editor releases itself when closed. 90 // resulting editor releases itself when closed.
91 + (void)showKeywordEditor:(Profile*)profile; 91 + (void)showKeywordEditor:(Profile*)profile;
92 92
93 - (KeywordEditorController*)controller; 93 - (KeywordEditorController*)controller;
94 94
95 // Message forwarded by KeywordEditorModelObserver. 95 // Message forwarded by KeywordEditorModelObserver.
(...skipping 12 matching lines...) Expand all
108 108
109 // Returns a reference to the shared instance for the given profile, 109 // Returns a reference to the shared instance for the given profile,
110 // or nil if there is none. 110 // or nil if there is none.
111 + (KeywordEditorCocoaController*)sharedInstanceForProfile:(Profile*)profile; 111 + (KeywordEditorCocoaController*)sharedInstanceForProfile:(Profile*)profile;
112 112
113 // Converts a row index in our table view (which has group header rows) into 113 // Converts a row index in our table view (which has group header rows) into
114 // one in the |controller_|'s model, which does not have them. 114 // one in the |controller_|'s model, which does not have them.
115 - (int)indexInModelForRow:(NSUInteger)row; 115 - (int)indexInModelForRow:(NSUInteger)row;
116 116
117 @end 117 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698