| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) | 3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) |
| 4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) | 4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) |
| 5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights | 5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights |
| 6 * reserved. | 6 * reserved. |
| 7 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> | 7 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> |
| 8 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> | 8 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> |
| 9 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. | 9 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. |
| 10 * (http://www.torchmobile.com/) | 10 * (http://www.torchmobile.com/) |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 27 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 28 * Boston, MA 02110-1301, USA. | 28 * Boston, MA 02110-1301, USA. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #ifndef VisitedLinkState_h | 31 #ifndef VisitedLinkState_h |
| 32 #define VisitedLinkState_h | 32 #define VisitedLinkState_h |
| 33 | 33 |
| 34 #include "core/dom/Element.h" | 34 #include "core/dom/Element.h" |
| 35 #include "core/style/ComputedStyleConstants.h" | 35 #include "core/style/ComputedStyleConstants.h" |
| 36 #include "platform/LinkHash.h" | 36 #include "platform/LinkHash.h" |
| 37 #include "wtf/HashSet.h" | 37 #include "platform/wtf/HashSet.h" |
| 38 | 38 |
| 39 namespace blink { | 39 namespace blink { |
| 40 | 40 |
| 41 class Document; | 41 class Document; |
| 42 | 42 |
| 43 class VisitedLinkState : public GarbageCollectedFinalized<VisitedLinkState> { | 43 class VisitedLinkState : public GarbageCollectedFinalized<VisitedLinkState> { |
| 44 public: | 44 public: |
| 45 static VisitedLinkState* Create(const Document& document) { | 45 static VisitedLinkState* Create(const Document& document) { |
| 46 return new VisitedLinkState(document); | 46 return new VisitedLinkState(document); |
| 47 } | 47 } |
| (...skipping 15 matching lines...) Expand all Loading... |
| 63 | 63 |
| 64 EInsideLink DetermineLinkStateSlowCase(const Element&); | 64 EInsideLink DetermineLinkStateSlowCase(const Element&); |
| 65 | 65 |
| 66 Member<const Document> document_; | 66 Member<const Document> document_; |
| 67 HashSet<LinkHash, LinkHashHash> links_checked_for_visited_state_; | 67 HashSet<LinkHash, LinkHashHash> links_checked_for_visited_state_; |
| 68 }; | 68 }; |
| 69 | 69 |
| 70 } // namespace blink | 70 } // namespace blink |
| 71 | 71 |
| 72 #endif | 72 #endif |
| OLD | NEW |