Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Unified Diff: sky/engine/core/dom/TextLinkColors.h

Issue 667003003: Remove most of visited link support. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/css/resolver/StyleResolverState.cpp ('k') | sky/engine/core/dom/TextLinkColors.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/TextLinkColors.h
diff --git a/sky/engine/core/dom/TextLinkColors.h b/sky/engine/core/dom/TextLinkColors.h
index cbb3842dfa01f8a084c3b59b07fe9a09b9ed0939..74b9a6f172ff20b1b1fca5668f44dd4d012b7a92 100644
--- a/sky/engine/core/dom/TextLinkColors.h
+++ b/sky/engine/core/dom/TextLinkColors.h
@@ -44,20 +44,16 @@ public:
Color textColor() const { return m_textColor; }
const Color& linkColor() const { return m_linkColor; }
- const Color& visitedLinkColor() const { return m_visitedLinkColor; }
const Color& activeLinkColor() const { return m_activeLinkColor; }
void setLinkColor(const Color& color) { m_linkColor = color; }
- void setVisitedLinkColor(const Color& color) { m_visitedLinkColor = color; }
void setActiveLinkColor(const Color& color) { m_activeLinkColor = color; }
void resetLinkColor();
- void resetVisitedLinkColor();
void resetActiveLinkColor();
- Color colorFromPrimitiveValue(const CSSPrimitiveValue*, Color currentColor, bool forVisitedLink = false) const;
+ Color colorFromPrimitiveValue(const CSSPrimitiveValue*, Color currentColor) const;
private:
Color m_textColor;
Color m_linkColor;
- Color m_visitedLinkColor;
Color m_activeLinkColor;
};
« no previous file with comments | « sky/engine/core/css/resolver/StyleResolverState.cpp ('k') | sky/engine/core/dom/TextLinkColors.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698