OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_BORDER_H_ | 5 #ifndef VIEWS_BORDER_H_ |
6 #define VIEWS_BORDER_H_ | 6 #define VIEWS_BORDER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "gfx/insets.h" | |
10 #include "third_party/skia/include/core/SkColor.h" | 9 #include "third_party/skia/include/core/SkColor.h" |
| 10 #include "ui/gfx/insets.h" |
11 #include "views/view.h" | 11 #include "views/view.h" |
12 | 12 |
13 namespace gfx{ | 13 namespace gfx{ |
14 class Canvas; | 14 class Canvas; |
15 } | 15 } |
16 | 16 |
17 namespace views { | 17 namespace views { |
18 | 18 |
19 class View; | 19 class View; |
20 | 20 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 // Sets the specified insets to the the border insets. | 53 // Sets the specified insets to the the border insets. |
54 virtual void GetInsets(gfx::Insets* insets) const = 0; | 54 virtual void GetInsets(gfx::Insets* insets) const = 0; |
55 | 55 |
56 private: | 56 private: |
57 DISALLOW_COPY_AND_ASSIGN(Border); | 57 DISALLOW_COPY_AND_ASSIGN(Border); |
58 }; | 58 }; |
59 | 59 |
60 } // namespace views | 60 } // namespace views |
61 | 61 |
62 #endif // VIEWS_BORDER_H_ | 62 #endif // VIEWS_BORDER_H_ |
OLD | NEW |