| 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 UI_VIEWS_CONTROLS_LINK_H_ | 5 #ifndef UI_VIEWS_CONTROLS_LINK_H_ |
| 6 #define UI_VIEWS_CONTROLS_LINK_H_ | 6 #define UI_VIEWS_CONTROLS_LINK_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" |
| 10 #include "third_party/skia/include/core/SkColor.h" | 11 #include "third_party/skia/include/core/SkColor.h" |
| 11 #include "ui/views/controls/label.h" | 12 #include "ui/views/controls/label.h" |
| 12 | 13 |
| 13 namespace views { | 14 namespace views { |
| 14 | 15 |
| 15 class LinkListener; | 16 class LinkListener; |
| 16 | 17 |
| 17 //////////////////////////////////////////////////////////////////////////////// | 18 //////////////////////////////////////////////////////////////////////////////// |
| 18 // | 19 // |
| 19 // Link class | 20 // Link class |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 // The color when the link is pressed. | 82 // The color when the link is pressed. |
| 82 SkColor requested_pressed_color_; | 83 SkColor requested_pressed_color_; |
| 83 bool requested_pressed_color_set_; | 84 bool requested_pressed_color_set_; |
| 84 | 85 |
| 85 DISALLOW_COPY_AND_ASSIGN(Link); | 86 DISALLOW_COPY_AND_ASSIGN(Link); |
| 86 }; | 87 }; |
| 87 | 88 |
| 88 } // namespace views | 89 } // namespace views |
| 89 | 90 |
| 90 #endif // UI_VIEWS_CONTROLS_LINK_H_ | 91 #endif // UI_VIEWS_CONTROLS_LINK_H_ |
| OLD | NEW |