OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights reserved. |
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
9 * Copyright (C) 2013 Google Inc. All rights reserved. | 9 * Copyright (C) 2013 Google Inc. All rights reserved. |
10 * | 10 * |
(...skipping 16 matching lines...) Expand all Loading... |
27 | 27 |
28 #ifndef TextLinkColors_h | 28 #ifndef TextLinkColors_h |
29 #define TextLinkColors_h | 29 #define TextLinkColors_h |
30 | 30 |
31 #include "platform/graphics/Color.h" | 31 #include "platform/graphics/Color.h" |
32 #include "wtf/Noncopyable.h" | 32 #include "wtf/Noncopyable.h" |
33 | 33 |
34 namespace WebCore { | 34 namespace WebCore { |
35 | 35 |
36 class CSSPrimitiveValue; | 36 class CSSPrimitiveValue; |
37 class Element; | |
38 | 37 |
39 class TextLinkColors { | 38 class TextLinkColors { |
40 WTF_MAKE_NONCOPYABLE(TextLinkColors); | 39 WTF_MAKE_NONCOPYABLE(TextLinkColors); |
41 public: | 40 public: |
42 TextLinkColors(); | 41 TextLinkColors(); |
43 | 42 |
44 void setTextColor(const Color& color) { m_textColor = color; } | 43 void setTextColor(const Color& color) { m_textColor = color; } |
45 Color textColor() const { return m_textColor; } | 44 Color textColor() const { return m_textColor; } |
46 | 45 |
47 const Color& linkColor() const { return m_linkColor; } | 46 const Color& linkColor() const { return m_linkColor; } |
(...skipping 10 matching lines...) Expand all Loading... |
58 | 57 |
59 Color m_textColor; | 58 Color m_textColor; |
60 Color m_linkColor; | 59 Color m_linkColor; |
61 Color m_visitedLinkColor; | 60 Color m_visitedLinkColor; |
62 Color m_activeLinkColor; | 61 Color m_activeLinkColor; |
63 }; | 62 }; |
64 | 63 |
65 } | 64 } |
66 | 65 |
67 #endif | 66 #endif |
OLD | NEW |