| OLD | NEW | 
|    1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |    1 // Copyright (c) 2012 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 ASH_WM_FRAME_PAINTER_H_ |    5 #ifndef ASH_WM_FRAME_PAINTER_H_ | 
|    6 #define ASH_WM_FRAME_PAINTER_H_ |    6 #define ASH_WM_FRAME_PAINTER_H_ | 
|    7  |    7  | 
|    8 #include <set> |    8 #include <set> | 
|    9  |    9  | 
|   10 #include "ash/ash_export.h" |   10 #include "ash/ash_export.h" | 
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   81  |   81  | 
|   82   // Helpers for views::NonClientFrameView implementations. |   82   // Helpers for views::NonClientFrameView implementations. | 
|   83   gfx::Rect GetBoundsForClientView(int top_height, |   83   gfx::Rect GetBoundsForClientView(int top_height, | 
|   84                                    const gfx::Rect& window_bounds) const; |   84                                    const gfx::Rect& window_bounds) const; | 
|   85   gfx::Rect GetWindowBoundsForClientBounds( |   85   gfx::Rect GetWindowBoundsForClientBounds( | 
|   86       int top_height, |   86       int top_height, | 
|   87       const gfx::Rect& client_bounds) const; |   87       const gfx::Rect& client_bounds) const; | 
|   88   int NonClientHitTest(views::NonClientFrameView* view, |   88   int NonClientHitTest(views::NonClientFrameView* view, | 
|   89                        const gfx::Point& point); |   89                        const gfx::Point& point); | 
|   90   gfx::Size GetMinimumSize(views::NonClientFrameView* view); |   90   gfx::Size GetMinimumSize(views::NonClientFrameView* view); | 
 |   91   gfx::Size GetMaximumSize(views::NonClientFrameView* view); | 
|   91  |   92  | 
|   92   // Returns the inset from the right edge. |   93   // Returns the inset from the right edge. | 
|   93   int GetRightInset() const; |   94   int GetRightInset() const; | 
|   94  |   95  | 
|   95   // Returns the amount that the theme background should be inset. |   96   // Returns the amount that the theme background should be inset. | 
|   96   int GetThemeBackgroundXInset() const; |   97   int GetThemeBackgroundXInset() const; | 
|   97  |   98  | 
|   98   // Paints the frame header. |   99   // Paints the frame header. | 
|   99   void PaintHeader(views::NonClientFrameView* view, |  100   void PaintHeader(views::NonClientFrameView* view, | 
|  100                    gfx::Canvas* canvas, |  101                    gfx::Canvas* canvas, | 
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  235   scoped_ptr<ui::SlideAnimation> crossfade_animation_; |  236   scoped_ptr<ui::SlideAnimation> crossfade_animation_; | 
|  236  |  237  | 
|  237   SizeButtonBehavior size_button_behavior_; |  238   SizeButtonBehavior size_button_behavior_; | 
|  238  |  239  | 
|  239   DISALLOW_COPY_AND_ASSIGN(FramePainter); |  240   DISALLOW_COPY_AND_ASSIGN(FramePainter); | 
|  240 }; |  241 }; | 
|  241  |  242  | 
|  242 }  // namespace ash |  243 }  // namespace ash | 
|  243  |  244  | 
|  244 #endif  // ASH_WM_FRAME_PAINTER_H_ |  245 #endif  // ASH_WM_FRAME_PAINTER_H_ | 
| OLD | NEW |