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

Side by Side Diff: ui/base/cocoa/appkit_utils.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
« no previous file with comments | « ui/base/clipboard/scoped_clipboard_writer.h ('k') | ui/base/cocoa/base_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_APPKIT_UTILS_H 5 #ifndef UI_BASE_COCOA_APPKIT_UTILS_H
6 #define UI_BASE_COCOA_APPKIT_UTILS_H 6 #define UI_BASE_COCOA_APPKIT_UTILS_H
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "ui/base/ui_export.h" 10 #include "ui/base/ui_base_export.h"
11 11
12 namespace ui { 12 namespace ui {
13 13
14 struct NinePartImageIds { 14 struct NinePartImageIds {
15 int top_left; 15 int top_left;
16 int top; 16 int top;
17 int top_right; 17 int top_right;
18 int left; 18 int left;
19 int center; 19 int center;
20 int right; 20 int right;
21 int bottom_left; 21 int bottom_left;
22 int bottom; 22 int bottom;
23 int bottom_right; 23 int bottom_right;
24 }; 24 };
25 25
26 // Utility method to draw a nine part image using image ids. 26 // Utility method to draw a nine part image using image ids.
27 UI_EXPORT void DrawNinePartImage(NSRect frame, 27 UI_BASE_EXPORT void DrawNinePartImage(NSRect frame,
28 const NinePartImageIds& image_ids, 28 const NinePartImageIds& image_ids,
29 NSCompositingOperation operation, 29 NSCompositingOperation operation,
30 CGFloat alpha, 30 CGFloat alpha,
31 BOOL flipped); 31 BOOL flipped);
32 32
33 } // namespace ui 33 } // namespace ui
34 34
35 #endif // UI_BASE_COCOA_APPKIT_UTILS_H 35 #endif // UI_BASE_COCOA_APPKIT_UTILS_H
OLDNEW
« no previous file with comments | « ui/base/clipboard/scoped_clipboard_writer.h ('k') | ui/base/cocoa/base_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698