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

Side by Side Diff: ui/base/cocoa/controls/hover_image_menu_button.h

Issue 93863005: ui: Rename ui_export.h to ui_base_export.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: UI_BASE_IMPLEMENTATION Created 6 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef UI_BASE_COCOA_CONTROLS_HOVER_IMAGE_MENU_BUTTON_H_ 5 #ifndef UI_BASE_COCOA_CONTROLS_HOVER_IMAGE_MENU_BUTTON_H_
6 #define UI_BASE_COCOA_CONTROLS_HOVER_IMAGE_MENU_BUTTON_H_ 6 #define UI_BASE_COCOA_CONTROLS_HOVER_IMAGE_MENU_BUTTON_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #import "ui/base/cocoa/tracking_area.h" 10 #import "ui/base/cocoa/tracking_area.h"
11 #include "ui/base/ui_export.h" 11 #include "ui/base/ui_base_export.h"
12 12
13 @class HoverImageMenuButtonCell; 13 @class HoverImageMenuButtonCell;
14 14
15 // An NSPopUpButton that additionally tracks mouseover state and calls 15 // An NSPopUpButton that additionally tracks mouseover state and calls
16 // [[self cell] setHovered:flag] when the hover state changes. Uses 16 // [[self cell] setHovered:flag] when the hover state changes. Uses
17 // HoverImageMenuButtonCell as the default cellClass. Note that the menu item at 17 // HoverImageMenuButtonCell as the default cellClass. Note that the menu item at
18 // index 0 is ignored and client code should populate it with a dummy item. 18 // index 0 is ignored and client code should populate it with a dummy item.
19 UI_EXPORT 19 UI_BASE_EXPORT
20 @interface HoverImageMenuButton : NSPopUpButton { 20 @interface HoverImageMenuButton : NSPopUpButton {
21 @private 21 @private
22 ui::ScopedCrTrackingArea trackingArea_; 22 ui::ScopedCrTrackingArea trackingArea_;
23 } 23 }
24 24
25 - (HoverImageMenuButtonCell*)hoverImageMenuButtonCell; 25 - (HoverImageMenuButtonCell*)hoverImageMenuButtonCell;
26 26
27 @end 27 @end
28 28
29 #endif // UI_BASE_COCOA_CONTROLS_HOVER_IMAGE_MENU_BUTTON_H_ 29 #endif // UI_BASE_COCOA_CONTROLS_HOVER_IMAGE_MENU_BUTTON_H_
OLDNEW
« no previous file with comments | « ui/base/cocoa/controls/blue_label_button.h ('k') | ui/base/cocoa/controls/hover_image_menu_button_cell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698