OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 VIEWS_WINDOW_WINDOW_SHAPE_H_ | 5 #ifndef VIEWS_WINDOW_WINDOW_SHAPE_H_ |
6 #define VIEWS_WINDOW_WINDOW_SHAPE_H_ | 6 #define VIEWS_WINDOW_WINDOW_SHAPE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "views/views_api.h" | 9 #include "views/views_export.h" |
10 | 10 |
11 namespace gfx { | 11 namespace gfx { |
12 class Size; | 12 class Size; |
13 class Path; | 13 class Path; |
14 } | 14 } |
15 | 15 |
16 namespace views { | 16 namespace views { |
17 | 17 |
18 // Sets the window mask to a style that most likely matches | 18 // Sets the window mask to a style that most likely matches |
19 // ui/resources/window_* | 19 // ui/resources/window_* |
20 VIEWS_API void GetDefaultWindowMask(const gfx::Size& size, | 20 VIEWS_EXPORT void GetDefaultWindowMask(const gfx::Size& size, |
21 gfx::Path* window_mask); | 21 gfx::Path* window_mask); |
22 | 22 |
23 } // namespace views | 23 } // namespace views |
24 | 24 |
25 #endif // VIEWS_WINDOW_WINDOW_SHAPE_H_ | 25 #endif // VIEWS_WINDOW_WINDOW_SHAPE_H_ |
OLD | NEW |