OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 GFX_BRUSH_H_ | 5 #ifndef UI_GFX_BRUSH_H_ |
6 #define GFX_BRUSH_H_ | 6 #define UI_GFX_BRUSH_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 namespace gfx { | 9 namespace gfx { |
10 | 10 |
11 // An object that encapsulates a platform native brush. | 11 // An object that encapsulates a platform native brush. |
12 // Subclasses handle memory management of the underlying native brush. | 12 // Subclasses handle memory management of the underlying native brush. |
13 class Brush { | 13 class Brush { |
14 public: | 14 public: |
15 Brush() {} | 15 Brush() {} |
16 virtual ~Brush() {} | 16 virtual ~Brush() {} |
17 | 17 |
18 private: | 18 private: |
19 DISALLOW_COPY_AND_ASSIGN(Brush); | 19 DISALLOW_COPY_AND_ASSIGN(Brush); |
20 }; | 20 }; |
21 | 21 |
22 } // namespace gfx | 22 } // namespace gfx |
23 | 23 |
24 #endif // GFX_BRUSH_H_ | 24 #endif // UI_GFX_BRUSH_H_ |
OLD | NEW |