Correct blacklist entry message
[chromium-blink-merge.git] / ui / base / cocoa / appkit_utils.h
blob159921bd136e3c106322f949cbd1f6b3f35b86e0
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
3 // found in the LICENSE file.
5 #ifndef UI_BASE_COCOA_APPKIT_UTILS_H
6 #define UI_BASE_COCOA_APPKIT_UTILS_H
8 #import <Cocoa/Cocoa.h>
10 #include "ui/base/ui_export.h"
12 namespace ui {
14 struct NinePartImageIds {
15 int top_left;
16 int top;
17 int top_right;
18 int left;
19 int center;
20 int right;
21 int bottom_left;
22 int bottom;
23 int bottom_right;
26 // Utility method to draw a nine part image using image ids.
27 UI_EXPORT void DrawNinePartImage(NSRect frame,
28 const NinePartImageIds& image_ids,
29 NSCompositingOperation operation,
30 CGFloat alpha,
31 BOOL flipped);
33 } // namespace ui
35 #endif // UI_BASE_COCOA_APPKIT_UTILS_H