Revert of Add button to add new FSP services to Files app. (patchset #8 id:140001...
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / bubble_combobox.h
blob96009cb85e55d1d482912a92033d582bb38c9e22
1 // Copyright 2014 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.
6 #ifndef CHROME_BROWSER_UI_COCOA_BUBBLE_COMBOBOX_H_
7 #define CHROME_BROWSER_UI_COCOA_BUBBLE_COMBOBOX_H_
9 #import <Cocoa/Cocoa.h>
11 namespace ui {
12 class ComboboxModel;
13 } // namespace ui
15 // An NSPopUpButton that auto-populates from a ui::ComboboxModel.
16 // By default it comes with a border, small font size, and small control size.
17 @interface BubbleCombobox : NSPopUpButton
18 // Does not take ownership nor store a pointer to |model|; it is used only for
19 // population of the combobox.
20 - (id)initWithFrame:(NSRect)frame
21 pullsDown:(BOOL)pullsDown
22 model:(ui::ComboboxModel*)model;
23 @end
25 #endif // CHROME_BROWSER_UI_COCOA_BUBBLE_COMBOBOX_H_