| 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_export.h" | 9 #include "ui/views/window/window_shape.h" |
| 10 | 10 // TODO(tfarina): remove this file once all includes have been updated. |
| 11 namespace gfx { | |
| 12 class Size; | |
| 13 class Path; | |
| 14 } | |
| 15 | |
| 16 namespace views { | |
| 17 | |
| 18 // Sets the window mask to a style that most likely matches | |
| 19 // ui/resources/window_* | |
| 20 VIEWS_EXPORT void GetDefaultWindowMask(const gfx::Size& size, | |
| 21 gfx::Path* window_mask); | |
| 22 | |
| 23 } // namespace views | |
| 24 | 11 |
| 25 #endif // VIEWS_WINDOW_WINDOW_SHAPE_H_ | 12 #endif // VIEWS_WINDOW_WINDOW_SHAPE_H_ |
| OLD | NEW |