OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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_COMMON_FRAME_HEADER_PAINTER_H_ | 5 #ifndef ASH_FRAME_HEADER_PAINTER_H_ |
6 #define ASH_COMMON_FRAME_HEADER_PAINTER_H_ | 6 #define ASH_FRAME_HEADER_PAINTER_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 | 9 |
10 namespace gfx { | 10 namespace gfx { |
11 class Canvas; | 11 class Canvas; |
12 } | 12 } |
13 | 13 |
14 namespace ash { | 14 namespace ash { |
15 | 15 |
16 // Helper class for painting the window header. | 16 // Helper class for painting the window header. |
(...skipping 20 matching lines...) Expand all Loading... |
37 // non-painting sections. This height does not affect LayoutHeader(). | 37 // non-painting sections. This height does not affect LayoutHeader(). |
38 virtual int GetHeaderHeightForPainting() const = 0; | 38 virtual int GetHeaderHeightForPainting() const = 0; |
39 virtual void SetHeaderHeightForPainting(int height_for_painting) = 0; | 39 virtual void SetHeaderHeightForPainting(int height_for_painting) = 0; |
40 | 40 |
41 // Schedule a re-paint of the entire title. | 41 // Schedule a re-paint of the entire title. |
42 virtual void SchedulePaintForTitle() = 0; | 42 virtual void SchedulePaintForTitle() = 0; |
43 }; | 43 }; |
44 | 44 |
45 } // namespace ash | 45 } // namespace ash |
46 | 46 |
47 #endif // ASH_COMMON_FRAME_HEADER_PAINTER_H_ | 47 #endif // ASH_FRAME_HEADER_PAINTER_H_ |
OLD | NEW |