OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #import <Cocoa/Cocoa.h> | |
6 | |
7 // By default, NSPopUpButton doesn't allow separator items in its menus. This is | |
8 // an NSMenu subclass that automatically adds separator items when presented | |
9 // with a @"-" string, so it can be set up in the nib to be the menu class. | |
10 @interface AutoseparatingMenu : NSMenu { | |
11 } | |
12 | |
13 @end | |
OLD | NEW |