| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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 UI_VIEWS_CONTROLS_FOCUSABLE_BORDER_H_ | 5 #ifndef UI_VIEWS_CONTROLS_FOCUSABLE_BORDER_H_ |
| 6 #define UI_VIEWS_CONTROLS_FOCUSABLE_BORDER_H_ | 6 #define UI_VIEWS_CONTROLS_FOCUSABLE_BORDER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "ui/views/view.h" |
| 11 #include "views/border.h" | 12 #include "views/border.h" |
| 12 #include "views/view.h" | |
| 13 | 13 |
| 14 namespace gfx { | 14 namespace gfx { |
| 15 class Canvas; | 15 class Canvas; |
| 16 class Insets; | 16 class Insets; |
| 17 } | 17 } |
| 18 | 18 |
| 19 namespace views { | 19 namespace views { |
| 20 | 20 |
| 21 // A Border class to draw a focused border around a field (e.g textfield). | 21 // A Border class to draw a focused border around a field (e.g textfield). |
| 22 class FocusableBorder : public Border { | 22 class FocusableBorder : public Border { |
| (...skipping 15 matching lines...) Expand all Loading... |
| 38 private: | 38 private: |
| 39 bool has_focus_; | 39 bool has_focus_; |
| 40 gfx::Insets insets_; | 40 gfx::Insets insets_; |
| 41 | 41 |
| 42 DISALLOW_COPY_AND_ASSIGN(FocusableBorder); | 42 DISALLOW_COPY_AND_ASSIGN(FocusableBorder); |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 } // namespace views | 45 } // namespace views |
| 46 | 46 |
| 47 #endif // UI_VIEWS_CONTROLS_FOCUSABLE_BORDER_H_ | 47 #endif // UI_VIEWS_CONTROLS_FOCUSABLE_BORDER_H_ |
| OLD | NEW |