Home | History | Annotate | Download | only in window
      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
      3 // found in the LICENSE file.
      4 
      5 #ifndef UI_VIEWS_WINDOW_WINDOW_SHAPE_H_
      6 #define UI_VIEWS_WINDOW_WINDOW_SHAPE_H_
      7 
      8 #include "ui/views/views_export.h"
      9 
     10 namespace gfx {
     11 class Size;
     12 class Path;
     13 }
     14 
     15 namespace views {
     16 
     17 // Sets the window mask to a style that most likely matches
     18 // ui/resources/window_*
     19 VIEWS_EXPORT void GetDefaultWindowMask(const gfx::Size& size,
     20                                        gfx::Path* window_mask);
     21 
     22 } // namespace views
     23 
     24 #endif  // UI_VIEWS_WINDOW_WINDOW_SHAPE_H_
     25